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


Please Help Members By Posting Answers For Below Questions

What are scripting elements?

545


What is jsp net?

520


What is tld file?

496


How can I implement a thread-safe jsp page?

533


List all tags that are provided in jstl?

497






How can we extend jsp technology?

678


How does a servlet communicate with a jsp page?

550


What is el?

510


What is a javaserver pages (jsp)?

554


What are the literals used in jsp?

585


How can you include the results of another page?

486


What is scripting elements in jsp?

516


Which tags are used for bean development?

486


What is an expression language?

518


Why does _jspService() start with an ‘_’ but other lifecycle methods do not?

550