• 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

Could not run servlets

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody,
I have installed WAS and both WAS and HTTP server are running perfectly. Now I wanted to test the installation by browsing some example servlets. I tried to test http server by browsing http://localhost/, and it is showing the default http server's page. But when, I tried to run a sample servlet http://Localhost/servlets/HelloWorldServlet, the browser displays "page could not be loaded" error message. I checked the file on the server and class path, both seems ok.
How do I run servlets?
Thanks and regards
Muthuvel C.
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to start the Default_Server.
 
Muthuvel Chinnachamy
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Rahul,
I have restarted the Default server in WAS and tested. it is still not working.
Also, I have followed the steps specified in IBM's Redbook (Version 3.5 Self Study Guide: VisualAge for Java and Websphere Studio) and still I could not run an example. Always the error message, "404, Not Found"
Please help me to solve this issue
Thanks
Muthuvel C.
reply
    Bookmark Topic Watch Topic
  • New Topic