RE: Problem with Dir Structure...

2003-07-24 Thread Shapira, Yoav
Howdy, >i think this should be your servlet mapping: > > >ShowParameters >/testapp/ShowParameters > No: url-pattern is relative to the app docBase and should not include the app name. (The above would let the servlet be access via http://host:port/testapp/testapp/ShowPar

Re: Problem with Dir Structure...

2003-07-24 Thread bernd pier
hi, i think this should be your servlet mapping: ShowParameters /testapp/ShowParameters and so far as i know you had to do in html action='ShowParameters' method='.. and so on. Lenandlar Singh wrote: Hello, I have the following directory structure for an application under

Re: Problem with Dir Structure...

2003-07-22 Thread Lenandlar Singh
Got it Working John, Didnt create my own web-xml. I was just changing the one $Catalina_Home/conf. LEN - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software

RE: Problem with Dir Structure...

2003-07-22 Thread Lenandlar Singh
Millennium ChemInformatics >-Original Message- >From: Lenandlar Singh [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 22, 2003 3:44 PM >To: Tomcat Users List >Subject: RE: Problem with Dir Structure... > >Hello, > >Where is my web.xml is stored... > >Thanks. &g

Re: Problem with Dir Structure...

2003-07-22 Thread John Turner
Wow. webapps/testapp/WEB-INF/web.xml You might want to READ THE DOCS: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html John Lenandlar Singh wrote: Hello, Where is my web.xml is stored... Thanks. LEN. "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: Howdy, c:\tomcat 4.1\we

RE: Problem with Dir Structure...

2003-07-22 Thread Shapira, Yoav
2, 2003 3:44 PM >To: Tomcat Users List >Subject: RE: Problem with Dir Structure... > >Hello, > >Where is my web.xml is stored... > >Thanks. > >LEN. > >"Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > >Howdy, > >>c:\tomcat 4.1\webapps\test

RE: Problem with Dir Structure...

2003-07-22 Thread Lenandlar Singh
Hello, Where is my web.xml is stored... Thanks. LEN. "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: Howdy, >c:\tomcat 4.1\webapps\testapp\postform.html >c:\tomcat 4.1\webapps\testapp\web-inf\classes\ShowParameters.class OK. Add the following to your web.xml (not $CATALINA_HOME/conf/web.xml):

RE: Problem with Dir Structure...

2003-07-22 Thread Shapira, Yoav
Howdy, >c:\tomcat 4.1\webapps\testapp\postform.html >c:\tomcat 4.1\webapps\testapp\web-inf\classes\ShowParameters.class OK. Add the following to your web.xml (not $CATALINA_HOME/conf/web.xml): ShowParametersServlet ShowParameters ShowParametersServlet /ShowParametersPage >action

Re: Problem with Dir Structure...

2003-07-22 Thread Lenandlar Singh
http://127.0.0.1:8080/testapp/postform.html is used to access the postform.html. i get that to work... When i hit submit i get the Status 404 Requested Resource not available Thanks Len. John Turner <[EMAIL PROTECTED]> wrote: ADVICE: Please be as COMPLETE as you can. Saying "didn't work

Re: Problem with Dir Structure...

2003-07-22 Thread Lenandlar Singh
Hello, Dir.structure.. c:\tomcat 4.1\webapps\testapp\postform.html c:\tomcat 4.1\webapps\testapp\web-inf\classes\ShowParameters.class === action =/"ShowParameters" in postform.html i have not altered the default web.xml in the conf\ directory.

Re: Problem with Dir Structure...

2003-07-22 Thread John Turner
ADVICE: Please be as COMPLETE as you can. Saying "didn't work" does not encourage anyone to help you. I've been following this thread, and I know I can't help you with the information you've provided. If you want help, I suggest you: 1. describe your directory structure 2. post your web.xml

RE: Problem with Dir Structure...

2003-07-22 Thread Lenandlar Singh
so you can then set your action to "/servlet/ShowParameters". However, it opens a security hole if you use this second approach. -Original Message- From: Lenandlar Singh [mailto:[EMAIL PROTECTED] Sent: 22 July 2003 15:17 To: Tomcat Users List Subject: RE: Problem with Di

RE: Problem with Dir Structure...

2003-07-22 Thread Bodycombe, Andrew
his second approach. -Original Message- From: Lenandlar Singh [mailto:[EMAIL PROTECTED] Sent: 22 July 2003 15:17 To: Tomcat Users List Subject: RE: Problem with Dir Structure... default / "Bodycombe, Andrew" <[EMAIL PROTECTED]> wrote:

RE: Problem with Dir Structure...

2003-07-22 Thread Lenandlar Singh
default / "Bodycombe, Andrew" <[EMAIL PROTECTED]> wrote: It depends on your servlet mapping in the web.xml file. -Original Message- From: Lenandlar Singh [mailto:[EMAIL PROTECTED] Sent: 22 July 2003 14:57 To: [EMAIL PROTECTED] Subject: Problem with Dir S

Re: Problem with Dir Structure...

2003-07-22 Thread Lenandlar Singh
2003-07-22 09:48:48 InvokerFilter(ApplicationFilterConfig[name=Servlet Mapped Filter, filterClass=filters.ExampleFilter]): 120 milliseconds 2003-07-22 09:48:48 InvokerFilter(ApplicationFilterConfig[name=Path Mapped Filter, filterClass=filters.ExampleFilter]): 120 milliseconds John Turner <[EMAI

Re: Problem with Dir Structure...

2003-07-22 Thread John Turner
Almost there How is your servlet mapped in web.xml? What isn't working? What are the error messages? What do the logs say? John Lenandlar Singh wrote: Hello, I have the following directory structure for an application under Tomcat 4.1. c:\Tomcat 4.1\webapps\testapp\postform.html &

RE: Problem with Dir Structure...

2003-07-22 Thread Bodycombe, Andrew
It depends on your servlet mapping in the web.xml file. -Original Message- From: Lenandlar Singh [mailto:[EMAIL PROTECTED] Sent: 22 July 2003 14:57 To: [EMAIL PROTECTED] Subject: Problem with Dir Structure... Hello, I have the following directory structure for an application under To