  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Subject: RE : Struts Application is not working | Subject: RE : Struts Application is not working 2007-10-03 - By Ezequiel Puig
Back Hi,
Take a look at: http://struts.apache.org/2.x/docs/simple-setup.html. There you will find the minimum configuration.
Regards,
Ezequiel.
-- --Message d'origine-- -- De?: Rick Reumann [mailto:rick.reumann@(protected)] Envoy??: mercredi 3 octobre 2007 16:42 ??: Struts Users Mailing List Objet?: Re: Struts Application is not working
There are a ton of things that can cause the obscure error you are witnessing. You have to make sure the doctype definitions are correct as well for web.xml and struts-config. I'd start with a working example web.xml and struts-config (maybe the example app struts comes with - and then start swapping in your stuff.)
On 10/3/07, aum strut <aum.struts@(protected)> wrote: > 1 antlr > 2 commons-beanutils > 3 commons-digester > 4 commons-fileupload > 5 commons-logging > 6 commons-validator > 7 jakarta-oro > 8 struts > > > These are the jar flies in the lib folder > > > On 10/3/07, Dave Newton <newton.dave@(protected)> wrote: > > > > At first glance it seems okay; maybe somebody else > > will chime in. What library / jar files do you have in > > WEB-INF/lib? > > > > d. > > > > --- aum strut <aum.struts@(protected)> wrote: > > > > > hi dave i m pasting my struts-config file for the > > > refrence.and as par the > > > dependencies i have used myeclipse as developing > > > enviornment so it might be > > > possible that there is something wrong as i > > > downloaded an example in warfile > > > form and when i deploy it in tomcat it worked fine > > > but when i put my class > > > files and configuredthe struts-config file according > > > to my application it > > > stoped working.All this has put me in a strange > > > condition as i haven't > > > changed any library file. > > > > > > below is my struts config file.. > > > > > > > > > <struts-config> > > > > > > <form-beans> > > > > > > <form-bean name="registerForm" > > > type="aum.struts.actionform.RegisterForm"/> > > > > > > </form-beans> > > > > > > <action-mappings> > > > > > > <action path="/register" > > > > > > type="aum.struts.action.RegisterAction" > > > > > > name="registerForm"> > > > > > > <forward name="sucess" path="/sucess.html" > > > redirect="true"/> > > > > > > <forward name="failure" path="/failure.html" > > > redirect="true"/> > > > > > > </action> > > > > > > </action-mappings> > > > > > > </struts-config> > > > Regards, > > > Umesh > > > > > > > > > On 10/3/07, Dave Newton <newton.dave@(protected)> > > > wrote: > > > > > > > > --- aum strut <aum.struts@(protected)> wrote: > > > > > thks ajay for helping me out but can u point out > > > > > watcan be the cause of this error as pari know i > > > > have > > > > > configured the appliocation correctly... > > > > > > > > Without your struts config file we can't help very > > > > much -- *something* is wrong with either your > > > library > > > > dependencies, a configuration file, etc. otherwise > > > it > > > > would work, no? > > > > > > > > d. > > > > > > > > > > > > > > > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > > > > To unsubscribe, e-mail: > > > user-unsubscribe@(protected) > > > > For additional commands, e-mail: > > > user-help@(protected) > > > > > > > > > > > > > > > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > > To unsubscribe, e-mail: user-unsubscribe@(protected) > > For additional commands, e-mail: user-help@(protected) > > > > >
-- Rick
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |