• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Program That Automatically Intercepts The Request

 
Vikas Aggarwal
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic