How to intregrate CGI with Tomcat/Struts/tiles?


Web tier: servlets, JSP, Web frameworks: How to intregrate CGI with Tomcat/Struts/tiles?

  1. How to intregrate CGI with Tomcat/Struts/tiles? (3 messages)

    Hi All,

    I need to port several CGI Web Applications for intranet use. I'm planning to use Tomcat/Struts/tiles/JSP and probably Oracle. Since there are so many apps, I need port them one by one. Is there a way to integrate legacy CGI/Perl applications with the technologies I'm trying to use?

    Thank you,

  2. Every app server/webapp container provides some method for you to integrate CGI/Perl apps. Do a search on (google/search engine of your choice) for cgi and the name of the container/app server of your choice and it should give you all the required info.
  3. I would suggest the best way would be to remove the HTML mark-up from the applications and turn that into XML mark-up. Then you can use your JSP/Servlets/Struts/Titles or whatever to read that XML and glue it together with whatever technology you want.

  4. Thanks for the replies.
    I found something that sounds promising: