dcsimg
When I add extra content to my web.xml. It doesn't seem to work. Why?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Andrew_Neale
Posted On:   Monday, April 9, 2001 05:45 AM

Below is a snippet from my web.xml. Which works fine. LoginA LoginAction foo bar --> LoginAction /LoginAction But when I add the following tomcat still can't see the servlet which I am trying to add. Application AddSPAS AddSPAS /AddSPAS I just get a page saying that the page cannot be found. What is wrong? Any help is much appreciated!    More>>

Below is a snippet from my web.xml. Which works fine.




LoginA


LoginAction




LoginAction
/LoginAction



But when I add the following tomcat still can't see the servlet which I am trying to add.



Application


AddSPAS



AddSPAS
/AddSPAS


I just get a page saying that the page cannot be found. What is wrong?
Any help is much appreciated!

   <<Less

Re: When I add extra content to my web.xml. It doesn't seem to work. Why?

Posted By:   AlessandroA_Garbagnati  
Posted On:   Monday, April 9, 2001 09:20 AM

Andrew,

The of both and chould correspond. reading your web.xml, you should not be able to have the first servlet running to.

I normally do the sane name in both tags and I've never had any problem in running servlets (unless the servlet was bugged...).

Just try to give to the servlet the same name in both and ... something like this:



Application

AddSPAS





Application

/Application


About | Sitemap | Contact