• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SCWCD Exam Study Kit

 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks chi lin I appreciate your efforts and your times
 
reply
    Bookmark Topic Watch Topic
  • New Topic