Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

geting 404 error

 
amitabh mehra
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i hope this is correct forum for my post. i am new to ejb and trying my hands on ejb3. i created a ear file the structure is:


the application.xml is:


in the myStore.war, structure is:

the web.xml is:


the userRegister.html is like:


i m deploying the ear file in jboss5.0.1GA. on clicking the submit button, i get error that MyStore/MyStore/UserRegistration.do not found.
Am i missing something?
Please help!
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34423
347
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you know we have a forum just for Struts questions? Moving this for you.
 
amitabh mehra
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone help me on this? or is even this not the correct forum?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You posted your question on a Sunday in the US--PatienceIsAVirtue.

Is this a Struts app? I'm guessing it's not, despite the URL.
 
amitabh mehra
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sorry for impatience.. but have been trying hard to get this thing up

No its not a struts application. I had posted this in EJB but it got shifted here. I am trying to build a EJB3 application using MVC pattern, but seems to get messed up somewhere while creating ear file. I have provided the details above.

I guess I have made some wrong entry in web.xml or application.xml. Not sure where and what.

Please guide.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd suggest re-posting in the original forum, but explicitly state that you're not doing a Struts app.

The *.do extension is typically associated with Struts, which probably caused some confusion.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic