Help plz~ mapping a Servlet to wildcard fails
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ninth_voyage
Posted On:   Tuesday, April 18, 2006 11:41 AM

I tried to map a very simple Servlet to the url pattern /* but it failed. here is the servlet section in web.xml Snoop org.eclipse.wtp.tutorial.SnoopServlet Snoop /* Homepage is my webapp. Everytime I enter localhost:8080/Homepage/index.html or localhost:8080/Homepage/(whatever things) , it tells me "The requested resource (/Homepage/index.html) is not available." or sometimes it seems to enter a some kind of infinite loop and need to wait for a long time before the browser has any response. I thought the mapping should not be that diffi   More>>
			
I tried to map a very simple Servlet to the url pattern /* but it failed.
here is the servlet section in web.xml



Snoop


org.eclipse.wtp.tutorial.SnoopServlet




Snoop
/*


Homepage is my webapp. Everytime I enter
localhost:8080/Homepage/index.html or
localhost:8080/Homepage/(whatever things) ,
it tells me
"The requested resource (/Homepage/index.html) is not available."
or
sometimes it seems to enter a some kind of infinite loop and
need to wait for a long time before the browser has any response.

I thought the mapping should not be that diffical,
but it seems that I was completely wrong.

Can somebody help me to find out the problem?
   <<Less
About | Sitemap | Contact