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
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: 44621
    
  34
Don't understand the question. Sorry.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32656
    
217

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.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Forwarding data from class
 
It's not a secret anymore!