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

what is difference between redirect and forward method?

12 Answers   Polaris, TCS, Wipro,


Which one is correct order of phases in jsp life cycle?

0 Answers  


What is a scriptlet in jsp and what is its syntax?

0 Answers  


What is request scope in jsp?

0 Answers  


Is jsp page extensible true false?

0 Answers  






What is scriptlet in jsp?

0 Answers  


What is jsp scriptlet tag used for?

0 Answers  


What is pagescope in jsp?

0 Answers  


What is the difference between "JTable" and "JTGrid"? can they be used interchangeably?

0 Answers  


What is difference between html and jsp?

0 Answers  


How many messaging models do jms provide for and what are they?

0 Answers  


When destroy method of jsp is called?

0 Answers  


Categories