how to print a string with out using out.println?
Answer Posted / 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 |
Post New Answer View All Answers
What is jsp action tags?
How do we catch exception and process it using jstl?
What is the difference in using request.getrequestdispatcher() and context.getrequestdispatcher()?
What is jspinit method?
How is scripting disabled?
What is called jsp directive?
What is jsp and why it is used?
What is jsp tag?
Can we call destroy method inside init method?
How do you connect to the database from jsp?
Why is it not recommended to use script elements in jsp?
Give uses of object cloning?
What does jsp mean in text?
What is the default value of session attribute in jsp?
Can you override jspinit() method? If yes, in which cases?