tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf <rufoo2...@yahoo.com>
Subject RE: RequestDispatcher and WEB-INF
Date Fri, 21 Feb 2003 02:14:45 GMT
It is strange that RequestDispatcher considers only
jsp and html, why not other extns like jpg/gif or why
not just any other resource - is this because of any
security concern?

Also, I have not understood your workaround Mr Edson,
can you please tell me in more detail how to get
around my problem?

Thanks
~rf

--- Edson Alves Pereira
<eapereira@panamericano.com.br> wrote:
> 	You need the CGI module to do this, thatīs not a
> hard work but only
> with Apache, Tomcat donīt deal with CGI.
> 
> > ----------
> > De: 	Erik Price[SMTP:eprice@ptc.com]
> > Responder: 	Tomcat Users List
> > Enviada: 	quinta-feira, 20 de fevereiro de 2003
> 14:31
> > Para: 	Tomcat Users List
> > Assunto: 	Re: RequestDispatcher and WEB-INF
> > 
> > I do not think you can forward to a .exe file, not
> sure of what the spec 
> > says but the Javadoc says only JSP or HTML files.
> > 
> > This link will probably get broken in your mail
> client, but if you 
> > reassemble it you can read the doc:
> > 
> >
>
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/RequestDispatc
> >
>
her.html#forward(javax.servlet.ServletRequest,%20javax.servlet.ServletResp
> > onse)
> > 
> > Erik
> > 
> > 
> > >>-----Original Message-----
> > >>From: rf [mailto:rufoo2001@yahoo.com]
> > >>Sent: Thursday, February 20, 2003 3:51 AM
> > >>To: tomcat-user@jakarta.apache.org
> > >>Subject: RequestDispatcher and WEB-INF
> > >>
> > >>
> > >>I want to give out an exe after an
> authorization. So I
> > >>put the exe in WEB-INF to avoid direct access,
> and
> > >>tried to do:
> > >>	RequestDispatcher rd =
> > >>req.getRequestDispatcher("/WEB-INF/my.exe");
> > >>       rd.forward (req, res);
> > >>
> > >>Tomcat 4.0.6 says /WEb-INF/my.exe cannot be
> found.
> > >>
> > >>I dont know how this is different from what
> Craig
> > >>mentioned at
> >
>
>>http://marc.theaimsgroup.com/?l=tomcat-user&m=99790295202902&w=2
> > >>
> > >>
> > >>Thank you
> > >>Rf
> > >>
> > >>
> >
> >>__________________________________________________
> > >>Do you Yahoo!?
> > >>Yahoo! Tax Center - forms, calculators, tips,
> more
> > >>http://taxes.yahoo.com/
> > >>
> >
>
>>---------------------------------------------------------------------
> > >>To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > >>For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> > >>
> > > 
> > > 
> > > 
> > > 
> > >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> > > 
> > > 
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> > 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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


Mime
View raw message