This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it possible to use: RequestDispatcher view =request.getRequestDispatcher("ProcessPlease.java")

 
Vishal Hegde
Ranch Hand
Posts: 1077
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to use RequestDispatcher to forward the request and response object to a .java file.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64848
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please put as much effort into asking questions as you'd like to see put into answering them.

What are you really trying to accomplish?
 
Vishal Hegde
Ranch Hand
Posts: 1077
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear,

I am referring to HFS JSP and Servlets in which RequestDispacher is used in for jsp page

RequestDispatcher view=request.getRequestDispatcher("xyz.jsp")

Is it possible of inputting a model(.java file instead of .jsp)
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64848
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, and the question isn't making much sense.

Again, what are you really trying to accomplish? If you want to call a model class, just call a method on the class.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic