Re: HTML escaping in form input fields in Struts2

2010-11-25 Thread Maurizio Cucchiara
in s:property tag, but I don’t know if there is something like that ‘implemented’ for the input (some interceptor, validator type, …). Have somebody implemented a validator type (using regular expressions) that rejects problematic html characters to avoid XSS attacks?? -- -- Maurizio

Re: JSON plugin suggest : parse String value to Number with null / 0

2010-11-24 Thread Maurizio Cucchiara
) throws JSONException { if (value == null) { if (Short.TYPE.equals(clazz) || Short.class.equals(clazz)) return (short) 0; ... } else if (value instanceof Number) { Number number = (Number) value; -- Maurizio Cucchiara

Re: Issue regarding error messages

2010-11-24 Thread Maurizio Cucchiara
messages to be on the bottom of the fields rather than top of the field. Thanks Prabhu -- Maurizio Cucchiara

Re: Issue regarding error messages

2010-11-24 Thread Maurizio Cucchiara
{color:red;} It would be enough otherwise you should consider to overwrite template. 2010/11/25 Maurizio Cucchiara maurizio.cucchi...@gmail.com You can define *labelposition*=top on css_xhtml theme. take a look at http://struts.apache.org/2.1.8/docs/cssxhtml-theme.html 2010/11/24 Prabhubalaji

Re: JSON plugin suggest : parse String value to Number with null / 0

2010-11-22 Thread Maurizio Cucchiara
For additional commands, e-mail: user-h...@struts.apache.org -- Maurizio Cucchiara

Re: JSON plugin suggest : parse String value to Number with null / 0

2010-11-22 Thread Maurizio Cucchiara
text input value to null. Just a suggeset. Thanks all. Regards, On Tue, Nov 23, 2010 at 9:46 AM, Maurizio Cucchiara maurizio.cucchi...@gmail.com wrote: I'm not sure understand what you mean, it could be ognl conversion related. For further details, could you provide the NPE stack

Re: struts2.1 validation problem! with fileUploadStack

2010-11-19 Thread Maurizio Cucchiara
, Mead On Thu, Nov 18, 2010 at 8:04 PM, Dave Newton davelnew...@gmail.com wrote: Dave -- Maurizio Cucchiara

Re: Reg: Issue with Struts 2 Tomcat Realm

2010-11-19 Thread Maurizio Cucchiara
/solved this issue before ? It will be great if you can give me some pointers to proceed this issue .. Regards, Sathish Kumar T -- Maurizio Cucchiara

Re: Reg: Issue with Struts 2 Tomcat Realm

2010-11-19 Thread Maurizio Cucchiara
Sorry, I forget request dispatcher: dispatcherREQUEST/dispatcher 2010/11/19 Maurizio Cucchiara maurizio.cucchi...@gmail.com I guess that tomcat auth manager doesn't chain your request through struts filter. I'm not sure it works, but you could try to add this line inside your

Re: Problem with Validation lifecycle

2010-11-19 Thread Maurizio Cucchiara
://pittjug.dev.java.net http://twitter.com/akinsgre http://www.linkedin.com/in/akinsgre - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Maurizio Cucchiara

Re: Filed Error message withput bullets.

2010-11-18 Thread Maurizio Cucchiara
in struts.properties as theme=simple. I don't know where to define list-style-type. Please provide me some examples. Thanks and Regards, Satheesh Kannan A B -Original Message- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Sent: Wednesday, November 17

Re: Setting object from param tag fails in Struts 2.2.1

2010-11-17 Thread Maurizio Cucchiara
() -- Maurizio Cucchiara

Re: Filed Error message withput bullets.

2010-11-17 Thread Maurizio Cucchiara
mail and attachments please check them for viruses and defect. --- -- Maurizio Cucchiara

Re: Filed Error message withput bullets.

2010-11-17 Thread Maurizio Cucchiara
, Satheesh Kannan A B -Original Message- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Sent: Wednesday, November 17, 2010 10:45 PM To: Struts Users Mailing List Subject: Re: Filed Error message withput bullets. Did you try to redefine css property like list-style

Re: Filed Error message withput bullets.

2010-11-17 Thread Maurizio Cucchiara
more specifically http://struts.apache.org/2.2.1/docs/struts-2-themes.html#Struts2Themes-SpecifyingTheCSSUsedByTheStruts2Tag You should also consider to switch to css or xhtml theme template in order to see display message below fields 2010/11/17 Maurizio Cucchiara maurizio.cucchi...@gmail.com

Re: Setting and Getting Variables

2010-11-16 Thread Maurizio Cucchiara
. Is there some way to put the value of 'customImageFileUrl' from my action class into a variable that I can use in the page? Thanks! -- Maurizio Cucchiara

Re: Setting object from param tag fails in Struts 2.2.1

2010-11-15 Thread Maurizio Cucchiara
or do I need to do something differently for 2.2? Raj. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Maurizio Cucchiara

Re: Putting an Image (in Bytes) on the session

2010-11-15 Thread Maurizio Cucchiara
-mail: user-h...@struts.apache.org -- Maurizio Cucchiara

Re: Back button after log out should not show secure content.

2010-11-09 Thread Maurizio Cucchiara
for struts2 or methods other struts programers use to address security after signing out? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Maurizio

Re: Have you ever used InputConfig annotation?

2010-11-06 Thread Maurizio Cucchiara
- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

Re: Setting css of a row

2010-11-06 Thread Maurizio Cucchiara
. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: how does the namespace work in struts

2010-11-05 Thread Maurizio Cucchiara
Struts tags are not mandatory in order to deploy an application, but as Li suggested make your life easier :) 2010/11/5 maven apache apachemav...@gmail.com: Thanks for all your guys reply. That's to say I have no choice but using the struts tag if I decide to use the struts?? -- Maurizio

Re: UpDownSelect JPA

2010-11-05 Thread Maurizio Cucchiara
fit and I just don't know what struts is expecting when it needs to display multiple items selected. Thanks for any ideas. Nick -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: how does the namespace work in struts

2010-11-05 Thread Maurizio Cucchiara
Maurizio Cucchiara maurizio.cucchi...@gmail.com Struts tags are not mandatory in order to deploy an application, but as Li suggested make your life easier :) 2010/11/5 maven apache apachemav...@gmail.com: Thanks for all your guys reply. That's to say I have no choice but using the struts

Re: how does the namespace work in struts

2010-11-05 Thread Maurizio Cucchiara
In this case you could interface to ActionMapping through url tag (http://struts.apache.org/2.2.1/docs/url.html). 2010/11/5 maven apache apachemav...@gmail.com: 2010/11/5 Maurizio Cucchiara maurizio.cucchi...@gmail.com Note that without S2 tag you will not appreciate S2 potential. So I

Re: JfreeChart plugin and dynamic size of the images

2010-11-04 Thread Maurizio Cucchiara
. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr

Re: Struts 2.1.8 Tiles

2010-11-02 Thread Maurizio Cucchiara
. --- -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts 2.1.8 Tiles

2010-11-02 Thread Maurizio Cucchiara
Try to put dependencies in the same folder. -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts 2.1.8 Tiles

2010-11-02 Thread Maurizio Cucchiara
.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:193)        at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) Thanks  and Regards, Satheesh Kannan A B -Original Message- From: Maurizio Cucchiara

Re: Struts 2.1.8 Tiles

2010-11-02 Thread Maurizio Cucchiara
               action name=viewDoc class=viewDocAction/action        /package /struts Thanks  and Regards, Satheesh Kannan A B -Original Message- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Sent: Tuesday, November 02, 2010 4:03 PM To: Struts Users Mailing List Subject: Re

Re: s:iterator get value to specific key

2010-11-02 Thread Maurizio Cucchiara
-- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts - optiontransferselect - Triple

2010-11-02 Thread Maurizio Cucchiara
of this email or the information contained in it or attached to it is strictly prohibited. If you received this message in error, please immediately notify the sender at Infotech or mail.ad...@infotech-enterprises.com and delete the original message. -- Maurizio Cucchiara

Re: Multiple form pages - best practise?

2010-10-31 Thread Maurizio Cucchiara
page 1 to page 2, and from page 1 and 2 to page 3? * If one Action class, how to validate only page 1, or page 2 or page 3 input? /Best regards, Per Johansson -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr

Re: LazyInitializationException

2010-10-29 Thread Maurizio Cucchiara
-tp30084356p30084356.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Maurizio Cucchiara

Re: The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread Maurizio Cucchiara
Did you try to without chain result? -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Get s:url in action

2010-10-28 Thread Maurizio Cucchiara
be implemented by struts framework IMHO. May I ask you why you need to map action inside your action class? -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Maurizio Cucchiara
and copyMessages flags) Anyway, you should be able to copy actionError through actions simply by implementing an Interceptor. -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands

Re: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Maurizio Cucchiara
...@afirme.com: -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Maurizio Cucchiara
I don't know what struts version you are running, in 2.2.1 version, chain interceptor should copy actionError through actions. -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

Re: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Maurizio Cucchiara
alfredo.oso...@afirme.com: https://issues.apache.org/jira/browse/WW-2869 And talks about invoking an action with the action tag an ChainingInterceptor but I don't know if the actionErrors from the source action will be copied. -Mensaje original- De: Maurizio Cucchiara

Re: Reg: Issue with Struts 2 Data Binding

2010-10-27 Thread Maurizio Cucchiara
could change your collection in Private *HashMapString,HumanBeing* userAsMap ; 2010/10/27 Sathish Kumar sathishkumar.thiyagara...@gmail.com: Thanks ... Unfortunately, In my case, Map represents various java model classes at run time ( User, Employee etc ). -- Maurizio Cucchiara

Re: Struts nested s:form and s:file tags

2010-10-27 Thread Maurizio Cucchiara
? -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: How to get the value of Constants defined in struts.xml

2010-10-25 Thread Maurizio Cucchiara
-tp30019022p30044983.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Maurizio Cucchiara

Re: Manually run the validation xml

2010-10-23 Thread Maurizio Cucchiara
...@struts.apache.org -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Using FreeMarker (or Velocity) to template emails sent by a struts2 app?

2010-10-19 Thread Maurizio Cucchiara
. Eric - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Maurizio Cucchiara

Re: SOAP on REST

2010-10-19 Thread Maurizio Cucchiara
...@struts.apache.org -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: SOAP on REST

2010-10-19 Thread Maurizio Cucchiara
is to heavy weight but if we use XML and JSON, still dunno how to validate it F On Tue, Oct 19, 2010 at 9:57 PM, Maurizio Cucchiara maurizio.cucchi...@gmail.com wrote: Do you mean something like expose a kind of soap webservice through rest plugin? 2010/10/19 Dave Newton davelnew...@gmail.com

Re: SOAP on REST

2010-10-19 Thread Maurizio Cucchiara
Why cannot you relay on dtd/schema validation? 2010/10/19 Frans Thamura fr...@meruvian.org: yah.. to make sure that the data produced is valid F On Tue, Oct 19, 2010 at 10:09 PM, Maurizio Cucchiara maurizio.cucchi...@gmail.com wrote: What kind of validation you're talking about? xml

Re: Overriding Templates

2010-10-19 Thread Maurizio Cucchiara
reside inside the WEB-INF/classes/template/simple folder Hope this help -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Can't deploy on server

2010-10-19 Thread Maurizio Cucchiara
Is your production environment based on OC4J? It's look like there is something wrong in your classpath. It's just a guess, but I'd look at JXTransformerHandler class (starting from here the http://www.findjar.com/class/oracle/xml/jaxp/JXTransformerHandler.html) -- Maurizio Cucchiara

Re: Freemarker sitemesh decorator does not render struts 2.2.1 action tag

2010-10-16 Thread Maurizio Cucchiara
/order=DESCsorter/field=priorityresolution=-1component=12313331 This is a fairly major road block to upgrade. -Original Message- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Sent: Monday, October 04, 2010 2:54 PM To: Struts Users Mailing List Subject: Re: Freemarker

Re: Activity can display dynamically depend on the locale on Struts

2010-10-15 Thread Maurizio Cucchiara
You're welcome 2010/10/15 singh123 vij...@rediffmail.com: thanks. -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Encoding in s:property

2010-10-15 Thread Maurizio Cucchiara
2010/10/15 Antonio Sánchez inganto...@gmail.com: Escaping HTML. It doesn't work; same results. Have you tried escaping html and still doesn't work? You should obviously set escapeHtml to false like this: s:property value=msg escapeHtml=false/ -- Maurizio Cucchiara

Re: Encoding in s:property

2010-10-15 Thread Maurizio Cucchiara
Escape property is deprecated since 2.2.1 version: http://grepcode.com/file/repo1.maven.org/maven2/org.apache.struts/struts2-core/2.2.1/org/apache/struts2/components/Property.java/ (line 113) -- Maurizio Cucchiara

Re: referencing javascript files from (action) jsp file

2010-10-14 Thread Maurizio Cucchiara
What happens if you go at http://yourservername//js/util.js (and /js/domainsecurityadmin.js) Can you see those files? If yes, check their syntax. -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr

Re: Dynamic create jasper jrxml file

2010-10-13 Thread Maurizio Cucchiara
. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: Activity can display dynamically depend on the locale on Struts

2010-10-12 Thread Maurizio Cucchiara
. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr

Re: Simple theme and field errors

2010-10-10 Thread Maurizio Cucchiara
try this s:iterator value=fieldErrors.foo s:property/ br/ /s:iterator 2010/10/10 Dave Newton davelnew...@gmail.com: There can be more than one error; it's a collection. Dave On Sunday, October 10, 2010, Altenhof, David Aron dalte...@iupui.edu wrote: Working on first Struts2 project,

Re: Optimize webserver performance

2010-10-10 Thread Maurizio Cucchiara
framework that interacts with large datasets, are probably the best solution. Maurizio Cucchiara 2010/10/10 abhishek jain abhishek.netj...@gmail.com: Hi friends, I  have a few different applications running on a small VPS, tomcat 5.5.x, struts 1.2 , mysql. I need to know , what can i do to optimize

Re: jquery with jsp

2010-10-10 Thread Maurizio Cucchiara
(and so on). Both go directly inside client cache, the remaining part is only client elaboration (until you don't invoke ajax request). Maurizio Cucchiara 2010/10/10 tito tit...@gmail.com: If I include some jquery codjes in my jsp . will it make the jsp page heavy to load ? regards, Tito

Re: sx:datetimepicker

2010-10-10 Thread Maurizio Cucchiara
Terry, you can use datepicker without necessarily involving the struts framework. Please, see attached file. Maurizio Cucchiara 2010/10/10 cellterry cellte...@gmail.com: Dear all, So unlucky I encountered another problem to use struts-jquery-plugin (2.4.1). I found that the datepicker

Re: jquery with jsp

2010-10-10 Thread Maurizio Cucchiara
a time measurement feedback. From client point of view you can use firebug (http://getfirebug.com/). Maurizio Cucchiara 2010/10/10 tito tit...@gmail.com: @MaurizioI have included jquery min , but my custom scripts i have put them in jsp page head section inside script tag. Does it improve

Re: Nasty exception in struts2 ognl

2010-10-09 Thread Maurizio Cucchiara
Integer.MAX_VALUE is less then 1286579871769. See (http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Integer.html#MAX_VALUE). Maybe Long will suit you. Maurizio Cucchiara 2010/10/9 Matthias Rakowski matth...@rakowski.biz: The link is Ok, stackoverflow seems to have some problems

Re: Validation Problem

2010-10-09 Thread Maurizio Cucchiara
It's a know bug. If your application doesn't run in a production environment you could download latest struts release from https://hudson.apache.org/hudson/view/Struts/job/struts2/ Maurizio Cucchiara 2010/10/9 Chris Miles ch...@chrismiles.org: Whenever the validation procedure returns

Re: [S2] How to add a custom parameter to an existing Struts UI Tag?

2010-10-09 Thread Maurizio Cucchiara
={1,2,3,4,5} s:if test=(#stat.index % 3)==0 insert breaking string /s:if . /s:iterator Maurizio Cucchiara 2010/10/9 Burton Rhodes burtonrho...@gmail.com: I am trying to override a struts tag template (specifically s:checkboxlist), and I can't figure out how to add a parameter

Re: [S2] How to add a custom parameter to an existing Struts UI Tag?

2010-10-09 Thread Maurizio Cucchiara
Dave you're right, I was not clear I'll try to explain better: s:iterator status=stat value=list s:checkbox label=checkbox label name=checkboxName value=checkboxValue/ s:if test=(#stat.index % 3)==0 insert breaking string /s:if Maurizio Cucchiara 2010/10/9 Dave Newton davelnew

Re: How to set the value of request scope in a interceptor and get it in jsp?

2010-10-07 Thread Maurizio Cucchiara
This would work: s:property value=#request[key] / Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: STRUTS example not running

2010-10-06 Thread Maurizio Cucchiara
Required dependencies missing (You'll notice that WEB-INF/lib directory is empty). This is not the right example for starting. Try to download struts-blank application at http://apache.panu.it//struts/examples/struts2-blank-2.0.14.war Maurizio Cucchiara 2010/10/6 ir2pi ir2...@gmail.com: hello

Re: Reduce Java Script Depecency in Struts 2

2010-10-06 Thread Maurizio Cucchiara
Greg is right. JQuery is very easy to use and provides a new approach to write non-intrusive javascript. Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: Setting Content-Length for monitoring response progress in user agent

2010-10-06 Thread Maurizio Cucchiara
; } public String getFileName() { return fileName; } public int getBuffSize() { return buffSize; } } -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: Translation issue

2010-10-06 Thread Maurizio Cucchiara
Why don't you simply move your translation process in this manner: gender.add(getText(user.gender.female)); gender.add(getText(user.gender.male)); Maurizio Cucchiara 2010/10/6 Daniel Rindt dri...@visetics.com: Hello, i would like to display in a multi language page a select field where you

Re: Apidocs locally

2010-10-06 Thread Maurizio Cucchiara
Try to launch in project root directory (on level up of src directory) Maurizio Cucchiara 2010/10/6 Antonio Sánchez inganto...@gmail.com: Hi. I need the javadoc api working locally. Does it exist a bundle to download? Or How can I generate the javadoc from source code using maven

Re: Translation issue

2010-10-06 Thread Maurizio Cucchiara
Alternatively you could use: s:select key=user.gender listValue=getText(value) name=user.gender list=gender / s:select key=user.gender list=#{'0':getText('user.gender.male'), '1':getText('user.gender.female')} name=user.gender2 / Maurizio Cucchiara 2010/10/7 Daniel Rindt dri...@visetics.com

Re: OGNL and init params

2010-10-06 Thread Maurizio Cucchiara
http://struts.apache.org/2.0.14/docs/ognl-basics.html Maurizio Cucchiara 2010/10/6 Altenhof, David Aron dalte...@iupui.edu: No matter how hard I look, I can't find the answer to this (admittedly newbie) question. How do you get access to the values of init parameters or context parameters

Re: Set JSP timeout in struts 1 app with multipart/form-data form

2010-10-04 Thread Maurizio Cucchiara
Hi, what application server are you using? Did you watch application server logs? I think the problem is related with your AS. For instance, Tomcat have a disableUploadTimeout variable. Maurizio Cucchiara 2010/10/4 Oscar oscar.kalde...@gmail.com: Hi to all, i have a question about a situation

Re: Set JSP timeout in struts 1 app with multipart/form-data form

2010-10-04 Thread Maurizio Cucchiara
Have you tried setting disableUploadTimeout variable on tomcat? 2010/10/4 Oscar oscar.kalde...@gmail.com: Well, i'm using Tomcat 6 for development but also i'm going to test in OAS because that will be the production environment. Regards. 2010/10/4 Maurizio Cucchiara maurizio.cucchi

Re: Freemarker sitemesh decorator does not render struts 2.2.1 action tag

2010-10-04 Thread Maurizio Cucchiara
/ Did it work in that way before? Maurizio Cucchiara 2010/10/3 Derrick Koes derrick_k...@skillsoft.com I am upgrading to struts 2.2.1, but realized there is an issue with freemarker sitemesh decorators which use the struts 2 action tag. This is a regression from 2.1.8.1. To demonstrate

Re: Freemarker sitemesh decorator does not render struts 2.2.1 action tag

2010-10-04 Thread Maurizio Cucchiara
You're right I didn't see the executeResult attribute in your action directive. It's look like you find a new bug out. You should add a new issue: https://issues.apache.org/jira/browse/WW Maurizio Cucchiara 2010/10/4 Derrick Koes derrick_k...@skillsoft.com: Why does the JSP version behave

Re: Accessing User input in execute ( ) method

2010-09-29 Thread Maurizio Cucchiara
Hareendra, You should take a look at http://struts.apache.org/1.x/struts-taglib/tlddoc/logic/iterate.html Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: Problem with S2 form parameters encode

2010-09-27 Thread Maurizio Cucchiara
Hi Oscar, 2010/9/27 Oscar oscar.kalde...@gmail.com Exist a way to tell struts 2 how to encode those characters? There is a simple way: put this line on top of you jsp file: %@ page contentType=text/html; charset=UTF-8 % Hope this help Maurizio Cucchiara

Re: Problem with S2 form parameters encode

2010-09-27 Thread Maurizio Cucchiara
using your header and i get the same result. Regards. 2010/9/27 Maurizio Cucchiara maurizio.cucchi...@gmail.com Hi Oscar, 2010/9/27 Oscar oscar.kalde...@gmail.com Exist a way to tell struts 2 how to encode those characters? There is a simple way: put this line on top of you

Re: Problem with S2 form parameters encode

2010-09-27 Thread Maurizio Cucchiara
Which struts version are you using? Which application server? is it running on linux or windows? Did you try to insert meta tag inside head section? meta http-equiv=Content-Type content=text/html; charset=UTF-8 / Maurizio Cucchiara

Re: Problem with S2 form parameters encode

2010-09-27 Thread Maurizio Cucchiara
You can also try to add pageEncoding inside page directive: %@ page pageEncoding=UTF-8 contentType=text/html; *charset*=UTF-8 % 2010/9/27 Maurizio Cucchiara maurizio.cucchi...@gmail.com Which struts version are you using? Which application server? is it running on linux or windows? Did you

RE: How to structure a struts2 application

2010-09-27 Thread Maurizio Cucchiara
method is always invoked (so you can put here common validation rule). Furthermore, you can encapsulate validation logic inside an xml file, alway following the conventions: actionClass-actionAlias-validation.xml Maurizio Cucchiara

<    1   2   3   4