This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
jQuery in Action, 2nd edition
 
subject: Program That Automatically Intercepts The Request
 
Similar Threads
Help in Multipart Request Urgent
Need Solution for accesing Action servlet only on Submit
2 Quick simple JavaScript Qu's. Plz Help
Collection on jsp
Bean population