how to print a string with out using out.println?

Answers were Sorted based on User's Feedback



how to print a string with out using out.println?..

Answer / shanthi

Using the expression tag of jsp, strings could be printed.
For eg. String S="fruit";
<%=S%> Semicolons chould not be included here, because
whatever is enclosed inside <%= "" %> will be given as
arguments to out.println().

Is This Answer Correct ?    11 Yes 1 No

how to print a string with out using out.println?..

Answer / sk

set any variable as property in the tag then use that
<%c:out value="${ }"%>

Is This Answer Correct ?    2 Yes 0 No

how to print a string with out using out.println?..

Answer / bhanu

with the help of expression tag of jsp ...
<%= "javawoorld" %>

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More JSP Interview Questions

How jsp is executed by web server?

0 Answers  


What are context initialization parameters?

0 Answers  


List the different scope values for the <jsp:usebean> tag in jsp?

0 Answers  


How is jsp better than servlet technology?

0 Answers  


What is jsp translation time?

0 Answers  






How can you include the results of another page?

0 Answers  


List the various action tags used in jsp.

0 Answers  


Define Composition.

0 Answers  


How can we retrieve warnings?

0 Answers  


Why is jsp used?

0 Answers  


List down the major differences between the jsp custom tags and java beans.

0 Answers  


What do you mean by jstl?

0 Answers  


Categories