Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP Status 404 - /stock/stockselect.do

 
ali dar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using eclipse and Jboss. and developing an application from this tutorial http://www.devx.com/Java/Article/21065/0/page/7. When i submit a form i get this error. HTTP Status 404 - /stock/stockselect.do
here is what my struts-config.xml looks like:
<action-mappings>
<action path="/stockselect"
type="lum.stock.action.StockAction"
name="stockDynaValidateForm"
validate="true"
scope="request">
<forward name="success" path="/pages/stockquery.jsp"/>
<forward name="failure" path="/pages/stockquery.jsp"/>
</action>
</action-mappings>
Is thre any thing else my struts-config xml is missing ?
Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Struts forum.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure that you have copied the web.xml file from the struts-blank.war file into your application.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic