Problem with accessing HTML page under non-default appBase in Tomcat.

2008-01-11 Thread Rajendra Sakpal (Persistent)
Hi Folks, I'm trying to access a HTML file placed in the appBase that is not under the default "webapps" directory of Tomcat 5.5. I cannot access the URL (http://10.88.129.18:8088/post35.html) from browser. Server.xml: Note: The post35.html in the above URL is under "/home/

HTTP 400 error when deployment descriptor (web.xml) is used.

2007-03-12 Thread Rajendra Sakpal
Hi, I have created a web application that is running fine with the Invoker servlet settings enabled in the "Tomcat 5.5\conf\web.xml". Next, I tried the following: 1.> Added a web.xml in the WEB-INF directory of my application. 2.> Re-started my server. 3.> Attempted to access the homepage of

Re: Specifying relative path for TOMCAT 5.5 ?

2007-03-12 Thread Rajendra Sakpal
Thanks ORG. The ServletContext method solved my problem. Rajendra On 3/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi Rajendra, This also confused the hell out of me. Here are some tips If a url is relative, its relative to the page eg moreInfo/Details/SomePage.htm So its going t

Re: Specifying relative path for TOMCAT 5.5 ?

2007-03-01 Thread Rajendra Sakpal
On 3/1/07, Pid <[EMAIL PROTECTED]> wrote: (Please reply to the list only, I don't need to get the message twice.) Rajendra Sakpal wrote: > Am I right to say that "/" refers to the "Tomcat" directory ? No, you're wrong. Attempting to access "/"

Re: Specifying relative path for TOMCAT 5.5 ?

2007-03-01 Thread Rajendra Sakpal
Am I right to say that "/" refers to the "Tomcat" directory ? If I mention the file path as "/subscribers.txt", I don't find the file in the "TOMCAT" directory once the class is instantiated. regards, Rajendra On 3/1/07, Pid <[EMAIL PROTECT

Re: Specifying relative path for TOMCAT 5.5 ?

2007-03-01 Thread Rajendra Sakpal
2.> I am not using HTTP sessions. regards, Rajendra On 3/1/07, Rajendra Sakpal <[EMAIL PROTECTED]> wrote: On 3/1/07, Pid <[EMAIL PROTECTED]> wrote: > > Rajendra Sakpal wrote: > > Hi, > > > > I am using TOMCAT 5.5. I am creating a file in class that

Specifying relative path for TOMCAT 5.5 ?

2007-03-01 Thread Rajendra Sakpal
Hi, I am using TOMCAT 5.5. I am creating a file in class that is called from a JSP. However, the relative path that I have specified in the class doesn't seem to work. The path that I have used is :"/webapps/Jonathon/WEB-INF/etc/subscriber.txt". Can someone please let me know, what is wrong w