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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 147
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: 60046
    
  65

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: 147
Thanks Bear :beerchug:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting the Servlet output in a JSP file
 
Similar Threads
web service integration using Netbeans IDE
request.getAttribute returning null
GET Method Working But POST is not
not able to insert values in ms access database
how to call JSP from Servlet