aspose file tools*
The moose likes JSP and the fly likes pl help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "pl help" Watch "pl help" New topic
Author

pl help

Ash sav
Ranch Hand

Joined: Apr 14, 2001
Posts: 55
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

Joined: Jun 03, 2000
Posts: 5040
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


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pl help