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.getObjectFactory%28%29-returns-null-tf3863187.html#a10944102
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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-tf3881676.html#a11006284
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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-tf3889320.html#a11025089
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 starting new thread for my custom requirement but in that
thread I am facing this problem.

Please advice,


-- 
View this message in context: 
http://www.nabble.com/How-to-use-ObjectFactory-tf3919629.html#a3960
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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
> 
> sudeep srivastava
> [EMAIL PROTECTED]
> 

-- 
View this message in context: 
http://www.nabble.com/In-struts-2-can-we-stop-form-submiting-twice-when-submit-button-is-pressd-more-than-once-tf3925760.html#a11133862
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2007-06-14 Thread Strut_developer

First of all let me know how to post problems here; I am registered user but
when I post problems ; I cant see it in list. I just can see it in my
account summary. How can I make sure that my queries listed in list like
yours.
and ya you can see java doc of that interceport there is example given,

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
>> 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
>>> 
>>> sudeep srivastava
>>> [EMAIL PROTECTED]
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/In-struts-2-can-we-stop-form-submiting-twice-when-submit-button-is-pressd-more-than-once-tf3925760.html#a11134012
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]