Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

pl help

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was trying to solve the exercise at jguru.com about form processing. And i am using the server provided by school.
(http://developer.java.sun.com/developer/onlineTraining/JSPIntro/exercises/Forms/)
I stored form.jsp in webapps/jsp/jdc/forms/form.jsp and you can view it from
http://calvin.eece.mu.edu/sawalea/webapps/jsp/jdc/forms/form.jsp
I also compiled FormBean.java and stored class file in
webapps/WEB-INF/classes/com/jguru/FormBean.class
Whenever i am trying to hit the submit button I got following error
Not Found
The requested URL /jsp/jdc/forms/form.jsp was not found on this server.
--------------------------------------------------------------------------------
Apache/1.3.22 Server at calvin.eece.mu.edu Port 80
Can somebody tell me why is that?
Thanks in advance,
Ash
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And i am using the server provided by school.
Is that a http server or a web application server?
The requested URL /jsp/jdc/forms/form.jsp was not found on this server
Your "HTML Form" from the above page is posting data to this page and the server can't find it. If you want it to talk to your bean class the "action" of your HTML form must specify the bean class as the action value and not this JSP page.
regds.
- satya
 
reply
    Bookmark Topic Watch Topic
  • New Topic