how to print a string with out using out.println?
Answers were Sorted based on User's Feedback
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 |
Answer / sk
set any variable as property in the tag then use that
<%c:out value="${ }"%>
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / bhanu
with the help of expression tag of jsp ...
<%= "javawoorld" %>
Is This Answer Correct ? | 2 Yes | 3 No |
What is jsp and why it is used?
Explain JSP directives.
What are the advantages and disadvantages of thread-safe jsp page?
What is jstl used for?
Explain the <jsp:param> action?
How can we avoid direct access of jsp pages from client browser?
How will you use jsp el in order to get the http method name?
Write a Program using Servlet and JDBC for developing online application for displaying the details of Cars owned by the residents in XYZ society. Make necessary assumptions and create appropriate databases.
How does a jsp function?
What are JSP ACTIONS?
Perform a browser redirection from a jsp page?
What is context url?