Thanks for clarifying. I will try stuff and get back
On Thu, May 20, 2010 at 11:24 PM, Cimballi wrote:
> I recommend you to try to deploy both applications on separate
> servers, as the guy did in your link, and see if you still have the
> problem.
> For sure the s:text in Struts uses Xworks.
>
I recommend you to try to deploy both applications on separate
servers, as the guy did in your link, and see if you still have the
problem.
For sure the s:text in Struts uses Xworks.
Cimballi
On Thu, May 20, 2010 at 10:10 PM, Bhaarat Sharma wrote:
> Hi,
>
> Have not tried that yet. We can not
Hi,
Have not tried that yet. We can not try that because of this error on
glassfish. http://www.mail-archive.com/user@struts.apache.org/msg76893.html
having multiple wars in an ear. this causes wars and ears to not get
deployed.
I fail to understand why this would happen couple hours after the
Did you try putting the xworks jar in each project ? I am not sure but
I don't think you can share it.
Cimballi
On Thu, May 20, 2010 at 9:18 PM, Bhaarat Sharma wrote:
> We have a weird problem with multiple Struts2 wars deployed on same
> GlassFish server. These wars share the Xworks.jar file
We have a weird problem with multiple Struts2 wars deployed on same
GlassFish server. These wars share the Xworks.jar file and have their own
copy of struts2-core jar files in WEB-INF/lib
Problem we are experiencing is that once the server is restarted everything
is ok but after couple of hours o
Hi,
Thank you for your answer. Fortunatly I found the solution to my problem
here:
http://www.mail-archive.com/user@struts.apache.org/msg71987.html
I had to use the Struts 2 session instead of the HttpServletRequest session
:
// old
HttpSession session = request.getSession();
// now
Map sessio
I have found that when your interceptor implements SessionAware and puts
some key/value pairs in the map, the session attributes are not available to
the action even if it implements SessionAware. To get the session
attribute, I did something like this:
@SuppressWarnings("unchecked")
Map sessionM
Cheers Chris,
Chris Pratt wrote:
>
> You may want to think about using:
>
> invocation.getStack().getContext().put(MAGIC_KEY,getStuff());
>
> instead of:
>
> invocation.getStack().set(MAGIC_KEY,getStuff());
>
> For the sake of argument, I'm going to assume that MAGIC_KEY is set to the
> Str
You may want to think about using:
invocation.getStack().getContext().put(MAGIC_KEY,getStuff());
instead of:
invocation.getStack().set(MAGIC_KEY,getStuff());
For the sake of argument, I'm going to assume that MAGIC_KEY is set to the
String "magic". The first example above makes #magic availabl
RogerV wrote:
>
>
>
> Andy Law wrote:
>>
>> The pertinent code in the interceptor is reproduced below. It does what I
>> expect it to do insofar as it sticks my "Stuff" object in a place that
>> the JSP can retrieve it using the MAGIC_KEY string. However, if I
>> configure my interceptor stac
Hi,
I would like to do nested struts2 validation. I have two questions.
1) How do I specify the validation for the following field. Can some
point me to some documenation for the expression validation.
searchResults.{#this.resource.name.length() > 0}.{? #this == false
}.size() <= 0
2) Ca
Hi,
I would like to do nested struts2 validation. I have two questions.
1) How do I specify the validation for the following field. Can some
point me to some documenation for the expression validation.
searchResults.{#this.resource.name.length() > 0}.{? #this == false
}.size() <= 0
2) Ca
Writing unit tests are significantly easier when you have dependencies
injected with the xxxAware Interfaces.
On Thu, May 20, 2010 at 7:11 AM, Alex Rodriguez Lopez
wrote:
> Hi Struts users!
>
> I was wondering, after reading about the ServletConfigInterceptor, if there
> are differences in obtain
Hi all,
I am implementing a login system with Struts 2.
Basically, I have a custom interceptor which checks in session if a
particular variable is set. If it is, the user is considered already logged
in and if it is not the variable is set in session (
session.setAttribute("connectedUser", user);
Am 20.05.2010 13:16, schrieb Manoj Singh:
Hi,
Thanks for your reply.
Please let me know how to do it?
Thanks,
Manoj
On Thu, May 20, 2010 at 4:42 PM, Robert Graf-Waczenskiwrote:
Am 20.05.2010 12:50, schrieb Manoj Singh:
Hi,
Is it possible to change the value of form bean proper
Hi,
Thanks for your reply.
Please let me know how to do it?
Thanks,
Manoj
On Thu, May 20, 2010 at 4:42 PM, Robert Graf-Waczenski wrote:
> Am 20.05.2010 12:50, schrieb Manoj Singh:
>
> Hi,
>>
>> Is it possible to change the value of form bean properties in JSP Page?
>>
>> If yes, then please l
Am 20.05.2010 12:50, schrieb Manoj Singh:
Hi,
Is it possible to change the value of form bean properties in JSP Page?
If yes, then please let me know.
Thanks,
Manoj
Yes.
-
To unsubscribe, e-mail: user-unsubscr...@strut
Hi Struts users!
I was wondering, after reading about the ServletConfigInterceptor, if
there are differences in obtaining the session map via the method
ActionContext.getContext().getSession() or have it injected through
SessionAware.
The map that I end up with is the same so... why have to
Hi,
Is it possible to change the value of form bean properties in JSP Page?
If yes, then please let me know.
Thanks,
Manoj
dcabasson wrote:
>
> Why not doing that on the server side, using the s:token approach? That
> would prevent double submit on the server side.
>
As an aside to this, is there a similair technique for detecting multiple
GET requests for the same action?
I've got one particular action that
20 matches
Mail list logo