aspose file tools*
The moose likes JSP and the fly likes Getting the Servlet output in a JSP file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Getting the Servlet output in a JSP file" Watch "Getting the Servlet output in a JSP file" New topic
Author

Getting the Servlet output in a JSP file

shivang sarawagi
Ranch Hand

Joined: Jun 19, 2008
Posts: 148
I have made the following Servlet file, now i want to get the output which i am giving in print statement in servlet in a JSP file. Can anyone please tell me how to do that ??

I mean the client access this servlet & get the output in a JSP file

My Servlet code is



Thanks :)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61606
    
  67

Use a request dispatcher to forward the request to a JSP that will produce the response.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
shivang sarawagi
Ranch Hand

Joined: Jun 19, 2008
Posts: 148
Thanks Bear :beerchug:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting the Servlet output in a JSP file