Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pl help

 
Ash sav
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • 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
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic