RE: get real path of a file from action class

2007-06-14 Thread Gurram, Srinivas
getServlet.getContextPath.getRealPath(File); Regards Srinivas Gurram IT Consultant LogicaCMG - Releasing your potential Divyasree Technopolis 124 - 125 Yemlur Main Road, Off Airport Road Yemlur P.O Bangalore 560 037 India Tel: +91 80 4194 extn 20195 M: +91 99001

RE: How to change the Context Root of a webapplication

2007-04-20 Thread Gurram, Srinivas
t the web-app name. When there is a customer requirement, I will spend more time trying to use some Apache tricks to make it happen. Using Apache and mod_proxy (to connect to an instance of tomcat somewhere else) or mod_jk (or whatever is in place these days) is usually easier for me. -Wes > ---

How to change the Context Root of a webapplication

2007-04-20 Thread Gurram, Srinivas
Hi I am new to struts. Currently my application url is like this http://www.site.com/contextname/Home.do I want to change this url to http://www.site.com/Home.do I need to remove the contextname. It refers to the application name under webapps. Could any one suggest the solution. Thanks in

javax.mail.internet.ParseException while reading the mail.

2007-04-03 Thread Gurram, Srinivas
Hi While opening the mail from the Inbox I am getting the following error message. Can anyone help me in fixing this issue? javax.mail.internet.ParseException at javax.mail.internet.ParameterList.(ParameterList.java:61) at javax.mail.internet.ContentType.(ContentType.java:83)