aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Program That Automatically Intercepts The Request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Program That Automatically Intercepts The Request" Watch "Program That Automatically Intercepts The Request" New topic
Author

Program That Automatically Intercepts The Request

Vikas Aggarwal
Ranch Hand

Joined: Jun 22, 2001
Posts: 140
Hi,
I have this problem:
In MVC architecture I have make a program which can automatically intercept a request being sent from the JSP. I don't want to send my request to the contoller directly. Instead I want to send this request a VIEW.
For example:
I have a JSP and in that, in the form's action I give "myview". "myview" is just a confirmation screen with some text. Now I will pass a hidden variable in the form with request. The backend program should automatically detect that a request has been made from the JSP. This program will read the hidden variable and based on that it will execute some bean and then "myview" is showed.
Thanks for you help.
karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
hi
is it a web application framework your looking for ?
if i got your question right, then struts and its actions is what your looking for.

k
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Program That Automatically Intercepts The Request