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
How to print java variable in jsp?
How many jsp implicit objects are there?
How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?
What do you mean by custom tag in jsp?
How to access java variable in jsp?
Is jsp platform dependent?
How to make a “new line in html” in jsp?
Explain client and server side validation?
How do I open a jsp file?
How can I use the results of my method? ea: <%! method (int x) { stuff return y; } %> <% out.println(y); %> how can I make this work? "y" is a variable made during the method.
How do I save a jsp file?
Explain how you understand the action tag and jsp action elements.
Can you disable the caching on the back button of a particular browser?
What is Include directive?
What does jsp mean in text?