Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Forwarding data from class  RSS feed

 
shaf maff
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys

Is there any way of forwarding data to other class/jsp via a class without having to extend HttpServlet ?
 
Campbell Ritchie
Marshal
Posts: 55715
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't understand the question. Sorry.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37234
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the combination of URLConnection and URL from java.net
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!