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 Struts and the fly likes Integrating JSP-Servlet APP with Struts APP 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 » Frameworks » Struts
Bookmark "Integrating JSP-Servlet APP with Struts APP" Watch "Integrating JSP-Servlet APP with Struts APP" New topic
Author

Integrating JSP-Servlet APP with Struts APP

Ved Antani
Greenhorn

Joined: Jan 05, 2003
Posts: 28
Hi folks,
I have one module of an app written in MVC2 JSP-servlet archi. I need to develop a new module in Struts. The problem is that both should be integrated. I have the following queries...
1 : Can this be done ?
2 : If yes, how
3 : If no, why
Please answer me ASAP.
Thanks.
Raj Chila
Ranch Hand

Joined: Mar 18, 2004
Posts: 128

Hi Ved,
If you have developed a Module in MVC2 Architecture, then you have already developed on the lines of the Struts but more hardcoded than struts.
now to your queries if I need to develop a new module in Struts and integrating them
yes you surely can do it
you can just develop the new Module in the Struts Framework and then add this info in the web.xml file parallally along with the existing JSP-Servlet Module.
or
you can make your Servlet in the already developed module to extend the ACtion Servlet...and every thing else would fall in place
[ March 30, 2004: Message edited by: RajaniKanth Bhargava ]
[ March 30, 2004: Message edited by: RajaniKanth Bhargava ]
 
 
subject: Integrating JSP-Servlet APP with Struts APP
 
Similar Threads
Error : Missing Struts Module Configuration
Why DynaValidatorForm validation fails in modular app?
Struts modules - can someone explain?
Struts Modules
Adding request parameters to a forward from a servlet