Re: Exception in hibernate3

2011-03-05 Thread abhishek jain
hi, thanks for the mail, i tried this but the problem still persists, i added the context.xml file in META-INF and the database information was not being picked from there. Also i added the connect-timeout parameter in my.cnf file in the mysqld section, but still the the timeout was after 8 hours o

display data of action class on jsp in struts2

2011-03-05 Thread shekhar16
i m new to struts2,rest plugin and i m tring to retrieve data from database through jpa and display it on jsp. my action class successfully running and retrieving the data but unable to show it on my jsp page.so if any body have idea about it please help me my action class is [code] package com

RE: mapping to action

2011-03-05 Thread SACHIN :)
Hi I have an application which maps all .jspa file extensions to struts actions. How can I map urls without any file extension to go to strut action also? I can't change the .jspa mapping as this is part of another application and I am using plugin to add more features. Example: ur

Re: display data of action class on jsp in struts2

2011-03-05 Thread Aaron Brown
You declare myList again inside create method, so the data is never stored in the class-level myList. When the jsp asks for the list, it's empty. On Mar 5, 2011 8:59 AM, "shekhar16" wrote: > > i m new to struts2,rest plugin and i m tring to retrieve data from database > through jpa and display it

RE: display data of action class on jsp in struts2

2011-03-05 Thread SACHIN :)
Your myList instance variable is not initialized with the data you want to display. > Date: Sat, 5 Mar 2011 05:59:28 -0800 > From: shekharlaa...@gmail.com > To: user@struts.apache.org > Subject: display data of action class on jsp in struts2 > > > i m new to struts2,rest plugin and i m tring

Re: Exception in hibernate3

2011-03-05 Thread Dave Newton
If this question is related to hibernate it'd be more efficient and appropriate to ask on a hibernate-related list probably. Dave On Mar 5, 2011 3:32 AM, "abhishek jain" wrote: > hi, > thanks for the mail, > i tried this but the problem still persists, i added the context.xml file in > META-INF

Re: Struts2 list all the parameters

2011-03-05 Thread Burton Rhodes
Would do the trick for you? On Thursday, March 3, 2011, Kiwi209 wrote: > > > Thanks for your response, the problem is that I don't know all the > parameters set in the Action... So I would like to retrieve the list of all > the request parameters as name / value list. > > (sorry for my english b

Re: Exception in hibernate3

2011-03-05 Thread Burton Rhodes
Have u set up you logs to verify that your 'select 1' query is actually being run? On Saturday, March 5, 2011, Dave Newton wrote: > If this question is related to hibernate it'd be more efficient and > appropriate to ask on a hibernate-related list probably. > > Dave >  On Mar 5, 2011 3:32 AM, "a