aspose file tools*
The moose likes Beginning Java and the fly likes Forwarding data from class 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 » Beginning Java
Bookmark "Forwarding data from class" Watch "Forwarding data from class" New topic
Author

Forwarding data from class

shaf maff
Ranch Hand

Joined: Sep 07, 2008
Posts: 180
Hi Guys

Is there any way of forwarding data to other class/jsp via a class without having to extend HttpServlet ?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39409
    
  28
Don't understand the question. Sorry.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30762
    
156

shaf maff wrote:Is there any way of forwarding data to other class/jsp via a class without having to extend HttpServlet ?

Something has to extend HttpServlet. You can pass the request/response to other classes to do the actual forward/storing in request/session if you like.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Use the combination of URLConnection and URL from java.net


If you want something you never had do something which you had never done
 
wood burning stoves
 
subject: Forwarding data from class