vincent
Oct 7th, 2005, 06:57 AM
Hi, all
Is it possible to configure my web application to use directory like URL without using file extension? I mean:
http://localhost/myspring/signon, that is, pattern /signon will invoke signon.class to handle request.
After form submitted, URL will looked like this:
http://localhost/myspring/signon?username=xyz&password=123
signon.class will react according to received parameters. I can't see why we need any .html or .form extension in our web service. But I am still a newbie, I can't proper web.xml and dispatcher-servlet.xml. Any help?
Thanks,
Vincent Chen
Is it possible to configure my web application to use directory like URL without using file extension? I mean:
http://localhost/myspring/signon, that is, pattern /signon will invoke signon.class to handle request.
After form submitted, URL will looked like this:
http://localhost/myspring/signon?username=xyz&password=123
signon.class will react according to received parameters. I can't see why we need any .html or .form extension in our web service. But I am still a newbie, I can't proper web.xml and dispatcher-servlet.xml. Any help?
Thanks,
Vincent Chen