This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes Is it possible to use:  RequestDispatcher view =request.getRequestDispatcher( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Servlets
Bookmark "Is it possible to use:  RequestDispatcher view =request.getRequestDispatcher("ProcessPlease.java")" Watch "Is it possible to use:  RequestDispatcher view =request.getRequestDispatcher("ProcessPlease.java")" New topic
Author

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

Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1056

Is it possible to use RequestDispatcher to forward the request and response object to a .java file.


http://www.lifesbizzare.blogspot.com || OCJP:81%
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 62099
    
  67

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?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1056

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

Joined: Jan 10, 2002
Posts: 62099
    
  67

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it possible to use: RequestDispatcher view =request.getRequestDispatcher("ProcessPlease.java")