Building mod_webapp from sources with Apache 2

2002-04-13 Thread Fredrik Westermarck
. 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]

Re: reading content in WEB-INF

2002-02-19 Thread Fredrik Westermarck
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:

Re: JNDIRealm

2002-02-01 Thread Fredrik Westermarck
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

Re: JNDIRealm

2002-01-29 Thread Fredrik Westermarck
, 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]

JNDIRealm

2002-01-28 Thread Fredrik Westermarck
. -- Fredrik Westermarck -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Upgrading from JServ/Apache to Tomcat/Apache

2002-01-15 Thread Fredrik Westermarck
: /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

Re: Wrap an HttpServletRequest

2001-11-14 Thread Fredrik Westermarck
); 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

Re: Logout with basic autorization

2001-11-14 Thread Fredrik Westermarck
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