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 the <jsp:forward> standard action?
Why is jsp used for?
Why jsp is used in java?
What is a jsp and what is it used for?
What are the advantages of jsp?
Which method cannot be overridden in jsp?
What are the types of directives in jsp?
What is the difference between jsp and php?
Explain the difference between jspwriter and servlet printwriter in jsp?
How many tags are provided by jstl?
What is scriptlet, expression and declaration in jsp?
How can a thread safe JSP page be implemented?