Hello,
I can't find a way to do a simple thing - access raw postdata in
servlet service()/doPost() method. (The data that goes after the
headers.)
In old Servlet API it was possible using
javax.servlet.http.HttpUtils.parsePostData() which is now deprecated.
Servlet API only seem to have methods t
re it is a system environment rather than a user
environment variable), and then use
System.getenv("CATALINA_HOME");
to get the tomcat path.
Hope this can help
Cheers
Eric
-Original Message-
From: Joe Kramer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 July 2007 4:57 p.m.
To
Hello,
I've been googling and searching Tomcat website and couldn't find an
answer to this problem.
I need to find a path to tomcat conf (and log) folders from within my servlet.
I imagine there should be something like:
SomeCatalinaClass.getHomePath()+File.separatorChar+SomeCatalinaClass.CONF_