JSP Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 445 Page Views: 

How do you pass data from a servlet to a JSP?



Posted By: Avi Date: 3 November 2010 05:43:57 AM
 Answer:

By forwarding the request to the servlet ( the data must be there in the request scope) or using a session.


Posted By: avibtech


Date: 3 November 2010 05:43:57 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image q3mL1t
Related Questions
JSP : What are the life-cycle methods of JSP?

What are the life-cycle methods of JSP?

JSP page is processed into a servlet class which implements the HttpJspPage interface of the javax.s....
Category: JSP Date: 9/17/2009 6:38:31 AM
JSP : What approaches are used for Session Management in JSP ?

What approaches are used for Session Management in JSP ?

Following approches can be used for Session Management in JSP: 1) Cookies: Cookies are small text....
Category: JSP Date: 9/17/2009 6:24:36 AM
JSP : What types of comments are available in the JSP?

What types of comments are available in the JSP?

There are two types of comments are available in JSP: Hidden comments and Output comments. Hidden c....
Category: JSP Date: 9/16/2009 5:27:34 AM
JSP : Is JSP technology extensible?

Is JSP technology extensible?

JSP technology is extensible through the development of custom actions or tags, which are encapsulat....
Category: JSP Date: 9/14/2009 5:36:10 AM
JSP : What is JSP?

What is JSP?

JSP is a technology that combines HTML/XML markup languages and elements of Java programming Languag....
Category: JSP Date: 9/14/2009 5:34:10 AM