Hi Jim
Remove your second servlet mapping in your web.xml. I had the same problem.
I've defined two mappings:
servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.do/url-pattern
/servlet-mapping
servlet-mapping
servlet-nameaction/servlet-name
1.1
Jim Kennedy
IT Consultant
Mobile Phone: 813-503-1484
-
- Original Message -
From: Chen, Gin [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, October 24, 2003 1:48 PM
Subject: RE: Having trouble with
trouble with html:form tag - Using 1.1
1.1
Jim Kennedy
IT Consultant
Mobile Phone: 813-503-1484
-
- Original Message -
From: Chen, Gin [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, October 24, 2003
Phone: 813-503-1484
-
- Original Message -
From: Chen, Gin [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, October 24, 2003 1:58 PM
Subject: RE: Having trouble with html:form tag - Using 1.1
1.1 doesn't
.
Note the exactly equal to
-Tim
-Original Message-
From: Jim Kennedy [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 3:05 PM
To: Struts Users Mailing List
Subject: Re: Having trouble with html:form tag - Using 1.1
I took out those attributes from the html:form tag , but the results
Phone: 813-503-1484
-
- Original Message -
From: Chen, Gin [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, October 24, 2003 3:32 PM
Subject: RE: Having trouble with html:form tag - Using 1.1
Don't
clues.
-Tim
-Original Message-
From: Jim Kennedy [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 3:46 PM
To: Struts Users Mailing List
Subject: Re: Having trouble with html:form tag - Using 1.1
That did not work. I had actually tried that before, but I have done some
many
List
To: 'Struts Users Mailing List'
[EMAIL PROTECTED]
cc:
Subject:RE: Having trouble with html:form tag - Using 1.1
Don't know if this will do anything but change
html:form action=pmregister
To
html:form action=/pmregister
From the struts-html guide
validate=false
change ur mapping
Jim Kennedy [EMAIL PROTECTED]
10/24/2003 03:12 PM
Please respond to Struts Users Mailing List
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:Re: Having trouble with html:form tag - Using 1.1
-
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, October 24, 2003 4:21 PM
Subject: Re: Having trouble with html:form tag - Using 1.1 - NO luck
try changing your mapping in web.xml to *.do and the for your form
html:form name=myForm method=post action
respond to Struts Users Mailing List
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:Re: Having trouble with html:form tag - Using 1.1 - THAT WORKED
But why. I don't understand. I should be able to define:
/pm/*
/hello/*
/anything
, 2003 4:46 PM
Subject: Re: Having trouble with html:form tag - Using 1.1 - THAT WORKED
I think your way should work too.You should be able to define any kind of
mapping as per rules!!Your mapping should match the call.
But when U define mapping as /pm/* then you also have to call servlet
like
12 matches
Mail list logo