GeeCON Prague 2014*
The moose likes Struts and the fly likes geting 404 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "geting 404 error " Watch "geting 404 error " New topic
Author

geting 404 error

amitabh mehra
Ranch Hand

Joined: Dec 05, 2006
Posts: 98
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

Joined: May 26, 2003
Posts: 30580
    
154

Did you know we have a forum just for Struts questions? Moving this for you.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
amitabh mehra
Ranch Hand

Joined: Dec 05, 2006
Posts: 98
can anyone help me on this? or is even this not the correct forum?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Dec 05, 2006
Posts: 98
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

Joined: Sep 29, 2008
Posts: 12617

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.
 
GeeCON Prague 2014
 
subject: geting 404 error