Re: OT- Versioning in Struts

2010-01-05 Thread Antonio Petrelli
2010/1/4 Paul Benedict pbened...@apache.org: 1 = Struts 1 IOW, the old famous and, sigh, obsolete framework for web application. 2 = Struts 2 IOW, the framework that has been imported from the OpenSymphony's WebWork framework codebase. As you can see, they are not two versions of the same

Beginner Query on Struts tiles

2010-01-05 Thread steff_uk
Hi , Iam new to struts,currently iam migrating existing app to struts2 Iam having 2 web application running in server I need to call 2nd web app in 1st currently iam using Iframes frame sets , is there any other way do this? Is it possible to use Struts Tiles for this ? Kindly reply Thanks in

Re: Beginner Query on Struts tiles

2010-01-05 Thread Antonio Petrelli
2010/1/5 steff_uk aravin...@hotmail.com: I need to call 2nd web app in 1st currently iam using Iframes frame sets , is there any other way do this? Yes, you could extract the 2nd webapp response's body and insert it into the 1st. For this, take a look at Sitemesh:

Struts 1.3.9 validation oddity - If non-default bundle specified for 'msg', 'arg' must also define bundle attribute

2010-01-05 Thread Baljeet Nijjhar
Hi I am using Struts 1.3.9 and validator_1_3_0.dtd. I have defined some message resources in my struts-moduleX.xml as follows: I then define a field validation for e.g. propertyX in my validation-moduleX.xml as follows: In this case, I place both 'label.propertyX' and

S2: Problem Infinite recursion detected

2010-01-05 Thread Marc Eckart
Hi, We have an action which causes an Infinite recursion detection. I don't have any idea why this is happening. When we call the action the first time everything is ok. But when we call this the second time we get this exception: 05.01.2010 13:45:00 org.apache.catalina.core.StandardWrapperValve

S2: Problem Infinite recursion detected

2010-01-05 Thread Marc Eckart
Hi, We have an action which causes an Infinite recursion detection. I don't have any idea why this is happening. When we call the action the first time everything is ok. But when we call this the second time we get this exception: 05.01.2010 13:45:00 org.apache.catalina.core.StandardWrapperValve

RE: Displaying an image in JSP in struts+tiles project

2010-01-05 Thread Kawczynski, David
Being a fan of the KISS policy... I played around with this but didn't have the time to figure it out, so I made the URL spat out by struts2 points to a servlet instead of struts2. (Note that my web.xml has struts2 configured to listen for *.action rather then slash-star) Good luck please

problems with struts2 and session

2010-01-05 Thread Sergio
Hi people, i'm a newbie to struts2. I'm having too many problems modifing session parameters. I use %= session.getAttribute( variable ) % to gain access to variable and that works when i modify variable into a jsp page, but not inside a struts action. struts.xml: ?xml version=1.0

Re: problems with struts2 and session

2010-01-05 Thread Sergio
Sergio escribió: Hi people, i'm a newbie to struts2. I'm having too many problems modifing session parameters. I use %= session.getAttribute( variable ) % to gain access to variable and that works when i modify variable into a jsp page, but not inside a struts action. struts.xml: ?xml

Dispatcher with precompiled JSP

2010-01-05 Thread java
Hello, I have an action result type dispatcher with param name location equal to the path to the JSP, but I have precompiled the JSPs and it now seems the dispatcher cannot locate the JSP class. I tried changing the location to the fully qualified class name of the compiled JSP with the same

RE: How is the max file size controlled for file uploads in Struts 1.3.8?

2010-01-05 Thread Frank Russo
I guess the main problem is that the request params are gone. So not only if the file not submitted, but none of the params are submitted. The rest of the params need to be made available, imo...

[SOLVED] RE: Dispatcher with precompiled JSP

2010-01-05 Thread Lee Clemens
My mistake, there needs to be a slash after the context, otherwise the page was not loading completely (still not exactly sure way, probably due to mod_jk - part of the page loaded, but not the s:action tag/dispatcher) -Original Message- From: j...@leeclemens.net