Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


how to print a string with out using out.println?

Answers were Sorted based on User's Feedback



how to print a string with out using out.println?..

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

how to print a string with out using out.println?..

Answer / sk

set any variable as property in the tag then use that
<%c:out value="${ }"%>

Is This Answer Correct ?    2 Yes 0 No

how to print a string with out using out.println?..

Answer / bhanu

with the help of expression tag of jsp ...
<%= "javawoorld" %>

Is This Answer Correct ?    2 Yes 3 No

Post New Answer



More JSP Interview Questions

What happens when a page is statically included in another jsp page?

0 Answers  


How do you pass control from one jsp page to another?

0 Answers  


Differentiate between <jsp:include page=…> and <%@include file=…>.

0 Answers  


What does it mean when tags or attributes are said to be deprecated?

0 Answers  


What is the difference between directive include and jsp include?

0 Answers  






How we can use javascript with jsp pages?

0 Answers  


What is jstl used for?

0 Answers  


How is jsp used in the mvc model?

0 Answers  


What is the jsp?

0 Answers  


What is the purpose of <jsp:getproperty >?

0 Answers  


What is the jspinit() method?

0 Answers  


Can we use javascript with jsp pages?

0 Answers  






Categories