aspose file tools*
The moose likes Servlets and the fly likes calling JSP page from SERVLET Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "calling JSP page from SERVLET" Watch "calling JSP page from SERVLET" New topic
Author

calling JSP page from SERVLET

Peter Bauer
Greenhorn

Joined: Feb 01, 2007
Posts: 4
Hi Folks,
How r u
can u give me a clue to call JSP page from a servlet
thanks for ur help
Peter
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
getServletContext().getRequestDispatcher("/my_jspPage.jsp").forward(request, response);
OR
getServletContext().getRequestDispatcher("/my_jspPage.jsp").include(request, response);
[This message has been edited by Tony Alicea (edited September 27, 2000).]


Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calling JSP page from SERVLET