Re: How to setup exceptions with zero-configuration?

2008-10-17 Thread jygnash
hI, in your *.struts.xml file ( a subcontext struts configuration file) Define a global mapping to jsp like ../Error.jsp map the exception to the global mapping defined above Note : I have kept this is in one of the sub context struts configuration file which gets included in the str

Re: Hibernate and Struts

2008-10-16 Thread jygnash
Hi Anoop, YOu can use the JNDI context to get the Hibernate's SessionFactory. 1) in hibernate-cfg.xml give the jndi name as below 2) in one of your startup servlet or first class handling the request for session factory creation (we had a start up servlet) , you can have the session f