Hello,

Is there anyway to do a forward from a servlet in tomcat to a static page
that apache only knows.
ie.
apache knows that /foo is /home/foo.

but when the servlet executes and does the following(see snippet below),
Tomcat does not know where /foo is mapped to. If I set up a context in
server.xml it will work. But then for my app it gets more complicated ,
because x.html is a frame that calls two cgi programs. And of course tomcat
doesn't know about these guys.

So what are my options?

IS there way to set up a cgi-bin directory under tomcat?

Thanks

>From within a servlet.
---------------------------------------------------------------------
String URL = "/foo/x.html";
RequestDispatcher disp =
getServletConfig().getServletContext().getRequestDispatcher(jspURL);
disp.forward(req,res);
---------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to