tomcat does not support URL encoding?

2001-06-13 Thread Wai-Yip Tung
I am trying to use tomcat 3.2.1 to access static file with space in the filename. I encoded the URI as http://hostname/a%20b.html for the file a b.html. Tomcat returns me 404. The encoding scheme is addressed in RFC 2396 and is supported by Apache and IIS. Does it mean tomcat's does not handle

JSP requires tools.jar in JDK 1.3?

2001-05-21 Thread Wai-Yip Tung
Does JSP requires tools.jar in JDK 1.3? I intend to embed tomcat with our product. The issue is JRE is redistributable but it does not contain tools.jar. tools.jar itself doesn't seems to be redistributable. Has anyone got into this issue and has there any workaround? Thank you for information,

send response to browser and continue processing in servlet.service()

2001-05-07 Thread Wai-Yip Tung
Is there a way to send the response to browser and then continue some lengthy processing in the Servlet.service() method? I'm using IE and I tried these scenarios. I tried SevletResponse.flushBuffer() which seems to have not effect. I tried SevletResponse.getOutputStream().flush() which will

Adding URL pattern programmatically?

2000-12-26 Thread Wai-Yip Tung
I'm using tomcat 3.2. I need to add URL pattern programmatically without restarting tomcat. Right now I'm follow the lead from the admin example. Is it the right place to look? Also is that any documentation on the architecture of tomcat? Thanks, Wai yip