How to use objectfactory

2007-06-22 Thread Strut_developer
I want to use object factory in my POJO, at present ObjectFactory.getInstance returns null. I am able to use it in Actions but not in POJO. Please advice how to use it? -- View this message in context: http://www.nabble.com/How-to-use-objectfactory-tf3964352.html#a11251178 Sent from the Struts

Re: In struts 2 can we stop form submiting twice when submit button is pressd more than once

2007-06-14 Thread Strut_developer
, sudeepj2ee wrote: > > Hi > > Thanks for replying can you send a small sample or a link that would be > helpful for me > > sudeep > > Strut_developer wrote: >> >> >> Please use TokenInterceptor; you need to configure it in you action >

Re: In struts 2 can we stop form submiting twice when submit button is pressd more than once

2007-06-14 Thread Strut_developer
Please use TokenInterceptor; you need to configure it in you action configuration. sudeepj2ee wrote: > > Hi > > Is there a way out in struts 2 as in struts1.2 for not submitting the form > twice even is the submit button > is pressed more than once. > > Your reply will be welcomed > > sud

How to use ObjectFactory

2007-06-13 Thread Strut_developer
Hello, I want to use object factory in my project but what I have found that ObjectFactory.getInstance returns null in separate thread. Scenario: At time of starting server object factory is initialized and I am able to use it in actions. but in server startup event, after server is started I am

How to obtain ObjectFactory for custom requirement

2007-06-08 Thread Strut_developer
Hi, I want object factory in my server startup process but ObjectFactory.getObjectFactory() returns null. Actually I need this in one of the my server startup thread. Please advice. -- View this message in context: http://www.nabble.com/How-to-obtain-ObjectFactory-for-custom-requirement-tf3889

Re: How to access static content in struts2

2007-06-07 Thread Strut_developer
It can be used by changing expression to [EMAIL PROTECTED]@propertyValue } Strut_developer wrote: > > I, > In case of webworks to access static properly in jsp page we used to do as > below > > http://www.nabble.com/How-to-access-static-content-in-struts2-tf3881

How to access static content in struts2

2007-06-06 Thread Strut_developer
I, In case of webworks to access static properly in jsp page we used to do as below http://www.nabble.com/How-to-access-static-content-in-struts2-tf3881676.html#a11001510 Sent from the Struts - User mailing list archive at Nabble.com. -

ObjectFactory.getObjectFactory() returns null

2007-06-03 Thread Strut_developer
Hi All, I have migratred my ww2 application to struts. But at time of server startup(jboss) when one of the my startup activity requires to use object factory it returns null. Is there any configuration required for that? -- View this message in context: http://www.nabble.com/ObjectFactory.getO