A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Q on url mappings
Joined: Jul 13, 2004
Mar 20, 2005 11:21:00
I have a url mapping defined in my web.xml for my
I also use a context path of "myap".
So, the url used from the browser looks like:
I am trying to get this mapping to work such that the user can just type in
and it would work.
So, I added the following to the above defined url mappings in web.xml:
works from the browser but
doesn't any more.
Joined: Mar 16, 2005
Mar 21, 2005 07:13:00
At what place is precisely your index.html(directory structure) and could u please give the entire mapping you have done in web.xml.
It is sorta covered in the
JavaRanch Style Guide
subject: Q on url mappings
Servlet Mapping vs Static resource
Servlet path mapping and relative URLs
SendRedirect() - 2 Forms of Relative URL's
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014