Assuming that you are using tomcat as your web container I think you can achieve the desired results by looking in var/catalina/conf/web.xml and uncommenting the servlet declaration and servlet mapping elements that enable the InvokerServlet.  Then restart your server and you should be able to post to servlets from your JSPs without having to explicitly declare those servlets in your application's web.xml.

However, before you enable the InvokerServlet please be advised that enabling this feature is (for some) a security concern because it makes any servlet in your applications' classpaths visible to HTTP requests.  It's convenient for development purposes but probably not advisable for a production or external system.

Best wishes,
Paul

On 1/10/06, Fernando Lichtschein <[EMAIL PROTECTED]> wrote:
Dear sirs,

I am new (three days) to Geronimo, I was asked to port a Web Application that has already been running in a variety of platforms, mainly Apache/Tomcat and Oracle Application Server 10g.

The installation went on with no problems, especially since Geronimo 1.0 had just been released, using Sun JDK 1.5.0.

The problem is that the jsp s of the application call servlets that are not in WEB-INF/classes, I get an error "The requested resource is not available". The servlets are in a directory that is several levels below WEB-INF, and are invoked using using
<form name="formx"  method="POST" action="">
There are a number of classes in a couple of directories, so mapping them in geronimo-web.xml would not be practical.

Regards and thanks,
--
Fernando Lichtschein
[EMAIL PROTECTED]

Reply via email to