Re: Tomcat Installation Script

2004-08-31 Thread Kimmy Lin
Millennium Research Informatics -Original Message- From: Kimmy Lin [mailto:[EMAIL PROTECTED] Sent: Monday, August 30, 2004 5:09 PM To: Tomcat Users List Subject: Tomcat Installation Script Hi, I am trying to put Tomcat as part of my program installation on a Windows system

Re: How do I read only the XML data in doPost(req,res)?

2004-08-31 Thread Kimmy Lin
Do you have control over how the request is composed? If so, you can put the XML data in a parameter say xmldoc and the equivalent GET request will look like the following http://URL?xmldoc=yourXML.../yourXML ( and not escaped) Then in your program do request.getParameter(xmldoc); to get the

Re: How do I read only the XML data in doPost(req,res)?

2004-08-31 Thread Kimmy Lin
, Aug 31, 2004 at 06:15:59PM -0400, Kimmy Lin wrote: : http://URL?xmldoc=yourXML.../yourXML : request.getParameter(xmldoc); The OP may run into some limits with that, unless those are very small XML docs. =) Doesn't Request#getInputStream() provide the body? -or does it get the whole request

Tomcat Installation Script

2004-08-30 Thread Kimmy Lin
Hi, I am trying to put Tomcat as part of my program installation on a Windows system and would like to change the script a little bit. I understand that Apache Tomcat uses NSIS (Nullsoft Scriptable Install System) for their Windows installer. Can anyone tell me whether, where, and how I can get

Re: Getting 404 error deploying my servlet

2004-08-30 Thread Kimmy Lin
In your web.xml, you might want to try add the following web-app ... !-- must add the following servlet mapping after tomcat v.4.12 -- servlet-mapping servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping /web-app This is required after