Re: Exception using ParametersInterceptor to fill a Set

2009-10-22 Thread Marcelo Salhab Brogliato
On Thu, Oct 22, 2009 at 1:12 PM, Marcelo Salhab Brogliato < msbro...@vialink.com.br> wrote: Hi Steven, I know that Set usually don't have orders. But how do I fill my set? I tried email[0] because I implemented this setter: void setEmail(int index, String email), and it just ignored in

Re: Exception using ParametersInterceptor to fill a Set

2009-10-21 Thread Marcelo Salhab Brogliato
Set usually dont have orders unless specifically implemented forif you need to preserver order then use List then email[0] will work On Thu, Oct 22, 2009 at 12:38 PM, Marcelo Salhab Brogliato < msbro...@vialink.com.br> wrote: I made some tests in a very simple application now and I got thi

Re: Exception using ParametersInterceptor to fill a Set

2009-10-21 Thread Marcelo Salhab Brogliato
! msbrogli On Oct 22, 2009, at 12:46 AM, Marcelo Salhab Brogliato wrote: Hi, in my action I have a client object that has a Set email. In my http request, I have these data: client.email[0] = 'a...@def.com' client.email[1] = 'a...@b2.com' client.email[2] = 'a...@b

Exception using ParametersInterceptor to fill a Set

2009-10-21 Thread Marcelo Salhab Brogliato
Hi, in my action I have a client object that has a Set email. In my http request, I have these data: client.email[0] = 'a...@def.com' client.email[1] = 'a...@b2.com' client.email[2] = 'a...@b2.com' But I'm getting an error in ParametersInteceptor. I created these setters: public void setEmail(

How to use different configurations?

2009-10-06 Thread Marcelo Salhab Brogliato
Hi there, my name is Marcelo and I'm new to the list. I use struts for some time and have some projects in it. But I'm in a new situation now. My customer have two different business and he want the same application for both, but detached. This application was developed with S

Problem with floatRange in Struts Validator

2006-07-15 Thread Marcelo V. F. Menezes
if my configuration is correct? Sorry my english. Thank´s Marcelo -- --- Marcelo V. F. Menezes 0xB904EBB4 @ http://pgp.mit.edu -- "queriam apenas se divertir e pensavam tratar-se de um mendigo, não de um índio, o homem a quem incendiaram." - Defesa dos acusados de matar o índio Pataxó Galdino Jesus dos Santos.

Re: BaseTag and HTTPS behind a proxy

2006-02-03 Thread Marcelo Morales
suggest to use ajp. I never liked reverse proxy because hides the request's real origin. Also, as far as i understand, ajp performs better. Regards Marcelo Morales - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: Roles in struts

2006-01-30 Thread Marcelo Morales
security role Hope i pointed you in the right direction. Marcelo Morales - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Roles in struts

2006-01-30 Thread Marcelo Morales
roles against the HTTPRequest's default isUserInRole method. The default behaviour follows. If the user has at least one authorized role then struts will grant access to the action. Regards Marcelo Morales - To unsubscri

Re: [OT] Authentication problem

2006-01-27 Thread Marcelo Morales
#x27;t use container-based authentication. regards -- Un saludo otro saludo Marcelo Morales - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: LDAP Authentication

2006-01-27 Thread Marcelo Morales
-howto.html#JNDIRealm Seth Buntin Marcelo Morales - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: LDAP Authentication

2006-01-27 Thread Marcelo Morales
er-manager authorization (role attribute of action element), and nothing else in the security area. Thanks, Seth Buntin Regards Marcelo Morales - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: comunicate different struts

2006-01-23 Thread Marcelo Morales
if I have explained well. Sorry for my English &. Thanks! :-) Saludos Marcelo Morales - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What JDK version are you using?

2006-01-23 Thread Marcelo Morales
JDK 1.4 This is required by one of my customers. So i use 1.4 for everybody else, so i don't have to deal with any other JDK. Using validator extensively. Validator seems ubiquitous in most of my struts projects and i use it beyond action form validation (in configuration and some defensi

Re: [OT]LDAP

2006-01-20 Thread Marcelo Morales
Hello LDAP is outside the scope of struts a couple ideas from the top of my head: 1 JDBC-LDAP, from www.openldap.org. Possibly can be used as a datasource. 2 The LDAP api from netscape/mozilla www.mozilla.org/directory/ 3 There is also the jndi from sun... On Jan 20, 2006, at 4:46 PM, Pri

Re: Globally available variables

2006-01-18 Thread Marcelo Morales
safety involved 2 Wire it using spring. 3 The old an reliable final public static thing, which might be even easier Any ideas will be much appreciated. Regards Marty Regards Marcelo Morales - To unsubscribe, e-mail: [

Re: ValidatorActionForm and xdoclet?

2006-01-16 Thread Marcelo Morales
tterns and just generate different validation rules, but this might get messy when maintenance time starts. Regards Marcelo Morales - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] jsessionid

2006-01-14 Thread Marcelo Morales
Helo There are three main methods for maintaing the session in HTTP (according to the java servlets standard): cookies, ssl session and URL rewriting. The jsessionid parameter is just a way of ensuring the session when the servlet container has yet to find out if the user agent will accep

Re: Session Attribute strange behaviour

2006-01-12 Thread Marcelo Morales
Thanks Sorry, haven't look closely at his answer Marcelo : the refere header will give me back the last visited page i think or I want to retrieve the struts action that redirect to this page... I used this long long time ago and... frankly ... I don't remember. Just try it a

Re: Session Attribute strange behaviour

2006-01-11 Thread Marcelo Morales
deeper level) Forget the session and use the referer header on the http request. Yet, I wonder how that is going to work in redirect-after-post. Regards Marcelo Morales - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Back Button Problem..

2005-12-22 Thread Marcelo Morales
Hello again On Dec 22, 2005, at 3:27 PM, Priya Saloni wrote: Hi Marcelo, //You solve this issue with a redirtect-after-post hack on the logoff //action. Thats what iam doing in the following code.. request.getSession().removeAttribute("sessionState"); request.getSession().

Re: Back Button Problem..

2005-12-22 Thread Marcelo Morales
play the page like above.. Thanks Priya. Hope It helps Marcelo Morales - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What should I do with serializable classes?

2005-12-12 Thread marcelo
e http sessions in persistent storage therefore,... you get the picture Hope it helps. > > Sebastian > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands,

Re: Struts web app suddenly stops working when deployed...Help Please!

2005-12-09 Thread Marcelo Morales
using the exception (seems that it is in a index.jsp file). Regards Marcelo Morales On Dec 9, 2005, at 3:15 PM, O. Oke wrote: Help Please! BACKGROUND == Our struts web app works fine on our local (not on the internet) Tomcat server, but when we deploy it on the web based Tomcat serv

Re: Tag inside a cell.

2005-04-05 Thread Marcelo Epstein
Thanks Jeff, But it is not working. I inserted : table { empty-cells: show; } inside my css file. But the cells when the attribute of the bean is null still appears no border. :-( Any sugestion? Or sample code? Thanks in advance Marcelo Jeff Beal wrote: In CSS: table { empty-cells: show

Tag inside a cell.

2005-04-05 Thread Marcelo Epstein
Hi, When the attribute of an object is null, I always lost the border of the table.What is a good way to avoid it? ex: (when y = null, border seems strange!) Thanks in advance. Marcelo - To unsubscribe, e-mail: [EMAIL

Menu

2005-02-16 Thread Marcelo Epstein
Hi, I am developing a software for a company using struts. What is the best way to create the menus to navigate in the system? JSF? Simple HTML with javascript? Tag libraries? Thanks in advance, Marcelo Epstein - To unsubscribe

Re: Format Phone numbers using bean:write

2004-08-03 Thread Marcelo Epstein
AIL PROTECTED]> Sent: Tuesday, August 03, 2004 5:58 PM Subject: Re: Format Phone numbers using bean:write > Did you try to put the () in '' as in > > ="'('###')'###'-'"/> > > just a gue

Re: Format Phone numbers using bean:write

2004-08-03 Thread Marcelo Epstein
Hi, This is not working. foneCom1 is a String. Marcelo - Original Message - From: "Jim Barrows" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, August 03, 2004 4:10 PM Subject: RE: Format Phone numbers usin

Format Phone numbers using bean:write

2004-08-03 Thread Marcelo Epstein
Hi all, Is it possible to format a phone number stored in a String using tag ? I can format dates, but not Strings. Thanks in advance, Marcelo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [OT] Soccer portal released goal.com

2004-06-17 Thread Marcelo Epstein
I can´t believe, Goal.com don´t talk about the best soccer around the World. I sugest u to write about BRAZILIAN SOCCER. Maybe u will find how many "Ronaldo´s" we have here! 8-) GOOD JOB, Marcelo - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]>

Re: Action messages.

2004-06-03 Thread Marcelo Epstein
f > percent complete or something like that to display back to the browser. > > Obviously, if faking it is good enough, as it usually is in these cases, > that's by far the better choice. > > Frank > > >From: "Marcelo Epstein" <[EMAIL PROTECTED]> > &

and get...()

2004-06-03 Thread Marcelo Epstein
ck all values before printing? Is there a better way to do that? Thanks in advance, Marcelo

Action messages.

2004-06-03 Thread Marcelo Epstein
Hi, I have a Action that takes 10s to execute. Is there any way to display messages in the browser during execution? Thx, Marcelo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Manual reload struts-config.xml

2004-05-04 Thread Marcelo Epstein
Hi, How do I reload struts configuration file manualy without context restart? Thanks in advance, Marcelo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reporting Tool.

2004-04-14 Thread Marcelo Epstein
Hi, I need to create some reports in my application. Which is the best tool available to work with Struts? I read about JasperReports, is it the way to go with Struts? Thanks in advance. Marcelo - To unsubscribe, e-mail: [EMAIL

Re: Connection Pooling (How i use...)

2004-04-07 Thread Marcelo Epstein
Hi all, Closing all ResultSets, Statements, Connection in the finally block fixed my app that stops crashing. Thanks everybody... Marcelo On Wed, 07 Apr 2004 09:00:16 -0400, "Dean A. Hoover" <[EMAIL PROTECTED]> escreveu: > De: "Dean A. Hoover" <[EMAIL PROTECT

Re: Connection Pooling - Monitor

2004-04-06 Thread Marcelo Epstein
gt; > Data: Tue, 6 Apr 2004 10:54:06 -0700 (PDT) > Para: Struts Users Mailing List <[EMAIL PROTECTED]> > Assunto: Re: Connection Pooling - Monitor > > Marcelo, > The # of connections is determined by the value you > set when you defined your datasource. What is th

ORM Tools (Ibatis, Hibernate, OJB....)

2004-04-06 Thread Marcelo Epstein
Hi, Thanks everybody! Now I am convinced to use an ORM tool. The big problem is whitch one? Hibernate? Ibatis ?OJB? Whitch one is preferable to use with Struts?? Macelo Epstein On Tue, 06 Apr 2004 11:29:21 -0600, "Larry Meadors" <[EMAIL PROTECTED]> escreveu: > De: "Larry Meadors" <[EMAIL PRO

Connection Pooling - Monitor

2004-04-06 Thread Marcelo Epstein
Is it possible to know how many connection are in the pool ? Is there any monitor available? On Tue, 6 Apr 2004 14:15:34 -0300, "Marcelo Epstein" <[EMAIL PROTECTED]> escreveu: > De: "Marcelo Epstein" <[EMAIL PROTECTED]> > Data: Tue, 6 Apr 2004 14:15:

Re: Connection Pooling (How i use...)

2004-04-06 Thread Marcelo Epstein
Struts Users Mailing List <[EMAIL PROTECTED]> > Assunto: Re: Connection Pooling (How i use...) > > This your problem: closing the connection in your try block. Move it to a finally > block.. > > Marcelo Epstein wrote: > > > I use the pool like this: (IS IT WRONG??

Re: Connection Pooling

2004-04-06 Thread Marcelo Epstein
oReconnect=true parameter to pass through with the > url, but i think thats bollocks or at least didn't work with version3 > mysql drivers. > > On 6 Apr 2004, at 18:08, Marcelo Epstein wrote: > > > Hi, > > > > I have just started using Connection Pooling

Re: Connection Pooling (How i use...)

2004-04-06 Thread Marcelo Epstein
I have just started using Connection Pooling in my app (Tomcat, Struts, DBCP, > Mysql) . > It woks for about 20 hours and stop working until tomcat restart. > > I get this exception: > > org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool ex

Connection Pooling

2004-04-06 Thread Marcelo Epstein
: java.util.NoSuchElementException: Timeout waiting for idle object I can´t fix it. Any advice?? Thanks in advance. Marcelo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Dealing with large ResultSets??

2004-03-29 Thread Marcelo Epstein
Hi, How can I get more than 1000 rows of a table. I am using display tag and I really don´t want 1000+ Objects. What is the best practice to do that? Does ORM models like Hibernate, Ibatis and others can help me? Thanks in advance. Matiro. --