• 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

Need servlet help

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have been going through the examples on Sun's site and have been trying to get example 5 to work:
http://developer.java.sun.com/developer/onlineTraining/Programming/BasicJava1/servlet.html
I installed JSWDK-1.0.1 and tried to install and run both the simpleHTML.html file and the ExampServlet.java code. While the simpleHTML.html page loads up correctly once I click the submit button it says I do not have permission to access that file. What could I be doing wrong?
 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if you are using ISS or Personal web server you will need to set permissions on that folder.
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
What is the HTTP error code you are getting?
If it is a 404 then the resource is not accessible. Check the path of this resource.
If not, check the permissions on the resource (servlet in this case). This resource should be accessible publicly.(i.e. R for users on Unix.)
PS: Are you accessing the file using a file:/ URL or a http:/ URL?
Hope this helps.
Ashwin.
 
Tom Patrick
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Sun Java's web server JSWDK 1.0.1 which I admit I am not to famailiar with.
I get HTTP Error 403 Forbidden.
reply
    Bookmark Topic Watch Topic
  • New Topic