I know of no wildcard mechanism to do this. But an editor macro or script
should be able to convert a list of jsp names into the necessary xml text.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4187065#4187065
Reply to the post :
Perhaps use Apache httpd and mod_rewrite?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4187088#4187088
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187088
___
jboss-user
thank u very much
its working fine.
but i have about 200 jsp pages in my system. do i need to write 200 mappings
for each page in web.xml?
is there any special way to do one mapping for all pages using wildcards or
anything else?
View the original post :
Try adding this to your web.xml:
servlet
| servlet-nameContactJsp/servlet-name
| jsp-file/contact.jsp/jsp-file
| /servlet
| servlet-mapping
| servlet-nameContactJsp/servlet-name
| url-pattern/contact/url-pattern
| /servlet-mapping
View the original post :