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 jspinit method?
What are the main tags in jsp?
What are the steps involved in reading data from a form using jsp?
What is the purpose of jsp?
How do I save a jsp file?
Explain jsp lifecycle methods?
What is pagecontext?
What is attribute in jsp?
What are scriptlets in jsp?
How we can include the result of another page in jsp?
What are the benefits of pagecontext implicit object?
How do I view jsp files in my browser?
Define Composition.
What are custom tags?
Can you make use of a servletoutputstream object from within a jsp page?