• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SCWCD Exam Study Kit

 
tony kanvas
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using but not able to follow the examples I copy as he said
You can also copy the chapter01 directory directly from the accompanying CD to
your c:\jakarta-tomcat-4.0.1\webapps directory. This will provide all the
files you need to run the example.
and get this
Type Status report
Message /chapter01/servlet/HelloWWW
Description The requested resource (/chapter01/servlet/HelloWWW) is not available.
Any body help BTW the port I am use is 80 not8080

 
chi Lin
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tony,
You need to uncomment the following code in the web.xml file under <your tomcat install folder>/conf
Look for the following lines and uncomment the lines related to the invoker servlet
<!-- The mapping for the invoker servlet -->
<!--
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
-->
Now restart your tomcat server and test the example again.
It should work now.
 
tony kanvas
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks chi lin I appreciate your efforts and your times
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic