You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hernan Pezzano <he...@yahoo.com.ar> on 2005/02/28 15:42:56 UTC

Configuration

Hi, 
I can´t instance a servlet from a jsp. I have the servlet under web-inf folder, and de jsp as same as web-inf level. I call to servlet with ACTION="ServletInfo" after I press the SUBMIT button inside de jsp. it´s ok isn´t it?
The result of the browser when I press SUBMIT is "the page cannot be found"
 
I´m using Tomcat 5.0
 
Thanks very much
 
Hernán.

		
---------------------------------
 250MB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí

Re: Configuration

Posted by sven morales <ak...@yahoo.com>.
Hi,
  Yeah servlet classes do get put under
yourwebapp/WEB-INF/classes or yourwebapp/WEB-INF/lib
if it has been archived (jar).  If you need to
reference jsp hidden under yourwebapp/WEB-INF/ you
need to make references to its path to get to it,
modify your mapping in struts-config.xml.
  I always use the admin webapp as a reference to see
how things work since it is a struts based
application.

aka_sergio

--- Hernan Pezzano <he...@yahoo.com.ar> wrote:

> Hi, 
> I can�t instance a servlet from a jsp. I have the
> servlet under web-inf folder, and de jsp as same as
> web-inf level. I call to servlet with
> ACTION="ServletInfo" after I press the SUBMIT button
> inside de jsp. it�s ok isn�t it?
> The result of the browser when I press SUBMIT is
> "the page cannot be found"
>  
> I�m using Tomcat 5.0
>  
> Thanks very much
>  
> Hern�n.
> 
> 		
> ---------------------------------
>  250MB gratis, Antivirus y Antispam
>  Correo Yahoo!, el mejor correo web del mundo
>  Abr� tu cuenta aqu�



	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org