[java ee programming] Lost the database connection after 10 hours in hibernate

2010-02-18 Thread Madhav Yadav
Hi All, I have a site in which I am using hibernate for the database connection. I am using hibernate3, mysql5, tomcat5. All is working fine for one day but when I open the site next day then it is showing the database connection error. I restart the sever and it is working but next day site

[java ee programming] form based authentication

2010-02-09 Thread Madhav Yadav
Hi All, Can we customize form based authentication in tomcat. -- You received this message because you are subscribed to the Google Groups Java EE (J2EE) Programming with Passion! group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe

Re: [java ee programming] Converting Datetime to Date in jsp

2010-01-15 Thread Madhav Yadav
For example, you could have a method in your business object such as: *private *String getDateTime() { DateFormat dateFormat = *new *SimpleDateFormat(/MM/dd HH:mm:ss ); Date date = *new *Date(); *return *dateFormat.format(date); } above is good but i think you need

Re: [java ee programming] Struts 2 query

2010-01-15 Thread Madhav Yadav
Hi, You have to check your struts.xml file. I think mapping is not correct. Thanks On Fri, Jan 15, 2010 at 2:55 PM, Sadia Butt buttsa...@yahoo.com wrote: Hi Everyone :) I am trying to learn Struts 2 I am stuck on my helloworld example.