aspose file tools*
The moose likes Servlets and the fly likes How to Jsp in servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to Jsp in servlet" Watch "How to Jsp in servlet" New topic
Author

How to Jsp in servlet

Firoz navrang
Greenhorn

Joined: Oct 18, 2007
Posts: 4
Hi All,

How Servlet add JSP page for responding to the view page.

Jsp sends the request to servlet, while responding the response, servlet needs to add the JSP page for the view.

Help would be appriciate.

Thanks

Gaju
Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585
Use the RequestDispatcher ...

Good luck ...


Vassili ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

If you would like an example of this, see our SimpleMVC example in the CodeBarn.
http://faq.javaranch.com/java/CodeBarnSimpleMvc


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Jsp in servlet