This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud and have Kyle Brown, Bobby Woolf and Joseph Yodor on-line!
See this thread for details.
  • 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Unable to fetch data on a specific JSP....getting error "HTTP Status 404 - /getData.do"... help.

 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
iam getting the following error:-

HTTP Status 404 - /getData.do

--------------------------------------------------------------------------------

type Status report

message /getData.do

description The requested resource (/getData.do) is not available.


--------------------------------------------------------------------------------

Apache Tomcat/5.5.26



What i want. There is a registeration jsp called 'registerProducts.jsp' where iam registering new products. There is one index.jsp which has two links.
index.jsp:-


What i want when the User clicks on Choose Products link then one JSP should be called which would display all the records of Products from sql server on that .
Iam using struts and hibernate.
Iam not getting exact result.
Following are the details:-
struts-config.xml


SelectAction.java:-


Products.jsp:-

registerProduct.jsp:-


RegisterForm.java:-


ProductRegister.java:-


getProduct.hbm.xml:-


registerProduct.hbm.xml:-
 
Sheriff
Posts: 9709
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think SelectAction needs to extend org.apache.struts.action.Action class...
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic