.
Are there any instructions on how to build mod_webapp with Apache 2.0.x?
Regards,
Fredrik Westermarck
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
Max Z. wrote:
I am storing a file in the WEB-INF directory and I need to access it with a
servlet, how would I get to it?
Use:
InputStream is =
getServletContext().getResourceAsStream(/WEB-INF/your.file);
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands:
that implements the required functionality.
Great!
You are more than welcome to try it, if you get the chance.
Yes, I'll try it out as soon as possible. I have to setup my
environment so that I can build tomcat from sources first.
--
---
Fredrik
, but isn't available yet.
Have the proposal been approved by the Tomcat developers, and are there
any people working on this issue?
--
Fredrik Westermarck
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
.
--
Fredrik Westermarck
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
:
/servlet/ - Tomcat
/*.jsp- Tomcat
All of the rest should be served by Apache as defined in httpd.conf.
Question: Which combination of Tomcat/Apache module can be used to
achieve this?
Tomcat 3.2/3.3/4.0? mod_jk/mod_webapp?
--
---
Fredrik
);
rd.forward(request, response); // or rd.include(request, response)
..
Use the setAttribute()-method in the servlet that handles the original
request to add the extra parameters. Then use getAttribute() in the
servlet that you forwarded or included to read the extra parameters.
--
Fredrik
is documented in the HTTP/1.1 specification (probably 1.0) under
http://www.w3.org/Protocols/rfc2616/rfc2616-sec15.html#sec15.6.
The only reliable way of logging out when you have been authenticated
(if using HTTP-authentication) is to close _all_ of your browser
windows.
--
Fredrik Westermarck