Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

web.xml mapping  RSS feed

 
Kem Broder
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Just wondering if anyone knows the answer to this one.
In a standard web.xml file is it possible to have a mapping to a jsp with some additional parameter data, so that the wildcard(*) data gets appended.
i.e.
<servlet>
<servlet-name>home</servlet-name>
<jsp-file>index.jsp?name=</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>home</servlet-name>
<url-pattern>/home/*</url-pattern>
</servlet-mapping>
Cheers.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!