Struts 2.1.6 - Date parameters conversion failure due to missing locale

2009-03-12 Thread Andrea
Hi Lukasz, my failing configuration: - web client with italian locale - server with english locale - the user posts a form including datetimepicker (dd/mm/ format) ex. form field contains 29/01/2009 after submitted becomes 01/05/2011 form field contains 06/03/2009 after submitted becomes 03/

Struts 2.1.6 - Date parameters conversion failure due to missing locale

2009-03-12 Thread Andrea
Hello all, after migrating from 2.0.11 to 2.1.6 version i faced the above problem. can someone send me the xwork 2.1.3 jar file, or only the .class fixed ? I can't build it cause the enterprise firewall. I need to resolve the issue because our web app doesn't works. Thanks in advance. BR ---

Re: Performance and High CPU utilization

2008-09-18 Thread Andrea Vettori
ist archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Inf

Re: Dynamic session timeout

2008-01-16 Thread Andrea Vettori
: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Poor Performance & Hangs in IE

2007-12-18 Thread Andrea Rizzini
Thank you too, without your help i could have been debugging the applications for weeks. Very Appreciated... Andrea Dave Mills wrote: > I really appreciate the feedback from everyone that responded, you > really helped get me looking in the right direction. Our problem is > pretty mu

Re: Poor Performance & Hangs in IE

2007-12-14 Thread Andrea Rizzini
the dojo components. Thank you for your help Andrea Dave Mills wrote: > I just recently tried extracting the contents of > org\apache\struts2\static into \struts, though I also > tried to eliminate as much of the dojo/ajax content in my app as > possible. The whole app is pretty simple,

Re: Poor Performance & Hangs in IE

2007-12-11 Thread Andrea Rizzini
I have a very similar issue where forms partially load an the application hangs... I'm still inverstigating.. i'll let you know if i come up with something interesting Andrea Dave Mills wrote: > I've got a Struts 2.0.11 app running on Sun Web Server 7.1, which I > rece

R: localization issue for Italian language (package_it.properties)

2007-12-05 Thread Gigliotti, Andrea
lto:[EMAIL PROTECTED] Inviato: mercoledì 5 dicembre 2007 12.36 A: Struts Users Mailing List Oggetto: Re: localization issue for Italian language (package_it.properties) it's the N-th time you post the same stuff. On Dec 4, 2007 6:03 PM, Gigliotti, Andrea <[EMAIL PROTECTED]> wrote:

R: R: R: my execute method of action class is getting executed twice

2007-12-05 Thread Gigliotti, Andrea
document.forms[0].submit();" in "return true;" Andrea -Messaggio originale- Da: Dave Newton [mailto:[EMAIL PROTECTED] Inviato: martedì 4 dicembre 2007 17.53 A: Struts Users Mailing List Oggetto: Re: R: R: my execute method of action class is getting executed twice What Ja

localization issue for Italian language (package_it.properties)

2007-12-04 Thread Gigliotti, Andrea
is you'll get all jsp pages in the tomcat server O.S. language, rather than web client language(it or en-us). Now i'm sure that it's a bug of struts 2 framework! How can I fix it? Andrea ** Le informazioni contenut

R: R: my execute method of action class is getting executed twice

2007-12-04 Thread Gigliotti, Andrea
I tried to remove the javascript confirm message, and now it work fine! I still have the localization problem with the package_it.properties file. This is a bug for sure! Andrea -Messaggio originale- Da: Dave Newton [mailto:[EMAIL PROTECTED] Inviato: martedì 4 dicembre 2007 15.38 A

R: my execute method of action class is getting executed twice

2007-12-04 Thread Gigliotti, Andrea
//conn.close(); } catch (SQLException e) { e.printStackTrace(); } } return ret; } - - - - - - - - - - - - - The class ActionBase extends ActionSupport. The action's e

Re: my execute method of action class is getting executed twice

2007-12-04 Thread Ing. Andrea Vettori
I think you should check if it's the browser that submits the form two times. I thought was a bug of my application, but now i'm thinking it's a bug of struts 2 framework. I hope will be fix very soon. Regards Andrea xniit2003 wrote: Hi, I am new in struts2. In my

Re: 2.x GA estimate

2007-11-30 Thread Andrea Rizzini
Not that i know, but if you check In JIRA the 2.1 version has less that 20 bus report still open. Marcos Mendonça wrote: > Hello all > > Is there an ETA for the release of a 2.1 GA version? > > Thanks. > > - > To unsubscribe, e-m

Re: JSP EL on struts2 tags

2007-11-30 Thread Ing. Andrea Vettori
empre nella lingua del sistema operativo anzichè nella lingua del client (IE 6). ti comunico il mio recapito telefonico, eventualmente ci possiamo sentire. saluti Andrea Gigliotti (tel. 0583 700275) Andrea Vettori wrote: Hi, It's long time I was away from this list. I've found with big

JSP EL on struts2 tags

2007-11-29 Thread Ing. Andrea Vettori
;t understand is : If in the JSP page I use ONLY page variables into EL (that is don't use request variables) do the problem still exist ? Thank you -- Ing. Andrea Vettori Consulente per l'Information Technology -

Re: Relative paths in my webapp

2007-09-17 Thread andrea
hi, Diego you have to put the images under the webRoot/images folder... Andrea - Original Message - From: "Diego Ezquerro" <[EMAIL PROTECTED]> To: "struts" Sent: Monday, September 17, 2007 4:33 PM Subject: Relative paths in my webapp Hi to everyone. I

Re: slowing down action execution time

2007-07-17 Thread Ing. Andrea Vettori
thanks to all I'll try... Il giorno 17/lug/07, alle ore 16:38, Antonio Petrelli ha scritto: 2007/7/17, Ing. Andrea Vettori <[EMAIL PROTECTED]>: I don't remember where but I think I read somewhere that's not possibile to call Thread methods inside a servlet container

Re: slowing down action execution time

2007-07-17 Thread Ing. Andrea Vettori
ere that's not possibile to call Thread methods inside a servlet container. Anyone can confirm this ? Thanks Il giorno 17/lug/07, alle ore 16:25, Leon Rosenberg ha scritto: actually you named it. Thread.sleep(). only for debugging purposes of course :-) regards leon On 7/17/07, Ing.

slowing down action execution time

2007-07-17 Thread Ing. Andrea Vettori
Hi what's the best method to slow an action execution time ? Something like Thread.sleep(...). Thanks ! -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROT

Re: Preventing OGNL evaluations of user input (was Re: Struts 2 performance)

2007-07-16 Thread Ing. Andrea Vettori
ink You'll get the second behaviour with -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Preventing OGNL evaluations of user input (was Re: Struts 2 performance)

2007-07-16 Thread Ing. Andrea Vettori
ors or just the text will not be evaluated? Best, Aram Aram Mkhitaryan 52, 25 Lvovyan, Yerevan 375000, Armenia Mobile: +374 91 518456 E-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'In

Re: Preventing OGNL evaluations of user input (was Re: Struts 2 performance)

2007-07-16 Thread Ing. Andrea Vettori
ECTED] -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Preventing OGNL evaluations of user input (was Re: Struts 2 performance)

2007-07-16 Thread Ing. Andrea Vettori
ssion like % {xxx} is illegal: instead it should be evaluated as the string "%{xxx}". what means the first is illegal, but should be evaluated as the string could you please bring an example with -- Ing. Andrea Vettori Consulente per l'In

Re: Preventing OGNL evaluations of user input (was Re: Struts 2 performance)

2007-07-16 Thread Ing. Andrea Vettori
ge problem. Best, Aram Aram Mkhitaryan 52, 25 Lvovyan, Yerevan 375000, Armenia Mobile: +374 91 518456 E-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Technology -

Re: Struts 2 performance

2007-07-12 Thread Ing. Andrea Vettori
Il giorno 12/lug/07, alle ore 16:31, Guillaume Carré ha scritto: 2007/7/12, Ing. Andrea Vettori <[EMAIL PROTECTED]>: Compared to nothing... they are pure numbers. They are simply just good enought (to me). If we don't have this in mind we should use assember for everything

Re: Struts 2 performance

2007-07-12 Thread Ing. Andrea Vettori
2007/7/12, Ing. Andrea Vettori <[EMAIL PROTECTED]>: Yes i'm sure it's true. So the struts related performance seems not too bad... compared to what? Compared to nothing... they are pure numbers. They are simply just good enought (to me). If we don't have this

Re: Struts 2 performance

2007-07-12 Thread Ing. Andrea Vettori
response time. I suspect you'll find that your DB is causing a lot of the delay in the short ramp up test. -Original Message----- From: Ing. Andrea Vettori [mailto:[EMAIL PROTECTED] Sent: 12 July 2007 11:30 To: Struts Users Mailing List Subject: Re: Struts 2 performance I've do

Re: Struts 2 performance

2007-07-12 Thread Ing. Andrea Vettori
using jsp custom tags so OGNL is used only on the back-end by struts itself and not by jsp pages. The site is using the simple theme. Any considerations on the numbers ? -- Ing. Andrea Vettori Consulente per l'Information

Re: AW: Struts 2 requires input result on failed type conversion

2007-07-11 Thread Ing. Andrea Vettori
umber-setters with some kind of string parsing would be a whole lot of work. So my favourite solution would be something that easily achieved by struts default functionality. After all, this problem doesn't seem too exotic :) -Ursprüngliche Nachricht- Von: Ing. Andrea Vetto

Re: [S2] Disabling OGNL

2007-07-11 Thread Ing. Andrea Vettori
For additional commands, e-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 2 requires input result on failed type conversion

2007-07-11 Thread Ing. Andrea Vettori
--- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Struts 2 performance

2007-07-11 Thread Ing. Andrea Vettori
> To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd - To unsubscribe, e-mail: [EMAIL PROTEC

Re: Struts 2 performance

2007-07-11 Thread Ing. Andrea Vettori
should have a "test" application that minimizes memory/cpu utilization for non-struct components and some pre-defined tests so we can produce benchmarks we can compare... -- Ing. Andrea Vettori Consulente per l'Information Technology -

Re: How do we get access to the servlet context from a class that is not an action?

2007-07-10 Thread Ing. Andrea Vettori
Asaf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Techn

Re: [S2] Form Processing - Security - ParameterNameAware

2007-07-09 Thread Ing. Andrea Vettori
archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Techn

Re: [ot] weird message

2007-07-06 Thread Ing. Andrea Vettori
ing Emarketplace deFacto Powered by Standards email <[EMAIL PROTECTED]> voz +34 985 129 820 voz +34 660 026 384 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Found Denial Of Service (was [S2] App produces lot garbage IMPORTANT NEWS (I HOPE))

2007-07-05 Thread Ing. Andrea Vettori
3 Tomcat 5.5.17 Java 1.5 I'm not familiar enough with JIRA to file an issue right now, but I'll do so later today if I find some time... On 05/07/07, Ing. Andrea Vettori <[EMAIL PROTECTED]> wrote: Done. https://issues.apache.org/struts/browse/WW-2030 I tried on two different s

Re: Found Denial Of Service (was [S2] App produces lot garbage IMPORTANT NEWS (I HOPE))

2007-07-05 Thread Ing. Andrea Vettori
Done. https://issues.apache.org/struts/browse/WW-2030 I tried on two different struts application. Maybe others can try on their app ??? If it's not already addressed it's a very serious bug! Il giorno 05/lug/07, alle ore 12:28, Antonio Petrelli ha scritto: 2007/7/5, Ing. Andr

Found Denial Of Service (was [S2] App produces lot garbage IMPORTANT NEWS (I HOPE))

2007-07-05 Thread Ing. Andrea Vettori
05/lug/07, alle ore 01:53, Ing. Andrea Vettori ha scritto: All the traces points me to this function on the xwork library Since it contains an infinte loop it's promising ;) Need to sleep now, I hope tomorrow to find someone else solution in my inbox :) Thank you public static Objec

Re: [S2] App produces lot garbage IMPORTANT NEWS (I HOPE)

2007-07-04 Thread Ing. Andrea Vettori
expression = left + right; } } else { break; } } return XWorkConverter.getInstance().convertValue (stack.getContext(), result, asType); } -- Ing. Andrea Vettori Consulente per l'Information Technology

[S2] App produces lot garbage IMPORTANT NEWS (I HOPE)

2007-07-04 Thread Ing. Andrea Vettori
(ComponentTagSupport.java:43) at org/apache/jsp/carrelloB_jsp._jspx_meth_s_005fpassword_005f0 (carrelloB_jsp.java:694) at org/apache/jsp/carrelloB_jsp._jspx_meth_s_005fform_005f2 (carrelloB_jsp.java:634) at org/apache/jsp/carrelloB_js

Re: [S2] App generate lot (2GB) of garbage! SOLVED

2007-06-30 Thread Ing. Andrea Vettori
Il giorno 30/giu/07, alle ore 13:54, Dave Newton ha scritto: --- "Ing. Andrea Vettori" wrote: However, my code still benefit a lot from disabling logging of struts \classes in jboss and caching the freemarker BeanWrapper. Hope to see this in the PerformanceTuning wiki pages.

Re: [S2] App generate lot (2GB) of garbage! SOLVED

2007-06-29 Thread Ing. Andrea Vettori
and caching the freemarker BeanWrapper. Hope to see this in the PerformanceTuning wiki pages. If I found WHAT's wrong with the previous version I'll make a note here. Thanks to all who have tried to help. Il giorno 25/giu/07, alle ore 18:40, Ing. Andrea Vettori ha scritto: I

Re: [S2] App generate lot (2GB) of garbage!

2007-06-27 Thread Ing. Andrea Vettori
Thanks In fact they are already there! I made a mistake writing the email... Il giorno 27/giu/07, alle ore 22:05, Guillaume Carré ha scritto: 2007/6/23, Ing. Andrea Vettori <[EMAIL PROTECTED]>: yes the templates are into WEB-INFO/templates you have to put them in tour WEB-AP

Re: [S2] App generate lot (2GB) of garbage!

2007-06-25 Thread Ing. Andrea Vettori
ect list ? Maybe in the meantime the yourkit guys resolve the problem but I really want to leave this problem behind as soon as possibile! Thank you -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsu

Re: [S2] App generate lot (2GB) of garbage!

2007-06-25 Thread Ing. Andrea Vettori
hence no StringBuilder will be created, hence you'll see a drop of over 5% in your Gced object count for exactly the same test. -Original Message- From: Ing. Andrea Vettori [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 10:36 To: Al Sutton Subject: Re: [S2] App generate lot (2GB)

Re: [S2] App generate lot (2GB) of garbage!

2007-06-25 Thread Ing. Andrea Vettori
th a call count so we can see how many times the methods are being executed? Thanks, Al. -Original Message- From: Ing. Andrea Vettori [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 09:35 To: Struts Users Mailing List Subject: Re: [S2] App generate lot (2GB) of garbage! Il giorno 25/gi

Re: [S2] App generate lot (2GB) of garbage!

2007-06-25 Thread Ing. Andrea Vettori
- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] App generate lot (2GB) of garbage!

2007-06-25 Thread Ing. Andrea Vettori
e/ on this server. -Original Message- From: Ing. Andrea Vettori [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 08:34 To: Struts Users Mailing List Subject: Re: [S2] App generate lot (2GB) of garbage! Hi, I've run a profile with yourkit (nice!) on my development platform. Here is the

Re: [S2] App generate lot (2GB) of garbage!

2007-06-25 Thread Ing. Andrea Vettori
t; :). Thank you and please don't leave me alone with this problem! -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] App generate lot (2GB) of garbage!

2007-06-23 Thread Ing. Andrea Vettori
yes the templates are into WEB-INFO/templates Il giorno 23/giu/07, alle ore 11:28, Guillaume Carré ha scritto: 2007/6/23, Ing. Andrea Vettori <[EMAIL PROTECTED]>: So struts asks freemarker to generate the html for the struts tag. Freemarker looks at the template and outputs the html

Re: [S2] App generate lot (2GB) of garbage!

2007-06-23 Thread Ing. Andrea Vettori
re the user can browse an "in ram" list of dataobjects created with an ejb3 query in a session bean. The entire list is returned and cached for struts2 action as said above. When I first profiled the app, the most ram demanding classes was freemarker.ext.beans. generated

Re: [S2] App generate lot (2GB) of garbage!

2007-06-23 Thread Ing. Andrea Vettori
t;dimPagina" onchange="document.RicercaArticoliVisDimPagina.submit()"/> prodotti per pagina What object are created ? Thanks regards musachy On 6/20/07, Ing. Andrea Vettori <[EMAIL PROTECTED]> wrote: I discussed the prob

Re: [S2] App generate lot (2GB) of garbage!

2007-06-22 Thread Ing. Andrea Vettori
There are three pages of issues on freemarker... I'll take a look at them and see if it's already present. Thank you Il giorno 22/giu/07, alle ore 19:17, Antonio Petrelli ha scritto: Andrea, please create a JIRA issue for this, and join the discussion at the Struts Developers li

Re: [S2] App generate lot (2GB) of garbage!

2007-06-20 Thread Ing. Andrea Vettori
tags and a few struts tags can I focus on struts tags only to try to understand why the app is producing garbage ? Thank you Il giorno 19/giu/07, alle ore 12:58, Ing. Andrea Vettori ha scritto: Il giorno 19/giu/07, alle ore 12:07, Antonio Petrelli ha scritto: 2007/6/19, Ing. Andrea

Re: [S2] App generate lot (2GB) of garbage!

2007-06-19 Thread Ing. Andrea Vettori
Il giorno 19/giu/07, alle ore 12:07, Antonio Petrelli ha scritto: 2007/6/19, Ing. Andrea Vettori <[EMAIL PROTECTED]>: Moreover I'm not using freemaker in my project! It's struts that's using it. My page are all jsps !! This is pretty strange... Is FreeMarker ser

Re: [S2] App generate lot (2GB) of garbage!

2007-06-19 Thread Ing. Andrea Vettori
Moreover I'm not using freemaker in my project! It's struts that's using it. My page are all jsps !! Il giorno 19/giu/07, alle ore 11:41, Ing. Andrea Vettori ha scritto: yes but their list and forum seems almost dead... I hope someone in the struts team can help me f

Re: [S2] App generate lot (2GB) of garbage!

2007-06-19 Thread Ing. Andrea Vettori
yes but their list and forum seems almost dead... I hope someone in the struts team can help me found what's the problem... Il giorno 19/giu/07, alle ore 11:39, Antonio Petrelli ha scritto: 2007/6/19, Ing. Andrea Vettori <[EMAIL PROTECTED]>: Anyone knows wh

Re: [S2] App generate lot (2GB) of garbage!

2007-06-19 Thread Ing. Andrea Vettori
Anyone ? Anyone knows who's calling freemarker.ext.beans methods ? Il giorno 17/giu/07, alle ore 19:08, Ing. Andrea Vettori ha scritto: Hi, I've a struts 2.0.8 app that runs on Linux and JBoss 4.0.5. I'ts an e-commerce site. I have the following problem. The app seems to

[S2] App generate lot (2GB) of garbage!

2007-06-17 Thread Ing. Andrea Vettori
xt.beans.StringModel.(StringModel.java:90) -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

s2 image submit button and methods

2006-11-28 Thread Ing. Andrea Vettori
the framework automatically rejecting method:xxx and action:xxx parameters that ends with a ".x" and ".y". Thanks -- Ing. Andrea Vettori Consulente per l'Information Technology

Re: Struts2 question on action with properties

2006-11-09 Thread Ing. Andrea Vettori
, you can use wildcards. -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts2 question on action with properties

2006-11-07 Thread Ing. Andrea Vettori
ll the jsp page where the form is, works. Now I think it would be "cleaner" if the getInfos() method belonged to the Action that is associated to the form. Is this possible to do ? Am I missing something ? Thank you P.S. Hope you understand my Italian-English :) -- Ing. Andrea Vettori Consulente per l'Information Technology

Re: [Please help me!] upgrade from struts 1.1 rc1 to struts 1.1 final

2004-08-10 Thread Andrea Till
Hello, please can someone be so kind to help me. Problem see below. Thanks! Andrea > Hello, > > I didn't neccessarily exspect that someone could recite the steps, but it > could be possibe that someone could do it. To tell the truth I've not > thought that it are

R: [OT] Good env for struts-based-web-tier and ejb components development

2004-06-03 Thread Andrea M.
Mah Sincerely... there are features in IDEs that I don't know how would I do without.. like code insight... web descriptor (and even struts descriptor) editing.. and so on Of course I could do everything with notepad, but that often means getting crazy just to find a simple syntax error, or event

R: Servlet filter

2004-06-03 Thread Andrea M.
Hi Shilpa I'm not sure you really need to use Filters for this purpose with Struts. I think if you make sure you never access pages directly (maybe putting them under WEB-INF... I've never done this but I know it's possible) but always thru actions, then it shouldn't be difficult to implement a cal

R: Struts Tag Library

2004-06-02 Thread Andrea M
ggetto: AW: Struts Tag Library <2cents> If you plan to use model 1 -> use jstl If you plan to use model 2 -> use struts :-) Leon > -Ursprüngliche Nachricht- > Von: Andrea M [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 2. Juni 2004 11:55 > An: 'Struts Users

R: Struts Tag Library

2004-06-02 Thread Andrea M
I agree with Rick Of corse you could use struts tags without Struts framework, but there's no point in doing so: Tags like bean, logic and iterate are almost entirely supplanted by JSTL The only struts tag that is still useful is but is designed to work together with ActionServlet, so using it out

R: From bean into "for" loop

2004-05-24 Thread Andrea M.
Hi Andy I'm afraid you are mixing jsp scriptlet with JSTL grammar You can use two approaches: If you want to use scriptlet (like you are doing now) You must of course declare it, e.g. like Then if tou want to use "someCount" property in you scriptlet you have to stick with usual java syntax: <

R: Multiple Databases.

2004-05-20 Thread Andrea M
Hi I don't use Tomcat personally, but in almost all of the appservers out of there you find an implementation of javax.sql.DataSource. What you do usually is to configure your pools in the appserver's configuration file, where you put all of the coordinates, then you access them thru JNDI e.g. Da

R: and tags

2004-05-20 Thread Andrea M
Ops..typed it wrong Correction: -Messaggio originale- Da: Andrea M [mailto:[EMAIL PROTECTED] Inviato: venerdì 21 maggio 2004 7.39 A: 'Struts Users Mailing List' Oggetto: R: and tags Hi Padala Why don't you use instead of manually cycling thru with mailto:[

R: and tags

2004-05-20 Thread Andrea M
Hi Padala Why don't you use instead of manually cycling thru with mailto:[EMAIL PROTECTED] Inviato: giovedì 20 maggio 2004 22.41 A: Struts Users Mailing List Oggetto: RE: and tags Thanks Tim, I could solve my issue with the el tags. Now I am using el tags in other places, Life is easy now.

R: R: Struts and JAAS

2004-05-18 Thread Andrea M.
Could you provide an example of how to do it? I think if it's a matter of application configuration then the appserver should not make any difference, as long as I use jdk 1.4 and j2ee 1.3 -Messaggio originale- Da: Sean Radford [mailto:[EMAIL PROTECTED] Inviato: martedì 18 maggio 2004 1

R: R: Struts Taglib recommendations

2004-05-18 Thread Andrea M.
You can find them at http://www.displaytag.org and http://cewolf.sourceforge.net/ -Messaggio originale- Da: Dean A. Hoover [mailto:[EMAIL PROTECTED] Inviato: martedì 18 maggio 2004 15.05 A: Struts Users Mailing List Oggetto: Re: R: Struts Taglib recommendations Andrea M. wrote: >Ot

R: Filtering ApplicationResources.properties file

2004-05-18 Thread Andrea M.
g that might be of interest for you here: http://www.anassina.com/struts/i18n/i18n.html -Messaggio originale- Da: Ramil Mirhasanov [mailto:[EMAIL PROTECTED] Inviato: martedì 18 maggio 2004 15.03 A: Struts Users Mailing List Oggetto: Re: Filtering ApplicationResources.properties file Andre

R: Filtering ApplicationResources.properties file

2004-05-18 Thread Andrea M.
truts Users Mailing List Oggetto: Re: Filtering ApplicationResources.properties file Andrea, I need that error messages are displayed properly in iso-8859-9 encoding, as all my classes and jsps. My error messages are stored in ApplicationResources.properties file. I will be gratefull if you help!

R: Filtering ApplicationResources.properties file

2004-05-18 Thread Andrea M.
Hi Ramil I don't quite understand what you are trying to achieve Why should you want to filter properties? -Messaggio originale- Da: Ramil Mirhasanov [mailto:[EMAIL PROTECTED] Inviato: martedì 18 maggio 2004 12.46 A: Struts Users Mailing List Oggetto: Filtering ApplicationResources.prop

R: Struts Taglib recommendations

2004-05-18 Thread Andrea M.
Why that? I use currently Struts + JSTL Actually the only struts taglib I use is html or html-el What have "using the mvc" and "build 3 tier" to do with using struts taglib vs JSTL??? -Messaggio originale- Da: Rosenberg, Leon [mailto:[EMAIL PROTECTED] Inviato: martedì 18 maggio 2004 14.0

R: Struts Taglib recommendations

2004-05-18 Thread Andrea M.
glibs mostly to iterate and display collections of beans. There might be some logical branching ( equals, bigger than, smaller than ) involved. I've used the struts taglibs extensively but find some parts of it, beans nested several levels for example, quite tedious to work with. //Linus &

R: Struts Taglib recommendations

2004-05-18 Thread Andrea M.
That's a pretty vague question There's plenty of taglib out there Please specify what you are looking for, cause I don't think you'll find people here writing you a comprehensive list of all of the taglibs existent :) Andrea -Messaggio originale- Da: news [mailto:[

R: Struts and JAAS

2004-05-18 Thread Andrea M.
Inviato: martedì 18 maggio 2004 11.05 A: Struts Users Mailing List Oggetto: Re: Struts and JAAS Each application just logs into a different JAAS realm (each of these has its own stack of login modules, but sounds like you only need one per realm). Hope that guides you a little. regards, Sean

Struts and JAAS

2004-05-18 Thread Andrea M.
d with the login module tailored for the application B! Anyone with a better clue than me about this? Thanks Andrea - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

R: java.lang.IllegalArgumentException: No bean specified

2004-05-17 Thread Andrea M
Hi Paraman These are the two actions you're talkin' about: Now I see that the first one forwards a processAreasForm to the second, which in turn accepts evaluationForm That's very likely to be your problem So.. you have three options I guess - The one you found: setting the "

R: use of session object in Action Form?

2004-05-17 Thread Andrea M
Correct Whatever the reason you need to access the session, you can do that using the request passed to the two methods Atta mentions. Getting a reference to the session from the request is trivial: HttpSession session = request.getSession(); -Messaggio originale- Da: atta-ur rehman [mail

R: Indexed property throws exception - HELP!

2004-05-17 Thread Andrea M
I've seen in another list someone resolving a problem like this using ArrayList instead of the interface List It's odd but the guy claims it worked. Maybe a bug in PropertyUtils.. don't honestly know. This is the link if you are interested http://www.junlu.com/msg/45025.html -Messaggio origin

R: App-level globals

2004-05-17 Thread Andrea M
Yeah Probably Struts' plugins are the most straightforward thing for you. Plugins are components that Struts loads once at startup, and they are often used (I use them in that way too) to load shared resources (like datasources) in servletcontext before every other component is load. -Messag

R: R: Sharing what I've learned: locale switching

2004-05-17 Thread Andrea M
Inviato: lunedì 17 maggio 2004 14.31 A: Struts Users Mailing List Oggetto: Re: R: Sharing what I've learned: locale switching Andrea M. wrote: >Hi Jan >What do you mean with "sharing user chosen locale"? >Does your user access thru a common login application? >If it

R: JSTL 1.1 EL not working :(

2004-05-17 Thread Andrea M.
2.3 PS: anyways ensure that the URI you use in web.xml is the same you declare in your page Andrea -Messaggio originale- Da: Daniel Perry [mailto:[EMAIL PROTECTED] Inviato: lunedì 17 maggio 2004 15.50 A: Struts User List Oggetto: JSTL 1.1 EL not working :( I've tried to use JSTL wi

R: [very OT] 16 kb limit in XML from Tomcat?

2004-05-17 Thread Andrea M.
Hmm I don't know about this 16k limit, but AFAIK you can set any kind of content type in your jsp. JSPs are ultimately servlets (once translated), so you have no limit in content types e.g. I used to set "text/xml" for creating dynamic JNLP files with jsps -Messaggio originale- Da: Kran

R: Struts 1.1 & XHTML [html:form]

2004-05-17 Thread Andrea M.
Hi Yoann Why do you need a "name" on your form? In Struts it usually identifies the name of the actionForm it uses, but that is usually set in struts-config. If a unique identifier of the then 'styleId' attribute might be what you want, since it renders an 'id' attribute (ibid http://jakarta.apach

R: About multiple Resourcebundles

2004-05-17 Thread Andrea M.
Yes that's the way you access the bundles. Your web.xml has nothing to do with message resources However... instead of asking "will it work?" perhaps it would be a better idea to try it out first, and eventually ask "why didn't it work?" then :) Andrea -Mess

R: Sharing what I've learned: locale switching

2004-05-17 Thread Andrea M.
Hi Jan What do you mean with "sharing user chosen locale"? Does your user access thru a common login application? If it's something like that, then you might share your Locale putting it in session Session.setAttribute("myLocale", myLocale); Then retrieving it in the other applications with (Local

R: Maintaining form data across pages...

2004-05-16 Thread Andrea M
the JSP controls, even it was in session. -Original Message- From: Andrea M [mailto:[EMAIL PROTECTED] Sent: Sunday, May 16, 2004 1:11 PM To: 'Struts Users Mailing List' Subject: R: Maintaining form data across pages... Hi I'm not sure I've understood properly what you need W

R: Maintaining form data across pages...

2004-05-16 Thread Andrea M
Hi I'm not sure I've understood properly what you need What I understand is that you are trying to populate the same actionform using several pages. The problem is that struts *always calls reset()* every time it access the form. What you can do is making your pages set a flag in the request, so yo

R:

2004-05-16 Thread Andrea M
Hi Raman I would rather suggest you to put in your scope an ArrayList of beans, each one eventually with getName() and getLabel() (or whatever you like) So.. in that case, if your collection is stored as "dummyList" then you could access it like this: Where property attribute will be the value

R: **--Message Resource problem--**

2004-05-16 Thread Andrea M
Hi Raman Can you post here your Properties file? Maybe it's a matter of caps Another chance is that you have more than one message-resources entries in your config, and that ApplicationResources.properties is not the default one: if it's so, then you have to specify which one to use with "bundle"

R: How to set an ActionForm to null

2004-05-15 Thread Andrea M
l the properties you need to) instead of messing up with strange iterations. Regards Andrea -Messaggio originale- Da: Richard Yee [mailto:[EMAIL PROTECTED] Inviato: sabato 15 maggio 2004 0.01 A: Struts Users Mailing List; pls Oggetto: Re: How to set an ActionForm to null pls, You won'