Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need servlet help

 
Tom Patrick
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • 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?
 
Brett Knapik
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • 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
 
Ashwin Desai
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic