| Author |
Tomcat problem
|
Stan Forest
Greenhorn
Joined: Mar 03, 2003
Posts: 12
|
|
|
I am attempting the first HTML (form.html with the web.xml file) in Chapter 3 of the Head First book. It opens in a browser but not in Tomcat. The example pages downloaded with Tomcat open normally. Is there a Tomcat installation problem? Any idea what I am doing wrong?
|
 |
Jyothi Pathuri
Ranch Hand
Joined: Jan 29, 2006
Posts: 30
|
|
Hi Stan, Please check whether u have configured the web.xml file properly. check for the correct syntax of <servlet> and <servlet-mapping> tags. also in ur html form check whether the action specified is matching the url-pattern in the web.xml file. The url-pattern in web.xml should start with / eg: <url-pattern>/SelectColor.do</url-pattern> Regards, Jyothi
|
 |
Jyothi Pathuri
Ranch Hand
Joined: Jan 29, 2006
Posts: 30
|
|
|
If u r able to see the welcome page of tomcat then there are no installation problems.
|
 |
Saurabh Chaubey
Ranch Hand
Joined: Oct 16, 2005
Posts: 101
|
|
Hi Stan, Just check the directory structure of your application. Regards, Saurabh
|
 |
 |
|
|
subject: Tomcat problem
|
|
|