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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]] > > 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:[EMAIL PROTECTED]] > > >>Sent: Thursday, February 20, 2003 3:51 AM > > >>To: [EMAIL PROTECTED] > > >>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: > [EMAIL PROTECTED] > > >>For additional commands, e-mail: > [EMAIL PROTECTED] > > >> > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
