• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

url-pattern for a jsp file

 
Poonam Kohli
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can i have a different value in url-pattern than the actual jsp file name?

Following does not work. I have a file named jspTest.jsp but i want to map it to a different url pattern as jspTestTest.jsp It does not work. Any ideas if this is possible?

Thanks so much

 
Zaheer A Baloch
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use instead of . There is no valid tag as <servlet-config> in web.xml.
 
Poonam Kohli
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Zaheer A Baloch wrote:Use instead of . There is no valid tag as <servlet-config> in web.xml.


Thanks for pointing out that mistake.. Appriciated.. It worked like a charm now.. !!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic