It's not a secret anymore!
The moose likes Servlets and the fly likes Deployment Descriptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Deployment Descriptor" Watch "Deployment Descriptor" New topic

Deployment Descriptor

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hello everybody.
I am facing some problem with the deployment desciptor of TOMCAT. (web.xml)
The program does not run when i add the second servlet tag to web.xml.
My application involves a login page which takes the details stores it in the database and inturn calls another form. When the details in the second form are filled and the submit button is pressed it displays driver not found.
Everything works fine when i have only one servlet (login servlet)in the application . What all changes do i need to make to add the second servlet in web.xml?? do i need to change the server.xml well? please help
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: Deployment Descriptor
It's not a secret anymore!