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
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
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
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
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
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
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):
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
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
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.
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
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
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:
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:
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
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 &
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
Hello,
I have the following directory structure for an application under
Tomcat 4.1.
c:\Tomcat 4.1\webapps\testapp\postform.html &
c:\Tomcat 4.1\webapps\testapp\Web-inf\classes\ShowParameters.class
where testapp is my application directory.
How do i set the path for the "Action" attribute
18 matches
Mail list logo