File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


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: 1055

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: 61315
    
  66

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: 1055

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: 61315
    
  66

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.
 
GeeCON Prague 2014
 
subject: Is it possible to use: RequestDispatcher view =request.getRequestDispatcher("ProcessPlease.java")