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 are the tools used in your project , How to ask the answer this question

0 Answers  


How to include static files in a JSP page?

0 Answers  


How jsp is executed?

0 Answers  


How many types of jsp tags are there?

0 Answers  


Is jsp front end or backend?

0 Answers  


Can you make use of a servletoutputstream object from within a jsp page?

0 Answers  


What are scripting elements?

0 Answers  


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

3 Answers   Elementus Technologies,


What is session scope?

0 Answers  


What is the difference between server side and client side programming?

0 Answers  


What are the main tags in jsp?

0 Answers  


What is jsp and why do we need it?

0 Answers  


Categories