File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Integrating JSP-Servlet APP with Struts APP

 
Ved Antani
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 128
Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic