Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

not able to call the servlet

 
raja ram
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have JSP page in jsp form action if give the URL pattern as word some thing like <url-pattern>/test</url-pattern> and in my jsp form action=/test and when submit the page it works fine.

but say i will give the url pattern as /*.do and in my action=/test.do it wont work it say that test.do resource does not exists what may be the reason.

Thanks
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think you can put markings on both sides of a wildcard in a single mapping. You can do /* or *.do but not /*.do
 
raja ram
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for the reply, you are correct but i do no why /*.do doesnt work is there any article or notes so that i can read and understand completely.

Thanks
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Servlets specification, which you can download from the following page
(SRV.11.2 Specification of Mappings.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic