Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How can i connect from jsp to servlet page

7 Answers   Spring Board, TCS,


when we will use the SendRedirect method instead of forward.

1 Answers   pspl,


How does JSP handle run-time exceptions?

2 Answers   IBM,


Can init method be overridden?

1 Answers   IBM,


What is tag file in jsp?

0 Answers  


Explain the advantages of jsp?

0 Answers  


Which tag is used for error handling in jsp pages?

0 Answers  


What is the purpose of <jsp:usebean>?

0 Answers  


What is tld in jsp?

0 Answers  


Which package does jsp api consist of?

0 Answers  


List down the major differences between the jsp custom tags and java beans.

0 Answers  


What is difference between html and jsp?

0 Answers  


Categories