geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <ammul...@alumni.princeton.edu>
Subject Re: Calling a servlet from jsp
Date Fri, 13 Jan 2006 14:03:30 GMT
I also wonder whether you need some kind of special servlet handing
that needs to be configured in order to be able to invoke a servlet
directly by its class name instead of by calling a URL that it's
mapped to.

Aaron

On 1/10/06, Fernando Lichtschein <fernando.lichtschein@gmail.com> 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"  onSubmit="validate()" method="POST"
> action="com.xx.yyy.Servlet">.
>
>  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
> lich@fibertel.com.ar

Mime
View raw message