how can i make my pages sensetive to back and forward

2003-03-05 Thread Richard Raquepo
Help anyone...

how can i make my pages sensetive to back and forward?

i tried putting this in my html

 
 
 
 

but it does nothing. I've read that you have to used request.setHeader()
thing?

if so, how do i put in my action class?



thanks



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Servlet Mapping

2003-03-05 Thread Nicolas De Loof
> >i am trying to give servletmapping for the following URL
> >http://localhost:8080/context/test/0/
> >
> >in the above URL '0' is going to be changed dynamically depending
on the
> >link the user select.how i can give a servlet-mapping for such type
of URL
> >for the ActionServlet.
> >
> >is this possible to do like this.
> >

You can define in struts-config.xml a "unknown" action. This one can
use ServletPath to get your '0'.

Nico.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts IDE

2003-03-05 Thread Alok Garg
Jbulider8.0
and Eclipse
- Original Message -
From: "Buics" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 12:52 PM
Subject: struts IDE


> good day!
>
> anyone could suggest an IDE for struts rapid development?
>
> thank you in advance!
>
>
>






> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Java method size limitations

2003-03-05 Thread Kwok Peng Tuck
Were you iterating over  a collection ?  If so you could have used the 
logic:iterate tag to give you a hand . :)

I had that problem in a compiled JSP page (therefore, in the created 
servlet): a table with 150 rows and 8  columns (some 
financial data). 

The solution was to split the table into 3 files and in the first one just 
included the second and the third using . Now it works just 
fine.
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


struts IDE

2003-03-05 Thread Buics
good day!

anyone could suggest an IDE for struts rapid development?

thank you in advance!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Java method size limitations

2003-03-05 Thread Davor Cengija
Becky Norum wrote:

> This is FYI - it was an issue that came up when someone (not me!) had an
> 8500 line Java source file.  He got a "code too large for try statement"
> exception during compilation, which puzzled even some long term Java
> programmers.
> 
> Apparently, there is an upper limit of 64K (compiled) on java methods.
> (see
> 
http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#154)
> 
> The Java method bytecode code length is defined as an int (32-bit), but
> exception start/end blocks are defined by shorts (16-bit).  This limits
> the method length to 2^16=64K.
> 
> Hopefully, noone on this list will ever write a class that large, but in
> case you ever run across this..
> 

I had that problem in a compiled JSP page (therefore, in the created 
servlet): a table with 150 rows and 8  columns (some 
financial data). 

The solution was to split the table into 3 files and in the first one just 
included the second and the third using . Now it works just 
fine.
-- 
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how can i make my pages sensetive to back and forward

2003-03-05 Thread Richard Raquepo
Help anyone...

how can i make my pages sensetive to back and forward?

i tried putting this in my html

 
  
 
 

but it does nothing. I've read that you have to used request.setHeader() thing?

if so, how do i put in my action class?



thanks


RE: word wrap

2003-03-05 Thread John Devine
Well, without Struts, I've used "wrap=hard" in textareas and that seems
to do the wordwrapping trick.

It might be nice to be able to include such an attribute in


--John

-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 9:05 PM
To: [EMAIL PROTECTED]
Subject: Re: word wrap

Well, JavaMail has nothing to do with Struts and is easily learned
without a 
Struts example.  I'm not sure why you need a wordwrap feature in
JavaMail.  
The mail client is responsible for formatting the message to the screen
not 
the sender.

David

> > what do you mean with wordwrap ?
>What I mean is that the text part of an e-mail should wrap at 80
>characters just like my e-mail here does when I send it.  It seems
>to me like JavaMail should have a setting for this and seems very
>inconsistent that it does not, but obviously that is not the concern
>of this mailinglist.
>
>I guess I could do it manually, but I was just curious what other
>people around here used to send e-mail.  I personally believe that
>the struts examples should have a case where e-mail is sent since
>every web application on the planet has to send e-mail at one time
>or another.  It is almost as important as understanding how to use
>forms, and I see almost no documentation on how one would use
>JavaMail with Struts.
>
>I would be glad to slap together an example once I figure this out.
>
>Dan
>
>--
>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>Daniel Allen, <[EMAIL PROTECTED]>
>http://www.mojavelinux.com/
>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>Microsoft's Law of Software Engineering:
>Don't worry if it doesn't work right.
>If everything did, we'd be out of a job.
>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: URL Validation with Struts validator

2003-03-05 Thread Rob Leland
Greg Hess wrote:

I was looking at that but the RFC compliant Regex I found needs to split
the string up and examine each segment separately. 

Could you send me the URL where I can get the RFC compliant Regex,
or e-mail me directly ?
It would have to make the port optional, and with that I can finish
the Validator extension and submit it a patch to the commons-validator,
and include the Struts part as a 1.2, more likely a 1.3 enhancement to 
struts.

-Rob

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: URL Validation with Struts validator

2003-03-05 Thread Rob Leland
I started coding a URL client/server side validation 2 weeks ago,
that I hope to contribute to the Validation framework.
I put it on hold while getting other work finished before going on vacation.
I modeled it on the email validation items, and used the w3.org definition
of  A URI to write the validation code. If all elements are there my code
can tell if it is a valid URL, however I can't figure out when testing
for a URL regular expression pattern how to make some items optional,
it may not be possible, any Perl/PHP people out there ?
The Unit tests I created are extensive and test all possible 
combinations, but
take almost a 2 minutes to complete :( !

I have just come back from vacation and hope to have it finished by next 
week.
If you want a quick and dirty method then go to javascript.com and look 
for some
of their URL validations items, turning them into Java is easy to achieve
using the ORO package.



David Graham wrote:

What is URL validation?

David

From: "Greg Hess" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts" <[EMAIL PROTECTED]>
Subject: URL Validation with Struts validator
Date: Wed, 5 Mar 2003 16:53:36 -0500
Hi All,

Has anyone implemented URL validation for Struts validator? Can you
share?
Thanks,

Greg



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: [OT] Big Brother was:Can be used for editable fields?

2003-03-05 Thread James Mitchell
Oh wait, we better stop now, since this might be construed as "typical
James and David behavior".



--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)




> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 06, 2003 12:06 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Can  be used for editable fields?
> 
> 
> LOL
> 
> --
> James Mitchell
> Web Developer/Struts Evangelist
> http://jakarta.apache.org/struts/
> 
> "People demand freedom of speech to make up for the freedom of thought
> which they avoid."
> - Soren Aabye Kierkegaard (1813-1855)
> 
> 
> > -Original Message-
> > From: David Graham [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, March 06, 2003 12:05 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Can  be used for editable fields?
> > 
> > 
> > Highly likely.  Seems that Apache's accounting department 
> > needs some work.
> > 
> > David *no we're not* Graham
> > 
> > >
> > >I sent off for auto-deposit, but I haven't received a reply
> > >yethrmcould this be related to the mail mix-up?
> > >
> > >
> > >--
> > >James "we are kidding" Mitchell
> > >Web Developer/Struts Evangelist
> > >http://jakarta.apache.org/struts/
> > >
> > >"People demand freedom of speech to make up for the freedom 
> > of thought
> > >which they avoid."
> > > - Soren Aabye Kierkegaard (1813-1855)
> > >
> > >
> > >
> > >
> > > > -Original Message-
> > > > From: David Graham [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, March 05, 2003 11:49 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: Can  be used for editable fields?
> > > >
> > > >
> > > > My checks from Apache must have been lost in the mail.
> > > >
> > > > David
> > > >
> > > >
> > > > >Ya right, I'm in it for the money ;D
> > > > >
> > > > >
> > > > >--
> > > > >James Mitchell
> > > > >Web Developer/Struts Evangelist
> > > > >http://jakarta.apache.org/struts/
> > > > >
> > > > >"People demand freedom of speech to make up for the freedom
> > > > of thought
> > > > >which they avoid."
> > > > > - Soren Aabye Kierkegaard (1813-1855)
> > > > >
> > > > >
> > > > > > -Original Message-
> > > > > > From: David Graham [mailto:[EMAIL PROTECTED]
> > > > > > Sent: Wednesday, March 05, 2003 11:32 PM
> > > > > > To: [EMAIL PROTECTED]
> > > > > > Subject: Re: Can  be used for 
> editable fields?
> > > > > >
> > > > > >
> > > > > > You're not disturbing anyone on the list :-).  We're here
> > > > > > because we want
> > > > > > to, not because we have to.
> > > > > >
> > > > > > David
> > > > > >
> > > > > >
> > > > > >
> > > > > > >From: "Samit Goyal" <[EMAIL PROTECTED]>
> > > > > > >Reply-To: "Struts Users Mailing List"
> > > > > > <[EMAIL PROTECTED]>
> > > > > > >To: "Struts Users Mailing List" 
> > <[EMAIL PROTECTED]>
> > > > > > >Subject: Re: Can  be used for 
> editable fields?
> > > > > > >Date: Thu, 6 Mar 2003 10:10:11 +0530
> > > > > > >
> > > > > > >
> > > > > > >Thanks a lot David . You solved my big problem.
> > > > > > >
> > > > > > >I will try this out...hope i wont need to disturb 
> > you again :-)
> > > > > > >
> > > > > > >Thanks again.,
> > > > > > >Samit
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >- Original Message -
> > > > > > >From: "David Graham" <[EMAIL PROTECTED]>
> > > > > > >To: <[EMAIL PROTECTED]>
> > > > > > >Sent: Thursday, March 06, 2003 9:48 AM
> > > > > > >Subject: Re: Can  be used for 
> editable fields?
> > > > > > >
> > > > > > >
> > > > > > > > Simply put an  tag inside your 
> iteration.  All
> > > > > > your text
> > > > > > >inputs
> > > > > > > > will be the same name so you need a String[] variable in
> > > > > > your form bean
> > > > > > >to
> > > > > > > > hold all of the entries.
> > > > > > > >
> > > > > > > > David
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > >From: "Samit Goyal" <[EMAIL PROTECTED]>
> > > > > > > > >Reply-To: "Struts Users Mailing List"
> > > > > > <[EMAIL PROTECTED]>
> > > > > > > > >To: "strtus list" <[EMAIL PROTECTED]>
> > > > > > > > >Subject: Can  be used for 
> editable fields?
> > > > > > > > >Date: Thu, 6 Mar 2003 09:57:25 +0530
> > > > > > > > >
> > > > > > > > >Hi all,
> > > > > > > > >
> > > > > > > > >I am forwarding again this mail to you all, Since i
> > > > > > didnt get any
> > > > > > >reply.
> > > > > > > > >May
> > > > > > > > >be that my problem was not clear. I am putting this
> > > > again in a
> > > > > > >different
> > > > > > > > >way.
> > > > > > > > >
> > > > > > > > >I konw how to display the list of un-editable 
> > fields by using
> > > > > > > > > but i want to display list of Editable
> > > > > > fields, so that
> > > > > > >upon
> > > > > > > > >submission of the form, all the user enterd 
> values shall
> > > > > > be stored in
> > > > > > >some
> > > > > > > > >form bean v

RE: Accepting arrays as values in mapped-backed ActionForms

2003-03-05 Thread John Devine
Sometimes the promise (or threat) of someone looking over your shoulder
is help enough :) I might not have figured it out otherwise. 

Thanks for the interest anyway.

JD

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 6:12 PM
To: 'Struts Users Mailing List'
Subject: RE: Accepting arrays as values in mapped-backed ActionForms

Wow, I'm glad I could help ;D


--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)




> -Original Message-
> From: John Devine [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 05, 2003 3:34 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> 
> 
> Solved:
> 
> On the form bean I now include:
> 
>public String[] getExGroups(String key){
>   return (String[]) existingGroups.get(key);
>}
> 
>public void setExGroups(String key, String[] values){
>   existingGroups.put(key,values);
>}
> 
> and use exGroups(primaryKey) as the multibox property.
> 
> I had tried something similar earlier but I had 
> 
>public Object getExGroups(String key){
>   return existingGroups.get(key);
>}
> 
>public void setExGroups(String key, Object values){
>   existingGroups.put(key,values);
>}
> 
> which I had seen in another example and that accepted only the first
> input from each of the rows of checkboxes as a String and ignored the
> others.
> 
> If you have similar examples that can do the job more elegantly (or
> differently even), I'd love to see them. Ideas can only help.
> 
> 
> -- John
> 
> 
> 
> -Original Message-
> From: John Devine [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 05, 2003 2:10 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> 
> Okay, yes the actual business process is not very well explained.
> Probably I should have used generic object names, but since it's
> started:
> 
> I have a bunch of "story" objects.
> Each story object can belong to 0 or more groups.
> 
> The functionality of this page is to show the user which groups their
> stories belong to as well as to change the groups to which each story
> belongs.
> 
> So the user can page through the list of her stories 
> (generated through
> the search bean, which is actually an attribute on the ActionForm Bean
> (submitToGroupForm)). For each list of 10 stories, the 
> submitToGroupForm
> sets up a map called "existingGroups" which contains a String array of
> the group id's associated with each story. 
> 
> "availableGroups" is an array of String group id's put into
> actionFormBean which contains all the groups the user has 
> permission to
> access.
> 
> So, in addition to the regular info on each story (title, id, plus the
> tile "storyDetailswithBlurb.jsp"), the generated page is a matrix of
> checkboxes:
> One row of "availableGroups" checkboxes for each story.
> 
> The idea was to use the map on the actionForm to receive changes to
> groups, with the key of the map being the storyId, and the value being
> the array of groups Id's that were checked off for each story. Then my
> Action will pass that info off to a bean that will do the 
> reassignment.
> 
> 
> 
> 
> 
> 
> 
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 05, 2003 4:22 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> 
> Ok, I've had time to look over your notes.
> 
> I may be missing some pieces to the puzzle here.
> 
> If I understand you correctly, you've got a bean (searchBean) 
> that has a
> List of Story beans, each with id and title.
> 
> You have a formbean (submitToGroupForm) that returns a Map of Groups
> (getExistingGroups) keyed off of the id from an iteration of the first
> bean (searchBean).
> 
> Is this correct so far?
> Which bean is the form associated with this action? (I am assuming
> submitToGroupForm)
> Why do you iterate over the formbean, then iterate over a 
> field on that
> bean?
> 
> Can you post more details on what you are wanting to accomplish here?
> 
> 
> 
> --
> James Mitchell
> Web Developer/Struts Evangelist
> http://jakarta.apache.org/struts/
> 
> "People demand freedom of speech to make up for the freedom of thought
> which they avoid."
> - Soren Aabye Kierkegaard (1813-1855)
> 
> 
> 
> 
> > -Original Message-
> > From: James Mitchell [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, March 04, 2003 6:38 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> > 
> > 
> > John, sorry for not getting back sooner.  I've been in 
> meetings since
> > lunch.  I'll see what I can work up tonight.
> > 
> > 
> > --
> > James Mitchell
> > Web D

RE: Can be used for editable fields?

2003-03-05 Thread Mohan Radhakrishnan

   Actually I am in this for the ... The way my manager is glaring
at me today. I better be part of it and find something.

Mohan

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 10:36 AM
To: 'Struts Users Mailing List'
Subject: RE: Can  be used for editable fields?


LOL

--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)


> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 06, 2003 12:05 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Can  be used for editable fields?
> 
> 
> Highly likely.  Seems that Apache's accounting department 
> needs some work.
> 
> David *no we're not* Graham
> 
> >
> >I sent off for auto-deposit, but I haven't received a reply
> >yethrmcould this be related to the mail mix-up?
> >
> >
> >--
> >James "we are kidding" Mitchell
> >Web Developer/Struts Evangelist
> >http://jakarta.apache.org/struts/
> >
> >"People demand freedom of speech to make up for the freedom 
> of thought
> >which they avoid."
> > - Soren Aabye Kierkegaard (1813-1855)
> >
> >
> >
> >
> > > -Original Message-
> > > From: David Graham [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 05, 2003 11:49 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Can  be used for editable fields?
> > >
> > >
> > > My checks from Apache must have been lost in the mail.
> > >
> > > David
> > >
> > >
> > > >Ya right, I'm in it for the money ;D
> > > >
> > > >
> > > >--
> > > >James Mitchell
> > > >Web Developer/Struts Evangelist
> > > >http://jakarta.apache.org/struts/
> > > >
> > > >"People demand freedom of speech to make up for the freedom
> > > of thought
> > > >which they avoid."
> > > > - Soren Aabye Kierkegaard (1813-1855)
> > > >
> > > >
> > > > > -Original Message-
> > > > > From: David Graham [mailto:[EMAIL PROTECTED]
> > > > > Sent: Wednesday, March 05, 2003 11:32 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: Re: Can  be used for editable fields?
> > > > >
> > > > >
> > > > > You're not disturbing anyone on the list :-).  We're here
> > > > > because we want
> > > > > to, not because we have to.
> > > > >
> > > > > David
> > > > >
> > > > >
> > > > >
> > > > > >From: "Samit Goyal" <[EMAIL PROTECTED]>
> > > > > >Reply-To: "Struts Users Mailing List"
> > > > > <[EMAIL PROTECTED]>
> > > > > >To: "Struts Users Mailing List" 
> <[EMAIL PROTECTED]>
> > > > > >Subject: Re: Can  be used for editable fields?
> > > > > >Date: Thu, 6 Mar 2003 10:10:11 +0530
> > > > > >
> > > > > >
> > > > > >Thanks a lot David . You solved my big problem.
> > > > > >
> > > > > >I will try this out...hope i wont need to disturb 
> you again :-)
> > > > > >
> > > > > >Thanks again.,
> > > > > >Samit
> > > > > >
> > > > > >
> > > > > >
> > > > > >- Original Message -
> > > > > >From: "David Graham" <[EMAIL PROTECTED]>
> > > > > >To: <[EMAIL PROTECTED]>
> > > > > >Sent: Thursday, March 06, 2003 9:48 AM
> > > > > >Subject: Re: Can  be used for editable fields?
> > > > > >
> > > > > >
> > > > > > > Simply put an  tag inside your iteration.  All
> > > > > your text
> > > > > >inputs
> > > > > > > will be the same name so you need a String[] variable in
> > > > > your form bean
> > > > > >to
> > > > > > > hold all of the entries.
> > > > > > >
> > > > > > > David
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >From: "Samit Goyal" <[EMAIL PROTECTED]>
> > > > > > > >Reply-To: "Struts Users Mailing List"
> > > > > <[EMAIL PROTECTED]>
> > > > > > > >To: "strtus list" <[EMAIL PROTECTED]>
> > > > > > > >Subject: Can  be used for editable fields?
> > > > > > > >Date: Thu, 6 Mar 2003 09:57:25 +0530
> > > > > > > >
> > > > > > > >Hi all,
> > > > > > > >
> > > > > > > >I am forwarding again this mail to you all, Since i
> > > > > didnt get any
> > > > > >reply.
> > > > > > > >May
> > > > > > > >be that my problem was not clear. I am putting this
> > > again in a
> > > > > >different
> > > > > > > >way.
> > > > > > > >
> > > > > > > >I konw how to display the list of un-editable 
> fields by using
> > > > > > > > but i want to display list of Editable
> > > > > fields, so that
> > > > > >upon
> > > > > > > >submission of the form, all the user enterd values shall
> > > > > be stored in
> > > > > >some
> > > > > > > >form bean variable!
> > > > > > > >
> > > > > > > >What's the easiest way out. i dont want to create a
> > > > > different variable
> > > > > >in
> > > > > > > >the form bean for each individual text field displayed
> > > > > on the screen.
> > > > > > > >
> > > > > > > >Please excuse me for what may be a stupid question for
> > > > > you! but I am
> > > > > >new
> > > > > >to
> > > > > > > >the struts and desperately looking for the solution.
> > > > > > > >
> > > > > > > >Regards,
> > > > > > > >Samit
> > > > > > >

RE: Can be used for editable fields?

2003-03-05 Thread James Mitchell
LOL

--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)


> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 06, 2003 12:05 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Can  be used for editable fields?
> 
> 
> Highly likely.  Seems that Apache's accounting department 
> needs some work.
> 
> David *no we're not* Graham
> 
> >
> >I sent off for auto-deposit, but I haven't received a reply
> >yethrmcould this be related to the mail mix-up?
> >
> >
> >--
> >James "we are kidding" Mitchell
> >Web Developer/Struts Evangelist
> >http://jakarta.apache.org/struts/
> >
> >"People demand freedom of speech to make up for the freedom 
> of thought
> >which they avoid."
> > - Soren Aabye Kierkegaard (1813-1855)
> >
> >
> >
> >
> > > -Original Message-
> > > From: David Graham [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 05, 2003 11:49 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Can  be used for editable fields?
> > >
> > >
> > > My checks from Apache must have been lost in the mail.
> > >
> > > David
> > >
> > >
> > > >Ya right, I'm in it for the money ;D
> > > >
> > > >
> > > >--
> > > >James Mitchell
> > > >Web Developer/Struts Evangelist
> > > >http://jakarta.apache.org/struts/
> > > >
> > > >"People demand freedom of speech to make up for the freedom
> > > of thought
> > > >which they avoid."
> > > > - Soren Aabye Kierkegaard (1813-1855)
> > > >
> > > >
> > > > > -Original Message-
> > > > > From: David Graham [mailto:[EMAIL PROTECTED]
> > > > > Sent: Wednesday, March 05, 2003 11:32 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: Re: Can  be used for editable fields?
> > > > >
> > > > >
> > > > > You're not disturbing anyone on the list :-).  We're here
> > > > > because we want
> > > > > to, not because we have to.
> > > > >
> > > > > David
> > > > >
> > > > >
> > > > >
> > > > > >From: "Samit Goyal" <[EMAIL PROTECTED]>
> > > > > >Reply-To: "Struts Users Mailing List"
> > > > > <[EMAIL PROTECTED]>
> > > > > >To: "Struts Users Mailing List" 
> <[EMAIL PROTECTED]>
> > > > > >Subject: Re: Can  be used for editable fields?
> > > > > >Date: Thu, 6 Mar 2003 10:10:11 +0530
> > > > > >
> > > > > >
> > > > > >Thanks a lot David . You solved my big problem.
> > > > > >
> > > > > >I will try this out...hope i wont need to disturb 
> you again :-)
> > > > > >
> > > > > >Thanks again.,
> > > > > >Samit
> > > > > >
> > > > > >
> > > > > >
> > > > > >- Original Message -
> > > > > >From: "David Graham" <[EMAIL PROTECTED]>
> > > > > >To: <[EMAIL PROTECTED]>
> > > > > >Sent: Thursday, March 06, 2003 9:48 AM
> > > > > >Subject: Re: Can  be used for editable fields?
> > > > > >
> > > > > >
> > > > > > > Simply put an  tag inside your iteration.  All
> > > > > your text
> > > > > >inputs
> > > > > > > will be the same name so you need a String[] variable in
> > > > > your form bean
> > > > > >to
> > > > > > > hold all of the entries.
> > > > > > >
> > > > > > > David
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >From: "Samit Goyal" <[EMAIL PROTECTED]>
> > > > > > > >Reply-To: "Struts Users Mailing List"
> > > > > <[EMAIL PROTECTED]>
> > > > > > > >To: "strtus list" <[EMAIL PROTECTED]>
> > > > > > > >Subject: Can  be used for editable fields?
> > > > > > > >Date: Thu, 6 Mar 2003 09:57:25 +0530
> > > > > > > >
> > > > > > > >Hi all,
> > > > > > > >
> > > > > > > >I am forwarding again this mail to you all, Since i
> > > > > didnt get any
> > > > > >reply.
> > > > > > > >May
> > > > > > > >be that my problem was not clear. I am putting this
> > > again in a
> > > > > >different
> > > > > > > >way.
> > > > > > > >
> > > > > > > >I konw how to display the list of un-editable 
> fields by using
> > > > > > > > but i want to display list of Editable
> > > > > fields, so that
> > > > > >upon
> > > > > > > >submission of the form, all the user enterd values shall
> > > > > be stored in
> > > > > >some
> > > > > > > >form bean variable!
> > > > > > > >
> > > > > > > >What's the easiest way out. i dont want to create a
> > > > > different variable
> > > > > >in
> > > > > > > >the form bean for each individual text field displayed
> > > > > on the screen.
> > > > > > > >
> > > > > > > >Please excuse me for what may be a stupid question for
> > > > > you! but I am
> > > > > >new
> > > > > >to
> > > > > > > >the struts and desperately looking for the solution.
> > > > > > > >
> > > > > > > >Regards,
> > > > > > > >Samit
> > > > > > > >
> > > > > > > >
> > > > > > > > > Hi all,
> > > > > > > > >
> > > > > > > > > I am having a JSP which contains 12 rows of editable
> > > > > fields. The
> > > > > >each
> > > > > > > >row
> > > > > > > > > contains same type of editable fields.
> > > > > > > > >
> > > > > > > > > Now, how shall i handle it in the Form Bean.
> > > 

RE: Can be used for editable fields?

2003-03-05 Thread David Graham
Highly likely.  Seems that Apache's accounting department needs some work.

David *no we're not* Graham

I sent off for auto-deposit, but I haven't received a reply
yethrmcould this be related to the mail mix-up?
--
James "we are kidding" Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/
"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)


> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 11:49 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Can  be used for editable fields?
>
>
> My checks from Apache must have been lost in the mail.
>
> David
>
>
> >Ya right, I'm in it for the money ;D
> >
> >
> >--
> >James Mitchell
> >Web Developer/Struts Evangelist
> >http://jakarta.apache.org/struts/
> >
> >"People demand freedom of speech to make up for the freedom
> of thought
> >which they avoid."
> > - Soren Aabye Kierkegaard (1813-1855)
> >
> >
> > > -Original Message-
> > > From: David Graham [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 05, 2003 11:32 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Can  be used for editable fields?
> > >
> > >
> > > You're not disturbing anyone on the list :-).  We're here
> > > because we want
> > > to, not because we have to.
> > >
> > > David
> > >
> > >
> > >
> > > >From: "Samit Goyal" <[EMAIL PROTECTED]>
> > > >Reply-To: "Struts Users Mailing List"
> > > <[EMAIL PROTECTED]>
> > > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > > >Subject: Re: Can  be used for editable fields?
> > > >Date: Thu, 6 Mar 2003 10:10:11 +0530
> > > >
> > > >
> > > >Thanks a lot David . You solved my big problem.
> > > >
> > > >I will try this out...hope i wont need to disturb you again :-)
> > > >
> > > >Thanks again.,
> > > >Samit
> > > >
> > > >
> > > >
> > > >- Original Message -
> > > >From: "David Graham" <[EMAIL PROTECTED]>
> > > >To: <[EMAIL PROTECTED]>
> > > >Sent: Thursday, March 06, 2003 9:48 AM
> > > >Subject: Re: Can  be used for editable fields?
> > > >
> > > >
> > > > > Simply put an  tag inside your iteration.  All
> > > your text
> > > >inputs
> > > > > will be the same name so you need a String[] variable in
> > > your form bean
> > > >to
> > > > > hold all of the entries.
> > > > >
> > > > > David
> > > > >
> > > > >
> > > > >
> > > > > >From: "Samit Goyal" <[EMAIL PROTECTED]>
> > > > > >Reply-To: "Struts Users Mailing List"
> > > <[EMAIL PROTECTED]>
> > > > > >To: "strtus list" <[EMAIL PROTECTED]>
> > > > > >Subject: Can  be used for editable fields?
> > > > > >Date: Thu, 6 Mar 2003 09:57:25 +0530
> > > > > >
> > > > > >Hi all,
> > > > > >
> > > > > >I am forwarding again this mail to you all, Since i
> > > didnt get any
> > > >reply.
> > > > > >May
> > > > > >be that my problem was not clear. I am putting this
> again in a
> > > >different
> > > > > >way.
> > > > > >
> > > > > >I konw how to display the list of un-editable fields by using
> > > > > > but i want to display list of Editable
> > > fields, so that
> > > >upon
> > > > > >submission of the form, all the user enterd values shall
> > > be stored in
> > > >some
> > > > > >form bean variable!
> > > > > >
> > > > > >What's the easiest way out. i dont want to create a
> > > different variable
> > > >in
> > > > > >the form bean for each individual text field displayed
> > > on the screen.
> > > > > >
> > > > > >Please excuse me for what may be a stupid question for
> > > you! but I am
> > > >new
> > > >to
> > > > > >the struts and desperately looking for the solution.
> > > > > >
> > > > > >Regards,
> > > > > >Samit
> > > > > >
> > > > > >
> > > > > > > Hi all,
> > > > > > >
> > > > > > > I am having a JSP which contains 12 rows of editable
> > > fields. The
> > > >each
> > > > > >row
> > > > > > > contains same type of editable fields.
> > > > > > >
> > > > > > > Now, how shall i handle it in the Form Bean.
> Shall i create 12
> > > >different
> > > > > > > fields for each row or can I use Array/List for that.
> > > > > > >
> > > > > > > Will struts set the fields in the Array Object of
> form bean
> > > > > >automatically??
> > > > > > >
> > > > > > > Thanks in Advance.
> > > > > > > Regards,
> > > > > > > samit
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > >
> >-
> > > > > >To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > > >For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > > >
> > > > >
> > > > >
> _
> > > > > Tired of spam? Get advanced junk mail protection with MSN 8.
> > > > > http://join.msn.com/?page=features/junkmail
> > > > >
> > > > >
> > > > >
> > >
> -
> > > > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > > [EMAIL PROT

RE: Can be used for editable fields?

2003-03-05 Thread James Mitchell
I sent off for auto-deposit, but I haven't received a reply
yethrmcould this be related to the mail mix-up?


--
James "we are kidding" Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)




> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 05, 2003 11:49 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Can  be used for editable fields?
> 
> 
> My checks from Apache must have been lost in the mail.
> 
> David
> 
> 
> >Ya right, I'm in it for the money ;D
> >
> >
> >--
> >James Mitchell
> >Web Developer/Struts Evangelist
> >http://jakarta.apache.org/struts/
> >
> >"People demand freedom of speech to make up for the freedom 
> of thought
> >which they avoid."
> > - Soren Aabye Kierkegaard (1813-1855)
> >
> >
> > > -Original Message-
> > > From: David Graham [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 05, 2003 11:32 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Can  be used for editable fields?
> > >
> > >
> > > You're not disturbing anyone on the list :-).  We're here
> > > because we want
> > > to, not because we have to.
> > >
> > > David
> > >
> > >
> > >
> > > >From: "Samit Goyal" <[EMAIL PROTECTED]>
> > > >Reply-To: "Struts Users Mailing List"
> > > <[EMAIL PROTECTED]>
> > > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > > >Subject: Re: Can  be used for editable fields?
> > > >Date: Thu, 6 Mar 2003 10:10:11 +0530
> > > >
> > > >
> > > >Thanks a lot David . You solved my big problem.
> > > >
> > > >I will try this out...hope i wont need to disturb you again :-)
> > > >
> > > >Thanks again.,
> > > >Samit
> > > >
> > > >
> > > >
> > > >- Original Message -
> > > >From: "David Graham" <[EMAIL PROTECTED]>
> > > >To: <[EMAIL PROTECTED]>
> > > >Sent: Thursday, March 06, 2003 9:48 AM
> > > >Subject: Re: Can  be used for editable fields?
> > > >
> > > >
> > > > > Simply put an  tag inside your iteration.  All
> > > your text
> > > >inputs
> > > > > will be the same name so you need a String[] variable in
> > > your form bean
> > > >to
> > > > > hold all of the entries.
> > > > >
> > > > > David
> > > > >
> > > > >
> > > > >
> > > > > >From: "Samit Goyal" <[EMAIL PROTECTED]>
> > > > > >Reply-To: "Struts Users Mailing List"
> > > <[EMAIL PROTECTED]>
> > > > > >To: "strtus list" <[EMAIL PROTECTED]>
> > > > > >Subject: Can  be used for editable fields?
> > > > > >Date: Thu, 6 Mar 2003 09:57:25 +0530
> > > > > >
> > > > > >Hi all,
> > > > > >
> > > > > >I am forwarding again this mail to you all, Since i
> > > didnt get any
> > > >reply.
> > > > > >May
> > > > > >be that my problem was not clear. I am putting this 
> again in a
> > > >different
> > > > > >way.
> > > > > >
> > > > > >I konw how to display the list of un-editable fields by using
> > > > > > but i want to display list of Editable
> > > fields, so that
> > > >upon
> > > > > >submission of the form, all the user enterd values shall
> > > be stored in
> > > >some
> > > > > >form bean variable!
> > > > > >
> > > > > >What's the easiest way out. i dont want to create a
> > > different variable
> > > >in
> > > > > >the form bean for each individual text field displayed
> > > on the screen.
> > > > > >
> > > > > >Please excuse me for what may be a stupid question for
> > > you! but I am
> > > >new
> > > >to
> > > > > >the struts and desperately looking for the solution.
> > > > > >
> > > > > >Regards,
> > > > > >Samit
> > > > > >
> > > > > >
> > > > > > > Hi all,
> > > > > > >
> > > > > > > I am having a JSP which contains 12 rows of editable
> > > fields. The
> > > >each
> > > > > >row
> > > > > > > contains same type of editable fields.
> > > > > > >
> > > > > > > Now, how shall i handle it in the Form Bean. 
> Shall i create 12
> > > >different
> > > > > > > fields for each row or can I use Array/List for that.
> > > > > > >
> > > > > > > Will struts set the fields in the Array Object of 
> form bean
> > > > > >automatically??
> > > > > > >
> > > > > > > Thanks in Advance.
> > > > > > > Regards,
> > > > > > > samit
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > 
> >-
> > > > > >To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > > >For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > > >
> > > > >
> > > > > 
> _
> > > > > Tired of spam? Get advanced junk mail protection with MSN 8.
> > > > > http://join.msn.com/?page=features/junkmail
> > > > >
> > > > >
> > > > >
> > > 
> -
> > > > > To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > >
> > > >
> > > 
> >-

RE: Can be used for editable fields?

2003-03-05 Thread Andrew Hill
Im just here for [FRIDAY] threads :-)

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Thursday, 6 March 2003 12:46
To: 'Struts Users Mailing List'
Subject: RE: Can  be used for editable fields?


Ya right, I'm in it for the money ;D


--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)


> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 05, 2003 11:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Can  be used for editable fields?
> 
> 
> You're not disturbing anyone on the list :-).  We're here 
> because we want 
> to, not because we have to.
> 
> David
> 
> 
> 
> >From: "Samit Goyal" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" 
> <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Subject: Re: Can  be used for editable fields?
> >Date: Thu, 6 Mar 2003 10:10:11 +0530
> >
> >
> >Thanks a lot David . You solved my big problem.
> >
> >I will try this out...hope i wont need to disturb you again :-)
> >
> >Thanks again.,
> >Samit
> >
> >
> >
> >- Original Message -
> >From: "David Graham" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Thursday, March 06, 2003 9:48 AM
> >Subject: Re: Can  be used for editable fields?
> >
> >
> > > Simply put an  tag inside your iteration.  All 
> your text 
> >inputs
> > > will be the same name so you need a String[] variable in 
> your form bean 
> >to
> > > hold all of the entries.
> > >
> > > David
> > >
> > >
> > >
> > > >From: "Samit Goyal" <[EMAIL PROTECTED]>
> > > >Reply-To: "Struts Users Mailing List" 
> <[EMAIL PROTECTED]>
> > > >To: "strtus list" <[EMAIL PROTECTED]>
> > > >Subject: Can  be used for editable fields?
> > > >Date: Thu, 6 Mar 2003 09:57:25 +0530
> > > >
> > > >Hi all,
> > > >
> > > >I am forwarding again this mail to you all, Since i 
> didnt get any 
> >reply.
> > > >May
> > > >be that my problem was not clear. I am putting this again in a 
> >different
> > > >way.
> > > >
> > > >I konw how to display the list of un-editable fields by using
> > > > but i want to display list of Editable 
> fields, so that
> >upon
> > > >submission of the form, all the user enterd values shall 
> be stored in
> >some
> > > >form bean variable!
> > > >
> > > >What's the easiest way out. i dont want to create a 
> different variable 
> >in
> > > >the form bean for each individual text field displayed 
> on the screen.
> > > >
> > > >Please excuse me for what may be a stupid question for 
> you! but I am 
> >new
> >to
> > > >the struts and desperately looking for the solution.
> > > >
> > > >Regards,
> > > >Samit
> > > >
> > > >
> > > > > Hi all,
> > > > >
> > > > > I am having a JSP which contains 12 rows of editable 
> fields. The 
> >each
> > > >row
> > > > > contains same type of editable fields.
> > > > >
> > > > > Now, how shall i handle it in the Form Bean. Shall i create 12
> >different
> > > > > fields for each row or can I use Array/List for that.
> > > > >
> > > > > Will struts set the fields in the Array Object of form bean
> > > >automatically??
> > > > >
> > > > > Thanks in Advance.
> > > > > Regards,
> > > > > samit
> > > > >
> > > > >
> > > >
> > > >
> > > 
> >-
> > > >To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > >For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > >
> > >
> > > _
> > > Tired of spam? Get advanced junk mail protection with MSN 8.
> > > http://join.msn.com/?page=features/junkmail
> > >
> > >
> > > 
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> _
> Add photos to your messages with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Can be used for editable fields?

2003-03-05 Thread David Graham
My checks from Apache must have been lost in the mail.

David


Ya right, I'm in it for the money ;D

--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/
"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 11:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Can  be used for editable fields?
>
>
> You're not disturbing anyone on the list :-).  We're here
> because we want
> to, not because we have to.
>
> David
>
>
>
> >From: "Samit Goyal" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Subject: Re: Can  be used for editable fields?
> >Date: Thu, 6 Mar 2003 10:10:11 +0530
> >
> >
> >Thanks a lot David . You solved my big problem.
> >
> >I will try this out...hope i wont need to disturb you again :-)
> >
> >Thanks again.,
> >Samit
> >
> >
> >
> >- Original Message -
> >From: "David Graham" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Thursday, March 06, 2003 9:48 AM
> >Subject: Re: Can  be used for editable fields?
> >
> >
> > > Simply put an  tag inside your iteration.  All
> your text
> >inputs
> > > will be the same name so you need a String[] variable in
> your form bean
> >to
> > > hold all of the entries.
> > >
> > > David
> > >
> > >
> > >
> > > >From: "Samit Goyal" <[EMAIL PROTECTED]>
> > > >Reply-To: "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
> > > >To: "strtus list" <[EMAIL PROTECTED]>
> > > >Subject: Can  be used for editable fields?
> > > >Date: Thu, 6 Mar 2003 09:57:25 +0530
> > > >
> > > >Hi all,
> > > >
> > > >I am forwarding again this mail to you all, Since i
> didnt get any
> >reply.
> > > >May
> > > >be that my problem was not clear. I am putting this again in a
> >different
> > > >way.
> > > >
> > > >I konw how to display the list of un-editable fields by using
> > > > but i want to display list of Editable
> fields, so that
> >upon
> > > >submission of the form, all the user enterd values shall
> be stored in
> >some
> > > >form bean variable!
> > > >
> > > >What's the easiest way out. i dont want to create a
> different variable
> >in
> > > >the form bean for each individual text field displayed
> on the screen.
> > > >
> > > >Please excuse me for what may be a stupid question for
> you! but I am
> >new
> >to
> > > >the struts and desperately looking for the solution.
> > > >
> > > >Regards,
> > > >Samit
> > > >
> > > >
> > > > > Hi all,
> > > > >
> > > > > I am having a JSP which contains 12 rows of editable
> fields. The
> >each
> > > >row
> > > > > contains same type of editable fields.
> > > > >
> > > > > Now, how shall i handle it in the Form Bean. Shall i create 12
> >different
> > > > > fields for each row or can I use Array/List for that.
> > > > >
> > > > > Will struts set the fields in the Array Object of form bean
> > > >automatically??
> > > > >
> > > > > Thanks in Advance.
> > > > > Regards,
> > > > > samit
> > > > >
> > > > >
> > > >
> > > >
> > >
> >-
> > > >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > >For additional commands, e-mail:
> [EMAIL PROTECTED]
> > >
> > >
> > > _
> > > Tired of spam? Get advanced junk mail protection with MSN 8.
> > > http://join.msn.com/?page=features/junkmail
> > >
> > >
> > >
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> _
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Can be used for editable fields?

2003-03-05 Thread James Mitchell
Ya right, I'm in it for the money ;D


--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)


> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 05, 2003 11:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Can  be used for editable fields?
> 
> 
> You're not disturbing anyone on the list :-).  We're here 
> because we want 
> to, not because we have to.
> 
> David
> 
> 
> 
> >From: "Samit Goyal" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" 
> <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Subject: Re: Can  be used for editable fields?
> >Date: Thu, 6 Mar 2003 10:10:11 +0530
> >
> >
> >Thanks a lot David . You solved my big problem.
> >
> >I will try this out...hope i wont need to disturb you again :-)
> >
> >Thanks again.,
> >Samit
> >
> >
> >
> >- Original Message -
> >From: "David Graham" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Thursday, March 06, 2003 9:48 AM
> >Subject: Re: Can  be used for editable fields?
> >
> >
> > > Simply put an  tag inside your iteration.  All 
> your text 
> >inputs
> > > will be the same name so you need a String[] variable in 
> your form bean 
> >to
> > > hold all of the entries.
> > >
> > > David
> > >
> > >
> > >
> > > >From: "Samit Goyal" <[EMAIL PROTECTED]>
> > > >Reply-To: "Struts Users Mailing List" 
> <[EMAIL PROTECTED]>
> > > >To: "strtus list" <[EMAIL PROTECTED]>
> > > >Subject: Can  be used for editable fields?
> > > >Date: Thu, 6 Mar 2003 09:57:25 +0530
> > > >
> > > >Hi all,
> > > >
> > > >I am forwarding again this mail to you all, Since i 
> didnt get any 
> >reply.
> > > >May
> > > >be that my problem was not clear. I am putting this again in a 
> >different
> > > >way.
> > > >
> > > >I konw how to display the list of un-editable fields by using
> > > > but i want to display list of Editable 
> fields, so that
> >upon
> > > >submission of the form, all the user enterd values shall 
> be stored in
> >some
> > > >form bean variable!
> > > >
> > > >What's the easiest way out. i dont want to create a 
> different variable 
> >in
> > > >the form bean for each individual text field displayed 
> on the screen.
> > > >
> > > >Please excuse me for what may be a stupid question for 
> you! but I am 
> >new
> >to
> > > >the struts and desperately looking for the solution.
> > > >
> > > >Regards,
> > > >Samit
> > > >
> > > >
> > > > > Hi all,
> > > > >
> > > > > I am having a JSP which contains 12 rows of editable 
> fields. The 
> >each
> > > >row
> > > > > contains same type of editable fields.
> > > > >
> > > > > Now, how shall i handle it in the Form Bean. Shall i create 12
> >different
> > > > > fields for each row or can I use Array/List for that.
> > > > >
> > > > > Will struts set the fields in the Array Object of form bean
> > > >automatically??
> > > > >
> > > > > Thanks in Advance.
> > > > > Regards,
> > > > > samit
> > > > >
> > > > >
> > > >
> > > >
> > > 
> >-
> > > >To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > >For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > >
> > >
> > > _
> > > Tired of spam? Get advanced junk mail protection with MSN 8.
> > > http://join.msn.com/?page=features/junkmail
> > >
> > >
> > > 
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> _
> Add photos to your messages with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Can be used for editable fields?

2003-03-05 Thread David Graham
You're not disturbing anyone on the list :-).  We're here because we want 
to, not because we have to.

David



From: "Samit Goyal" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Can  be used for editable fields?
Date: Thu, 6 Mar 2003 10:10:11 +0530
Thanks a lot David . You solved my big problem.

I will try this out...hope i wont need to disturb you again :-)

Thanks again.,
Samit


- Original Message -
From: "David Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 9:48 AM
Subject: Re: Can  be used for editable fields?
> Simply put an  tag inside your iteration.  All your text 
inputs
> will be the same name so you need a String[] variable in your form bean 
to
> hold all of the entries.
>
> David
>
>
>
> >From: "Samit Goyal" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "strtus list" <[EMAIL PROTECTED]>
> >Subject: Can  be used for editable fields?
> >Date: Thu, 6 Mar 2003 09:57:25 +0530
> >
> >Hi all,
> >
> >I am forwarding again this mail to you all, Since i didnt get any 
reply.
> >May
> >be that my problem was not clear. I am putting this again in a 
different
> >way.
> >
> >I konw how to display the list of un-editable fields by using
> > but i want to display list of Editable fields, so that
upon
> >submission of the form, all the user enterd values shall be stored in
some
> >form bean variable!
> >
> >What's the easiest way out. i dont want to create a different variable 
in
> >the form bean for each individual text field displayed on the screen.
> >
> >Please excuse me for what may be a stupid question for you! but I am 
new
to
> >the struts and desperately looking for the solution.
> >
> >Regards,
> >Samit
> >
> >
> > > Hi all,
> > >
> > > I am having a JSP which contains 12 rows of editable fields. The 
each
> >row
> > > contains same type of editable fields.
> > >
> > > Now, how shall i handle it in the Form Bean. Shall i create 12
different
> > > fields for each row or can I use Array/List for that.
> > >
> > > Will struts set the fields in the Array Object of form bean
> >automatically??
> > >
> > > Thanks in Advance.
> > > Regards,
> > > samit
> > >
> > >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> _
> Tired of spam? Get advanced junk mail protection with MSN 8.
> http://join.msn.com/?page=features/junkmail
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: html:text accepts indexed properties

2003-03-05 Thread David Graham
Have you checked here?
http://jakarta.apache.org/struts/userGuide/struts-html.html#text
David



From: Mohan Radhakrishnan <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Subject: RE: html:text accepts indexed properties
Date: Thu, 6 Mar 2003 09:47:58 +0530
Hi,
  The date has no relevance. It is just indexed properties and
html:text.
The way to do this seems to be

property='<%= "array[" + i + "]" %>'/>

like this. There is no direct way.

Mohan

-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 9:45 AM
To: [EMAIL PROTECTED]
Subject: RE: html:text accepts indexed properties
I don't see how the text input data being a date string has any relevance 
to

the problem.  If you have 2 inputs on the form named "myDate" and a 
String[]

named "myDate" in your form bean, that array will be populated with the 
form

data.

David



>From: Mohan Radhakrishnan <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
>Subject: RE: html:text accepts indexed properties
>Date: Thu, 6 Mar 2003 09:37:03 +0530
>
>
>   Well . Even in this case it is still indexed properties ! Can't I find
>an
>indexed property and display it in the text box ?
>I've seen one way to do this but it is a bit convoluted.
>
>Mohan
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Can be used for editable fields?

2003-03-05 Thread Samit Goyal

Thanks a lot David . You solved my big problem.

I will try this out...hope i wont need to disturb you again :-)

Thanks again.,
Samit



- Original Message -
From: "David Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 9:48 AM
Subject: Re: Can  be used for editable fields?


> Simply put an  tag inside your iteration.  All your text inputs
> will be the same name so you need a String[] variable in your form bean to
> hold all of the entries.
>
> David
>
>
>
> >From: "Samit Goyal" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "strtus list" <[EMAIL PROTECTED]>
> >Subject: Can  be used for editable fields?
> >Date: Thu, 6 Mar 2003 09:57:25 +0530
> >
> >Hi all,
> >
> >I am forwarding again this mail to you all, Since i didnt get any reply.
> >May
> >be that my problem was not clear. I am putting this again in a different
> >way.
> >
> >I konw how to display the list of un-editable fields by using
> > but i want to display list of Editable fields, so that
upon
> >submission of the form, all the user enterd values shall be stored in
some
> >form bean variable!
> >
> >What's the easiest way out. i dont want to create a different variable in
> >the form bean for each individual text field displayed on the screen.
> >
> >Please excuse me for what may be a stupid question for you! but I am new
to
> >the struts and desperately looking for the solution.
> >
> >Regards,
> >Samit
> >
> >
> > > Hi all,
> > >
> > > I am having a JSP which contains 12 rows of editable fields. The each
> >row
> > > contains same type of editable fields.
> > >
> > > Now, how shall i handle it in the Form Bean. Shall i create 12
different
> > > fields for each row or can I use Array/List for that.
> > >
> > > Will struts set the fields in the Array Object of form bean
> >automatically??
> > >
> > > Thanks in Advance.
> > > Regards,
> > > samit
> > >
> > >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> _
> Tired of spam? Get advanced junk mail protection with MSN 8.
> http://join.msn.com/?page=features/junkmail
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: html:text accepts indexed properties

2003-03-05 Thread Mohan Radhakrishnan
Hi,
  The date has no relevance. It is just indexed properties and
html:text.

The way to do this seems to be

property='<%= "array[" + i + "]" %>'/> 

like this. There is no direct way.

Mohan

-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 9:45 AM
To: [EMAIL PROTECTED]
Subject: RE: html:text accepts indexed properties


I don't see how the text input data being a date string has any relevance to

the problem.  If you have 2 inputs on the form named "myDate" and a String[]

named "myDate" in your form bean, that array will be populated with the form

data.

David



>From: Mohan Radhakrishnan <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
>Subject: RE: html:text accepts indexed properties
>Date: Thu, 6 Mar 2003 09:37:03 +0530
>
>
>   Well . Even in this case it is still indexed properties ! Can't I find 
>an
>indexed property and display it in the text box ?
>I've seen one way to do this but it is a bit convoluted.
>
>Mohan
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Can be used for editable fields?

2003-03-05 Thread David Graham
Simply put an  tag inside your iteration.  All your text inputs 
will be the same name so you need a String[] variable in your form bean to 
hold all of the entries.

David



From: "Samit Goyal" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "strtus list" <[EMAIL PROTECTED]>
Subject: Can  be used for editable fields?
Date: Thu, 6 Mar 2003 09:57:25 +0530
Hi all,

I am forwarding again this mail to you all, Since i didnt get any reply. 
May
be that my problem was not clear. I am putting this again in a different
way.

I konw how to display the list of un-editable fields by using
 but i want to display list of Editable fields, so that upon
submission of the form, all the user enterd values shall be stored in some
form bean variable!
What's the easiest way out. i dont want to create a different variable in
the form bean for each individual text field displayed on the screen.
Please excuse me for what may be a stupid question for you! but I am new to
the struts and desperately looking for the solution.
Regards,
Samit
> Hi all,
>
> I am having a JSP which contains 12 rows of editable fields. The each 
row
> contains same type of editable fields.
>
> Now, how shall i handle it in the Form Bean. Shall i create 12 different
> fields for each row or can I use Array/List for that.
>
> Will struts set the fields in the Array Object of form bean
automatically??
>
> Thanks in Advance.
> Regards,
> samit
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Servlet Mapping

2003-03-05 Thread David Graham
You can only supply one mapping to the ActionServlet.

It's impolite to mark your posts as "urgent" because it's rather 
presumptuous.

David



From: usha <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Servlet Mapping: urgent
Date: Thu, 06 Mar 2003 12:01:33 +0800
Hi

i posted this question previously also but i didn't get any answer from any 
body so i am posting it again.

i am trying to give servletmapping for the following URL
http://localhost:8080/context/test/0/
in the above URL '0' is going to be changed dynamically depending on the 
link the user select.how i can give a servlet-mapping for such type of URL 
for the ActionServlet.

is this possible to do like this.

Thanks
usha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Struts and Cocoon Integration

2003-03-05 Thread Don Brown
I've developed a prototype of a Struts 1.1 plugin that integrates Cocoon
into the Struts framework.  Struts forwards are passed to Cocoon to be
rendered in Cocoon XML pipelines.  It combines the ease of use of Struts
with the power and flexibility of Cocoon.  If you've looked into using
Cocoon but was put off by its complexity, you might want to give this a
look.  To demonstrate the plugin, I've slightly modified the struts
example webapp to highlight how it could be used.

More information, including how and why, and a demo, visit:
http://www.twdata.org/struts

Any and all comments welcome.

Don


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: html:text accepts indexed properties

2003-03-05 Thread David Graham
I don't see how the text input data being a date string has any relevance to 
the problem.  If you have 2 inputs on the form named "myDate" and a String[] 
named "myDate" in your form bean, that array will be populated with the form 
data.

David



From: Mohan Radhakrishnan <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Subject: RE: html:text accepts indexed properties
Date: Thu, 6 Mar 2003 09:37:03 +0530
  Well . Even in this case it is still indexed properties ! Can't I find 
an
indexed property and display it in the text box ?
   I've seen one way to do this but it is a bit convoluted.

Mohan

-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: html:text accepts indexed properties
A String[] form field implies that there are multiple form inputs with the
same name.
David



>From: Mohan Radhakrishnan <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
>Subject: html:text accepts indexed properties
>Date: Thu, 6 Mar 2003 09:23:34 +0530
>
>Hi,
>Has anybody ensured dates in the text box are not reset ? I want
>the
>value entered by the user to be retained in the html:text box. My dates 
in
>the form are of type String[]. And  I didn't find a way to make html:text
>accept indexed properties.
>Thanks,
>Mohan
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]

_
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Can be used for editable fields?

2003-03-05 Thread Samit Goyal
Hi all,
(B
(BI am forwarding again this mail to you all, Since i didnt get any reply. May
(Bbe that my problem was not clear. I am putting this again in a different
(Bway.
(B
(BI konw how to display the list of un-editable fields by using
(B but i want to display list of Editable fields, so that upon
(Bsubmission of the form, all the user enterd values shall be stored in some
(Bform bean variable!
(B
(BWhat's the easiest way out. i dont want to create a different variable in
(Bthe form bean for each individual text field displayed on the screen.
(B
(BPlease excuse me for what may be a stupid question for you! but I am new to
(Bthe struts and desperately looking for the solution.
(B
(BRegards,
(BSamit
(B
(B
(B> Hi all,
(B>
(B> I am having a JSP which contains 12 rows of editable fields. The each row
(B> contains same type of editable fields.
(B>
(B> Now, how shall i handle it in the Form Bean. Shall i create 12 different
(B> fields for each row or can I use Array/List for that.
(B>
(B> Will struts set the fields in the Array Object of form bean
(Bautomatically??
(B>
(B> Thanks in Advance.
(B> Regards,
(B> samit
(B>
(B>
(B
(B
(B-
(BTo unsubscribe, e-mail: [EMAIL PROTECTED]
(BFor additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] Simulating Concurrent Users

2003-03-05 Thread Mohan Radhakrishnan
Hi,
  Jakarta JMeter.
Mohan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 12:50 AM
To: [EMAIL PROTECTED]
Subject: [OT] Simulating Concurrent Users


Hi,
Is there some open source tool or technique that I can use to
simulate concurrent users for our application? I especially want to test our
connection pooling implementation.

Thanks,
Gaurav

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: html:text accepts indexed properties

2003-03-05 Thread Mohan Radhakrishnan

  Well . Even in this case it is still indexed properties ! Can't I find an
indexed property and display it in the text box ?
   I've seen one way to do this but it is a bit convoluted.

Mohan

-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: html:text accepts indexed properties


A String[] form field implies that there are multiple form inputs with the 
same name.

David



>From: Mohan Radhakrishnan <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
>Subject: html:text accepts indexed properties
>Date: Thu, 6 Mar 2003 09:23:34 +0530
>
>Hi,
>Has anybody ensured dates in the text box are not reset ? I want 
>the
>value entered by the user to be retained in the html:text box. My dates in
>the form are of type String[]. And  I didn't find a way to make html:text
>accept indexed properties.
>Thanks,
>Mohan
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Servlet Mapping: urgent

2003-03-05 Thread usha
Hi

i posted this question previously also but i didn't get any answer from 
any body so i am posting it again.

i am trying to give servletmapping for the following URL
http://localhost:8080/context/test/0/
in the above URL '0' is going to be changed dynamically depending on the 
link the user select.how i can give a servlet-mapping for such type of 
URL for the ActionServlet.

is this possible to do like this.

Thanks
usha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: html:text accepts indexed properties

2003-03-05 Thread David Graham
A String[] form field implies that there are multiple form inputs with the 
same name.

David



From: Mohan Radhakrishnan <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Subject: html:text accepts indexed properties
Date: Thu, 6 Mar 2003 09:23:34 +0530
Hi,
   Has anybody ensured dates in the text box are not reset ? I want 
the
value entered by the user to be retained in the html:text box. My dates in
the form are of type String[]. And  I didn't find a way to make html:text
accept indexed properties.
Thanks,
Mohan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


html:text accepts indexed properties

2003-03-05 Thread Mohan Radhakrishnan
Hi,
   Has anybody ensured dates in the text box are not reset ? I want the
value entered by the user to be retained in the html:text box. My dates in
the form are of type String[]. And  I didn't find a way to make html:text
accept indexed properties.
Thanks,
Mohan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem with forwards and contextRelative

2003-03-05 Thread Mark
No, i dont

I figured out that struts doesnt automatically include the "servlet mapping" value in 
the url when it does a forward.  I humbly submit this is an error, but there's 
probably one or two reasons why they did it this way.  Suffice it to say, i have to 
put my servlet mapping in my forward paths.

such as:



Regards,
Mark

*** REPLY SEPARATOR  ***

On 03/05/2003 at 10:06 PM James Mitchell wrote:

>This may seem obvious, but do you have a global forward, tile-def(if
>using Tiles), or an action for '/Order/Checkout'?
>
>--
>James Mitchell
>Web Developer/Struts Evangelist
>http://jakarta.apache.org/struts/
>
>"People demand freedom of speech to make up for the freedom of thought
>which they avoid."
>- Soren Aabye Kierkegaard (1813-1855)
>
>
>
>
>> -Original Message-
>> From: Mark [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, March 05, 2003 9:42 PM
>> To: [EMAIL PROTECTED]
>> Subject: Problem with forwards and contextRelative
>>
>>
>> I have my application configured to map to a url such as:
>>
>> http://localhost/myApp/struts/
>>
>> Then, each action is mapped according to this url prefix:
>>
>http://localhost/myApp/struts/Order/new
>http://localhost/myApp/struts/Order/edit
>http://localhost/myApp/struts/Order/save
>
>and so on
>
>However, if i have actions mapped like so:
>
>scope="session" name="orderForm" validate="false">
>  
>  
>
>
>notice the default forward.  I am using "path="/Order/Checkout"
>
>Which gives me an error:
>
>description The requested resource (/myApp/Order/Checkout) is not
>available.
>
>Notice that it did not include the "/struts/" path element (which is
>what my servlet is attached to)
>
>I have tried setting contextRelative true|false but no affect.
>
>What am I missing?
>
>Regards,
>Mark
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem with forwards and contextRelative

2003-03-05 Thread James Mitchell
This may seem obvious, but do you have a global forward, tile-def(if
using Tiles), or an action for '/Order/Checkout'? 

--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)




> -Original Message-
> From: Mark [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 05, 2003 9:42 PM
> To: [EMAIL PROTECTED]
> Subject: Problem with forwards and contextRelative
> 
> 
> I have my application configured to map to a url such as:
> 
> http://localhost/myApp/struts/
> 
> Then, each action is mapped according to this url prefix:
> 
http://localhost/myApp/struts/Order/new
http://localhost/myApp/struts/Order/edit
http://localhost/myApp/struts/Order/save

and so on

However, if i have actions mapped like so:


  
  


notice the default forward.  I am using "path="/Order/Checkout"

Which gives me an error:

description The requested resource (/myApp/Order/Checkout) is not
available.

Notice that it did not include the "/struts/" path element (which is
what my servlet is attached to)

I have tried setting contextRelative true|false but no affect.

What am I missing?

Regards,
Mark




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: word wrap

2003-03-05 Thread David Graham
Well, JavaMail has nothing to do with Struts and is easily learned without a 
Struts example.  I'm not sure why you need a wordwrap feature in JavaMail.  
The mail client is responsible for formatting the message to the screen not 
the sender.

David

> what do you mean with wordwrap ?
What I mean is that the text part of an e-mail should wrap at 80
characters just like my e-mail here does when I send it.  It seems
to me like JavaMail should have a setting for this and seems very
inconsistent that it does not, but obviously that is not the concern
of this mailinglist.
I guess I could do it manually, but I was just curious what other
people around here used to send e-mail.  I personally believe that
the struts examples should have a case where e-mail is sent since
every web application on the planet has to send e-mail at one time
or another.  It is almost as important as understanding how to use
forms, and I see almost no documentation on how one would use
JavaMail with Struts.
I would be glad to slap together an example once I figure this out.

Dan

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Microsoft's Law of Software Engineering:
Don't worry if it doesn't work right.
If everything did, we'd be out of a job.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Problem with forwards and contextRelative

2003-03-05 Thread Mark
I have my application configured to map to a url such as:

http://localhost/myApp/struts/

Then, each action is mapped according to this url prefix:

http://localhost/myApp/struts/Order/new
http://localhost/myApp/struts/Order/edit
http://localhost/myApp/struts/Order/save

and so on

However, if i have actions mapped like so:


  
  


notice the default forward.  I am using "path="/Order/Checkout"

Which gives me an error:

description The requested resource (/myApp/Order/Checkout) is not available.

Notice that it did not include the "/struts/" path element (which is what my servlet 
is attached to)

I have tried setting contextRelative true|false but no affect.

What am I missing?

Regards,
Mark




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [struts-el] What's the benefits ?

2003-03-05 Thread alexj
Oh an old topics ;)) I understoud the benefits and I just buy a
book about JSTL.

Thanks for your clear post Craig.

--
Alexandre Jaquet

- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 2:51 AM
Subject: RE: [struts-el] What's the benefits ?


>
>
> > From: alexj [mailto:[EMAIL PROTECTED]
> >
> > I didn't find the benefits of the use of jstl extention.
> >
> > Who can explain me the benefits ?
>
> > From: p2 - apache <[EMAIL PROTECTED]>
> >
> > Some body don't want to see <%  %>? Just a guess.
>
> There's lots of advantages to the expression language that Struts-EL uses
> (copied from JSTL 1.0, and to be embedded everywhere in a JSP page in JSP
> 2.0).  My favorite feature is independence from the underlying
> implementation of the properties.  Consider the following expression:
>
>   ${customer.mailAddress.city}
>
> This works for all of the following scenarios (as well as some others):
>
> * "customer" is a bean with a getMailAddress() getter, which in term
>   returns a bean with a getCity() getter.
>
> * "customer" is a bean where getMailAddress() returns a Map that has
>   (among others) an entry with a key of "city".
>
> * "customer" is a Map that has a key "mailAddress" whose value is a
>   bean with a getCity() method.
>
> * "customer" is a Map with a key of "mailAddress" that returns a Map
>   that has a key of "city" ...
>
> You get the idea?  The business tier developer has a fair amount of
> freedom in how they implement the beans representing the data required by
> the view tier -- or even skips implementing them if Maps do the trick.
> And changing your mind among these choices does not invalidate the syntax
> of the expression that is embedded in your page.
>
> The other thing I like about EL expressions is that the syntax is very
> close to what page authors familiar with JavaScript already understand, so
> it's natural for them to be able to script with it, without having to know
> any java at all.  Consider a personnel management app that wants to
> restrict the display of salary information to managers.  In a JSP 1.2
> environment (with JSTL), you could write:
>
>   
> 
>   
>
> and have a fair chance that the page author can understand it -- while the
> corresponding scriptlet version is pretty opaque to a non-programmer:
>
>   <%
>  if (user.getRole().equals("Manager")) {
>out.println(employee.getSalary());
>  }
>   %>
>
> to say nothing of the fact that the Java code requires you to expose
> "user" and "employee" as instance variables in the page class, while the
> tagged version doesn't.  (And, by the way, you'd better be prepared for
> NullPointerException errors in the scriptlet, while the expression
> language deals with them for you.)
>
> By the way, in a JSP 2.0 environment, this example will get even simpler:
>
>   
> ${employee.salary}
>   
>
> because you will be able to use EL expressions anywhere (including
> template text), not just in tags that understand it.
>
> Craig McClanahan
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [struts-el] What's the benefits ?

2003-03-05 Thread Craig R. McClanahan


> From: alexj [mailto:[EMAIL PROTECTED]
>
> I didn't find the benefits of the use of jstl extention.
>
> Who can explain me the benefits ?

> From: p2 - apache <[EMAIL PROTECTED]>
>
> Some body don't want to see <%  %>? Just a guess.

There's lots of advantages to the expression language that Struts-EL uses
(copied from JSTL 1.0, and to be embedded everywhere in a JSP page in JSP
2.0).  My favorite feature is independence from the underlying
implementation of the properties.  Consider the following expression:

  ${customer.mailAddress.city}

This works for all of the following scenarios (as well as some others):

* "customer" is a bean with a getMailAddress() getter, which in term
  returns a bean with a getCity() getter.

* "customer" is a bean where getMailAddress() returns a Map that has
  (among others) an entry with a key of "city".

* "customer" is a Map that has a key "mailAddress" whose value is a
  bean with a getCity() method.

* "customer" is a Map with a key of "mailAddress" that returns a Map
  that has a key of "city" ...

You get the idea?  The business tier developer has a fair amount of
freedom in how they implement the beans representing the data required by
the view tier -- or even skips implementing them if Maps do the trick.
And changing your mind among these choices does not invalidate the syntax
of the expression that is embedded in your page.

The other thing I like about EL expressions is that the syntax is very
close to what page authors familiar with JavaScript already understand, so
it's natural for them to be able to script with it, without having to know
any java at all.  Consider a personnel management app that wants to
restrict the display of salary information to managers.  In a JSP 1.2
environment (with JSTL), you could write:

  

  

and have a fair chance that the page author can understand it -- while the
corresponding scriptlet version is pretty opaque to a non-programmer:

  <%
 if (user.getRole().equals("Manager")) {
   out.println(employee.getSalary());
 }
  %>

to say nothing of the fact that the Java code requires you to expose
"user" and "employee" as instance variables in the page class, while the
tagged version doesn't.  (And, by the way, you'd better be prepared for
NullPointerException errors in the scriptlet, while the expression
language deals with them for you.)

By the way, in a JSP 2.0 environment, this example will get even simpler:

  
${employee.salary}
  

because you will be able to use EL expressions anywhere (including
template text), not just in tags that understand it.

Craig McClanahan



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: word wrap

2003-03-05 Thread Dan Allen
> what do you mean with wordwrap ?
What I mean is that the text part of an e-mail should wrap at 80
characters just like my e-mail here does when I send it.  It seems
to me like JavaMail should have a setting for this and seems very
inconsistent that it does not, but obviously that is not the concern
of this mailinglist.

I guess I could do it manually, but I was just curious what other
people around here used to send e-mail.  I personally believe that
the struts examples should have a case where e-mail is sent since
every web application on the planet has to send e-mail at one time
or another.  It is almost as important as understanding how to use
forms, and I see almost no documentation on how one would use
JavaMail with Struts.

I would be glad to slap together an example once I figure this out.

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Microsoft's Law of Software Engineering: 
Don't worry if it doesn't work right. 
If everything did, we'd be out of a job.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: word wrap

2003-03-05 Thread Joe Barefoot
programatically processing the message string, of course, not counting and sticking in 
\n every 80th char in the message.
(just clarifying lest you think I'm nuts)

--joe


> -Original Message-
> From: Joe Barefoot 
> Sent: Wednesday, March 05, 2003 5:43 PM
> To: Struts Users Mailing List
> Subject: RE: word wrap
> 
> 
> dunno jack about JavaMail, but doesn't it wrap on the newline 
> character?  If so, you could "fake" the wordwrap feature by 
> sticking in a newline char every 80 chars.  :)
> 
> --joe
> 
> > -Original Message-
> > From: Dan Allen [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 05, 2003 5:37 PM
> > To: [EMAIL PROTECTED]
> > Subject: word wrap
> > 
> > 
> > I am setting up JavaMail to send some messages in struts, but I
> > can't for the life of me understand why in the world it is missing
> > the wordwrap method.  Surely struts users must send e-mails from
> > time to time and have to wrap the text to 80.  What do you generally
> > use?
> > 
> > Dan
> > 
> > -- 
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> > Daniel Allen, <[EMAIL PROTECTED]>
> > http://www.mojavelinux.com/
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> > Chaos reigns within. 
> > Reflect, repent, and reboot.  Order shall return.
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: word wrap

2003-03-05 Thread Joe Barefoot
dunno jack about JavaMail, but doesn't it wrap on the newline character?  If so, you 
could "fake" the wordwrap feature by sticking in a newline char every 80 chars.  :)

--joe

> -Original Message-
> From: Dan Allen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 5:37 PM
> To: [EMAIL PROTECTED]
> Subject: word wrap
> 
> 
> I am setting up JavaMail to send some messages in struts, but I
> can't for the life of me understand why in the world it is missing
> the wordwrap method.  Surely struts users must send e-mails from
> time to time and have to wrap the text to 80.  What do you generally
> use?
> 
> Dan
> 
> -- 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> Daniel Allen, <[EMAIL PROTECTED]>
> http://www.mojavelinux.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> Chaos reigns within. 
> Reflect, repent, and reboot.  Order shall return.
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: word wrap

2003-03-05 Thread alexj
what do you mean with wordwrap ?

- Original Message - 
From: "Dan Allen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 2:37 AM
Subject: word wrap


> I am setting up JavaMail to send some messages in struts, but I
> can't for the life of me understand why in the world it is missing
> the wordwrap method.  Surely struts users must send e-mails from
> time to time and have to wrap the text to 80.  What do you generally
> use?
> 
> Dan
> 
> -- 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> Daniel Allen, <[EMAIL PROTECTED]>
> http://www.mojavelinux.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> Chaos reigns within. 
> Reflect, repent, and reboot.  Order shall return.
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



word wrap

2003-03-05 Thread Dan Allen
I am setting up JavaMail to send some messages in struts, but I
can't for the life of me understand why in the world it is missing
the wordwrap method.  Surely struts users must send e-mails from
time to time and have to wrap the text to 80.  What do you generally
use?

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Chaos reigns within. 
Reflect, repent, and reboot.  Order shall return.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] need help in regex expression

2003-03-05 Thread Jeff Kyser
try something like: ^([+-])?(\d){0,4}(.(\d){0,2})?$

-jeff

On Wednesday, March 5, 2003, at 06:48  PM, Ashish Kulkarni wrote:

Hi,

I have to validate a double field, which can be
negative or positive, has max 4 digits in integer and
max 2 digits after decimal,
I have the following regex which handles some cases
but need help to make it work in all casses
\b[\d]?[\d]?[\d]?[\d]?\b[\.,]?[\d]?[\d]?
it works in
1234.56
123.45
2334
0.34
but does not work
.34
and also i want it work for
-123.45
+234.45
Can any one suggest a way to modify expression or
write it in better way
Ashish



__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT] need help in regex expression

2003-03-05 Thread alexj
rhoo 2 max decimal 

[+-][0-9]{0-9}("."2{0-9})
- Original Message - 
From: "alexj" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 1:59 AM
Subject: Re: [OT] need help in regex expression


> - Original Message - 
> From: "Ashish Kulkarni" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 06, 2003 1:48 AM
> Subject: [OT] need help in regex expression
> 
> 
> > Hi,
> > 
> > I have to validate a double field, which can be
> > negative or positive, has max 4 digits in integer and
> > max 2 digits after decimal, 
> > I have the following regex which handles some cases
> > but need help to make it work in all casses
> > 
> > \b[\d]?[\d]?[\d]?[\d]?\b[\.,]?[\d]?[\d]?
> > it works in
> > 1234.56
> > 123.45
> > 2334
> > 0.34
> > but does not work 
> > .34
> > 
> > and also i want it work for
> > -123.45
> > +234.45
> > 
> > Can any one suggest a way to modify expression or
> > write it in better way
> > 
> > Ashish
> > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> > http://taxes.yahoo.com/
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] need help in regex expression

2003-03-05 Thread alexj
[+-][0-9]{0-9}("."{0-9})- Original Message - 
From: "Ashish Kulkarni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 1:48 AM
Subject: [OT] need help in regex expression


> Hi,
> 
> I have to validate a double field, which can be
> negative or positive, has max 4 digits in integer and
> max 2 digits after decimal, 
> I have the following regex which handles some cases
> but need help to make it work in all casses
> 
> \b[\d]?[\d]?[\d]?[\d]?\b[\.,]?[\d]?[\d]?
> it works in
> 1234.56
> 123.45
> 2334
> 0.34
> but does not work 
> .34
> 
> and also i want it work for
> -123.45
> +234.45
> 
> Can any one suggest a way to modify expression or
> write it in better way
> 
> Ashish
> 
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Simulating Concurrent Users

2003-03-05 Thread Todd Pierce
I know the port and proxy. It's my workstation, localhost:7001, no proxy.

The stress tester says it connects OK to localhost:80, but there's no
webserver running on it.

I guess I could RTFM, but then I'd have to go to the micro$oft website
again. Ah, **expletive**, I'll play with it later.

-Original Message-
From: alexj [mailto:[EMAIL PROTECTED]
Sent: Thursday, 6 March 2003 11:35 AM
To: Struts Users Mailing List
Subject: Re: [OT] Simulating Concurrent Users


you may have better to ask your sys admin on wich port
and wich adress is your proxy ...(if you don't want any
blame)


--
Alexandre Jaquet
- Original Message -
From: "Todd Pierce" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 1:25 AM
Subject: RE: [OT] Simulating Concurrent Users


> My problem is that it can't connect to the right port. Anybody solved
this?
>
> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 6 March 2003 10:42 AM
> To: Struts Users Mailing List
> Subject: Re: [OT] Simulating Concurrent Users
>
>
> you only need to specifie the proxy adress
>
> --
> Alexandre Jaquet
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 06, 2003 12:00 AM
> Subject: RE: [OT] Simulating Concurrent Users
>
>
> > Sean, downloaded this software and set it up. Its pretty simple to use.
> > Getting a problem though. Its not able to find the link to my
application.
> > It talks about changing the proxy server of IE. However i don't have the
> > rights to do that on my system. Do you have any ideas on this?
> >
> > Thanks.
> >
> > -Original Message-
> > From: Sean Chambers [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 05, 2003 2:15 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: [OT] Simulating Concurrent Users
> >
> >
> > sorry, should point out that its blatantly not open source.  but it is
> > free-ish
> >
> > > -Original Message-
> > > From: Sean Chambers [mailto:[EMAIL PROTECTED]
> > > Sent: 05 March 2003 19:52
> > > To: 'Struts Users Mailing List'
> > > Subject: RE: [OT] Simulating Concurrent Users
> > >
> > >
> > > dont flame me for this, but you could try micro$ofts web
> > > appliaction stress
> > > test tool. it only *runs* on NT x but u can use it to stress
> > > anything i
> > > think.. and apparently its pretty simple to use.
> > >
> > > http://www.microsoft.com/technet/treeview/default.asp?url=/tec
> > > hnet/itsolutio
> > > ns/intranet/downloads/webstres.asp
> > >
> > > > -Original Message-
> > > > From: Jim Krygowski [mailto:[EMAIL PROTECTED]
> > > > Sent: 05 March 2003 19:45
> > > > To: Struts Users Mailing List
> > > > Subject: RE: [OT] Simulating Concurrent Users
> > > >
> > > >
> > > > Does JMeter fit the bill?
> > > > http://jakarta.apache.org/jmeter/index.html
> > > >
> > > >
> > > >
> > > > > -Original Message-
> > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > > > Sent: Wednesday, March 05, 2003 2:20 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: [OT] Simulating Concurrent Users
> > > > >
> > > > >
> > > > > Hi,
> > > > > Is there some open source tool or technique that I can use to
> > > > > simulate concurrent users for our application? I especially want
> > > > > to test our
> > > > > connection pooling implementation.
> > > > >
> > > > > Thanks,
> > > > > Gaurav
> > > > >
> > > > >
> > > >
> > > -
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> > >
> > > **
> > > 
> > > CONFIDENTIALITY / DISCLAIMER NOTICE
> > >
> > > This communication contains information, which is confidential
> > > and may also be privileged. It is for the exclusive use of
> > > the recipient(s). If you are not the intended recipient(s)
> > > please note that any distortion, copying or use of this
> > > communication or the information in it is strictly prohibited.
> > > Any  views or opinions presented are solely those of the
> > > author and do not necessarily represent those of
> > > Euro RSCG Wnek Gosper.
> > >
> > > If you have received this communication in error please notify
> > > us by e-mailing the author or by telephoning (020  7240 4111)
> > > and then delete the communication and any copies of it.
> > >
> > > This footnote also confirms that this email message has been
> > > swept by MIMEsweeper for the presence of computer viruses.
> > >
> > > http://www.eurorscg.co.uk
> > > **
> > > 
> > >
> > >
> > > -

[OT] need help in regex expression

2003-03-05 Thread Ashish Kulkarni
Hi,

I have to validate a double field, which can be
negative or positive, has max 4 digits in integer and
max 2 digits after decimal, 
I have the following regex which handles some cases
but need help to make it work in all casses

\b[\d]?[\d]?[\d]?[\d]?\b[\.,]?[\d]?[\d]?
it works in
1234.56
123.45
2334
0.34
but does not work 
.34

and also i want it work for
-123.45
+234.45

Can any one suggest a way to modify expression or
write it in better way

Ashish



__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Simulating Concurrent Users

2003-03-05 Thread alexj
or if you want another job you can play
with nmap ...

nmap -n -vv -p0 -p256, 1080, 1745, etc 

But that's insigne if your network got an IDS...

--
Alexandre Jaquet

- Original Message -
From: "Todd Pierce" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 1:25 AM
Subject: RE: [OT] Simulating Concurrent Users


> My problem is that it can't connect to the right port. Anybody solved
this?
>
> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 6 March 2003 10:42 AM
> To: Struts Users Mailing List
> Subject: Re: [OT] Simulating Concurrent Users
>
>
> you only need to specifie the proxy adress
>
> --
> Alexandre Jaquet
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 06, 2003 12:00 AM
> Subject: RE: [OT] Simulating Concurrent Users
>
>
> > Sean, downloaded this software and set it up. Its pretty simple to use.
> > Getting a problem though. Its not able to find the link to my
application.
> > It talks about changing the proxy server of IE. However i don't have the
> > rights to do that on my system. Do you have any ideas on this?
> >
> > Thanks.
> >
> > -Original Message-
> > From: Sean Chambers [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 05, 2003 2:15 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: [OT] Simulating Concurrent Users
> >
> >
> > sorry, should point out that its blatantly not open source.  but it is
> > free-ish
> >
> > > -Original Message-
> > > From: Sean Chambers [mailto:[EMAIL PROTECTED]
> > > Sent: 05 March 2003 19:52
> > > To: 'Struts Users Mailing List'
> > > Subject: RE: [OT] Simulating Concurrent Users
> > >
> > >
> > > dont flame me for this, but you could try micro$ofts web
> > > appliaction stress
> > > test tool. it only *runs* on NT x but u can use it to stress
> > > anything i
> > > think.. and apparently its pretty simple to use.
> > >
> > > http://www.microsoft.com/technet/treeview/default.asp?url=/tec
> > > hnet/itsolutio
> > > ns/intranet/downloads/webstres.asp
> > >
> > > > -Original Message-
> > > > From: Jim Krygowski [mailto:[EMAIL PROTECTED]
> > > > Sent: 05 March 2003 19:45
> > > > To: Struts Users Mailing List
> > > > Subject: RE: [OT] Simulating Concurrent Users
> > > >
> > > >
> > > > Does JMeter fit the bill?
> > > > http://jakarta.apache.org/jmeter/index.html
> > > >
> > > >
> > > >
> > > > > -Original Message-
> > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > > > Sent: Wednesday, March 05, 2003 2:20 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: [OT] Simulating Concurrent Users
> > > > >
> > > > >
> > > > > Hi,
> > > > > Is there some open source tool or technique that I can use to
> > > > > simulate concurrent users for our application? I especially want
> > > > > to test our
> > > > > connection pooling implementation.
> > > > >
> > > > > Thanks,
> > > > > Gaurav
> > > > >
> > > > >
> > > >
> > > -
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> > >
> > > **
> > > 
> > > CONFIDENTIALITY / DISCLAIMER NOTICE
> > >
> > > This communication contains information, which is confidential
> > > and may also be privileged. It is for the exclusive use of
> > > the recipient(s). If you are not the intended recipient(s)
> > > please note that any distortion, copying or use of this
> > > communication or the information in it is strictly prohibited.
> > > Any  views or opinions presented are solely those of the
> > > author and do not necessarily represent those of
> > > Euro RSCG Wnek Gosper.
> > >
> > > If you have received this communication in error please notify
> > > us by e-mailing the author or by telephoning (020  7240 4111)
> > > and then delete the communication and any copies of it.
> > >
> > > This footnote also confirms that this email message has been
> > > swept by MIMEsweeper for the presence of computer viruses.
> > >
> > > http://www.eurorscg.co.uk
> > > **
> > > 
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> >
**
> > CONFIDENTIALITY / DISCLAIMER NOTICE
> >
> > This communication contains information, which is confidential
> > and may also be privileged. It is for the exclusive use of
> >

Re: [OT] Simulating Concurrent Users

2003-03-05 Thread alexj
you may have better to ask your sys admin on wich port
and wich adress is your proxy ...(if you don't want any
blame)


--
Alexandre Jaquet
- Original Message -
From: "Todd Pierce" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 1:25 AM
Subject: RE: [OT] Simulating Concurrent Users


> My problem is that it can't connect to the right port. Anybody solved
this?
>
> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 6 March 2003 10:42 AM
> To: Struts Users Mailing List
> Subject: Re: [OT] Simulating Concurrent Users
>
>
> you only need to specifie the proxy adress
>
> --
> Alexandre Jaquet
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 06, 2003 12:00 AM
> Subject: RE: [OT] Simulating Concurrent Users
>
>
> > Sean, downloaded this software and set it up. Its pretty simple to use.
> > Getting a problem though. Its not able to find the link to my
application.
> > It talks about changing the proxy server of IE. However i don't have the
> > rights to do that on my system. Do you have any ideas on this?
> >
> > Thanks.
> >
> > -Original Message-
> > From: Sean Chambers [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 05, 2003 2:15 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: [OT] Simulating Concurrent Users
> >
> >
> > sorry, should point out that its blatantly not open source.  but it is
> > free-ish
> >
> > > -Original Message-
> > > From: Sean Chambers [mailto:[EMAIL PROTECTED]
> > > Sent: 05 March 2003 19:52
> > > To: 'Struts Users Mailing List'
> > > Subject: RE: [OT] Simulating Concurrent Users
> > >
> > >
> > > dont flame me for this, but you could try micro$ofts web
> > > appliaction stress
> > > test tool. it only *runs* on NT x but u can use it to stress
> > > anything i
> > > think.. and apparently its pretty simple to use.
> > >
> > > http://www.microsoft.com/technet/treeview/default.asp?url=/tec
> > > hnet/itsolutio
> > > ns/intranet/downloads/webstres.asp
> > >
> > > > -Original Message-
> > > > From: Jim Krygowski [mailto:[EMAIL PROTECTED]
> > > > Sent: 05 March 2003 19:45
> > > > To: Struts Users Mailing List
> > > > Subject: RE: [OT] Simulating Concurrent Users
> > > >
> > > >
> > > > Does JMeter fit the bill?
> > > > http://jakarta.apache.org/jmeter/index.html
> > > >
> > > >
> > > >
> > > > > -Original Message-
> > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > > > Sent: Wednesday, March 05, 2003 2:20 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: [OT] Simulating Concurrent Users
> > > > >
> > > > >
> > > > > Hi,
> > > > > Is there some open source tool or technique that I can use to
> > > > > simulate concurrent users for our application? I especially want
> > > > > to test our
> > > > > connection pooling implementation.
> > > > >
> > > > > Thanks,
> > > > > Gaurav
> > > > >
> > > > >
> > > >
> > > -
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> > >
> > > **
> > > 
> > > CONFIDENTIALITY / DISCLAIMER NOTICE
> > >
> > > This communication contains information, which is confidential
> > > and may also be privileged. It is for the exclusive use of
> > > the recipient(s). If you are not the intended recipient(s)
> > > please note that any distortion, copying or use of this
> > > communication or the information in it is strictly prohibited.
> > > Any  views or opinions presented are solely those of the
> > > author and do not necessarily represent those of
> > > Euro RSCG Wnek Gosper.
> > >
> > > If you have received this communication in error please notify
> > > us by e-mailing the author or by telephoning (020  7240 4111)
> > > and then delete the communication and any copies of it.
> > >
> > > This footnote also confirms that this email message has been
> > > swept by MIMEsweeper for the presence of computer viruses.
> > >
> > > http://www.eurorscg.co.uk
> > > **
> > > 
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> >
**
> > CONFIDENTIALITY / DISCLAIMER NOTICE
> >
> > This communication contains information, which is confidential
> > and may also be privileged. It is for the exclusive use of
> > the recipient(s). If you are n

RE: [OT] Simulating Concurrent Users

2003-03-05 Thread Todd Pierce
My problem is that it can't connect to the right port. Anybody solved this?

-Original Message-
From: alexj [mailto:[EMAIL PROTECTED]
Sent: Thursday, 6 March 2003 10:42 AM
To: Struts Users Mailing List
Subject: Re: [OT] Simulating Concurrent Users


you only need to specifie the proxy adress

--
Alexandre Jaquet

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 12:00 AM
Subject: RE: [OT] Simulating Concurrent Users


> Sean, downloaded this software and set it up. Its pretty simple to use.
> Getting a problem though. Its not able to find the link to my application.
> It talks about changing the proxy server of IE. However i don't have the
> rights to do that on my system. Do you have any ideas on this?
>
> Thanks.
>
> -Original Message-
> From: Sean Chambers [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 2:15 PM
> To: 'Struts Users Mailing List'
> Subject: RE: [OT] Simulating Concurrent Users
>
>
> sorry, should point out that its blatantly not open source.  but it is
> free-ish
>
> > -Original Message-
> > From: Sean Chambers [mailto:[EMAIL PROTECTED]
> > Sent: 05 March 2003 19:52
> > To: 'Struts Users Mailing List'
> > Subject: RE: [OT] Simulating Concurrent Users
> >
> >
> > dont flame me for this, but you could try micro$ofts web
> > appliaction stress
> > test tool. it only *runs* on NT x but u can use it to stress
> > anything i
> > think.. and apparently its pretty simple to use.
> >
> > http://www.microsoft.com/technet/treeview/default.asp?url=/tec
> > hnet/itsolutio
> > ns/intranet/downloads/webstres.asp
> >
> > > -Original Message-
> > > From: Jim Krygowski [mailto:[EMAIL PROTECTED]
> > > Sent: 05 March 2003 19:45
> > > To: Struts Users Mailing List
> > > Subject: RE: [OT] Simulating Concurrent Users
> > >
> > >
> > > Does JMeter fit the bill?
> > > http://jakarta.apache.org/jmeter/index.html
> > >
> > >
> > >
> > > > -Original Message-
> > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, March 05, 2003 2:20 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [OT] Simulating Concurrent Users
> > > >
> > > >
> > > > Hi,
> > > > Is there some open source tool or technique that I can use to
> > > > simulate concurrent users for our application? I especially want
> > > > to test our
> > > > connection pooling implementation.
> > > >
> > > > Thanks,
> > > > Gaurav
> > > >
> > > >
> > >
> > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> > **
> > 
> > CONFIDENTIALITY / DISCLAIMER NOTICE
> >
> > This communication contains information, which is confidential
> > and may also be privileged. It is for the exclusive use of
> > the recipient(s). If you are not the intended recipient(s)
> > please note that any distortion, copying or use of this
> > communication or the information in it is strictly prohibited.
> > Any  views or opinions presented are solely those of the
> > author and do not necessarily represent those of
> > Euro RSCG Wnek Gosper.
> >
> > If you have received this communication in error please notify
> > us by e-mailing the author or by telephoning (020  7240 4111)
> > and then delete the communication and any copies of it.
> >
> > This footnote also confirms that this email message has been
> > swept by MIMEsweeper for the presence of computer viruses.
> >
> > http://www.eurorscg.co.uk
> > **
> > 
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> **
> CONFIDENTIALITY / DISCLAIMER NOTICE
>
> This communication contains information, which is confidential
> and may also be privileged. It is for the exclusive use of
> the recipient(s). If you are not the intended recipient(s)
> please note that any distortion, copying or use of this
> communication or the information in it is strictly prohibited.
> Any  views or opinions presented are solely those of the
> author and do not necessarily represent those of
> Euro RSCG Wnek Gosper.
>
> If you have received this communication in error please notify
> us by e-mailing the author or by telephoning (020  7240 4111)
> and then delete the communication and any copies of it.
>
> This footnote also confirms that this email message has been
> swept by MIMEsweeper for the presence of computer viruses.
>
> http://ww

Re: Accepting arrays as values in mapped-backed ActionForms

2003-03-05 Thread alexj
lol don't be to hard with yourself ;p

--
Alexandre Jaquet

- Original Message - 
From: "James Mitchell" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 1:11 AM
Subject: RE: Accepting arrays as values in mapped-backed ActionForms


> Wow, I'm glad I could help ;D
> 
> 
> --
> James Mitchell
> Web Developer/Struts Evangelist
> http://jakarta.apache.org/struts/
> 
> "People demand freedom of speech to make up for the freedom of thought
> which they avoid."
> - Soren Aabye Kierkegaard (1813-1855)
> 
> 
> 
> 
> > -Original Message-
> > From: John Devine [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, March 05, 2003 3:34 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> > 
> > 
> > Solved:
> > 
> > On the form bean I now include:
> > 
> >public String[] getExGroups(String key){
> >   return (String[]) existingGroups.get(key);
> >}
> > 
> >public void setExGroups(String key, String[] values){
> >   existingGroups.put(key,values);
> >}
> > 
> > and use exGroups(primaryKey) as the multibox property.
> > 
> > I had tried something similar earlier but I had 
> > 
> >public Object getExGroups(String key){
> >   return existingGroups.get(key);
> >}
> > 
> >public void setExGroups(String key, Object values){
> >   existingGroups.put(key,values);
> >}
> > 
> > which I had seen in another example and that accepted only the first
> > input from each of the rows of checkboxes as a String and ignored the
> > others.
> > 
> > If you have similar examples that can do the job more elegantly (or
> > differently even), I'd love to see them. Ideas can only help.
> > 
> > 
> > -- John
> > 
> > 
> > 
> > -Original Message-
> > From: John Devine [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, March 05, 2003 2:10 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> > 
> > Okay, yes the actual business process is not very well explained.
> > Probably I should have used generic object names, but since it's
> > started:
> > 
> > I have a bunch of "story" objects.
> > Each story object can belong to 0 or more groups.
> > 
> > The functionality of this page is to show the user which groups their
> > stories belong to as well as to change the groups to which each story
> > belongs.
> > 
> > So the user can page through the list of her stories 
> > (generated through
> > the search bean, which is actually an attribute on the ActionForm Bean
> > (submitToGroupForm)). For each list of 10 stories, the 
> > submitToGroupForm
> > sets up a map called "existingGroups" which contains a String array of
> > the group id's associated with each story. 
> > 
> > "availableGroups" is an array of String group id's put into
> > actionFormBean which contains all the groups the user has 
> > permission to
> > access.
> > 
> > So, in addition to the regular info on each story (title, id, plus the
> > tile "storyDetailswithBlurb.jsp"), the generated page is a matrix of
> > checkboxes:
> > One row of "availableGroups" checkboxes for each story.
> > 
> > The idea was to use the map on the actionForm to receive changes to
> > groups, with the key of the map being the storyId, and the value being
> > the array of groups Id's that were checked off for each story. Then my
> > Action will pass that info off to a bean that will do the 
> > reassignment.
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > -Original Message-
> > From: James Mitchell [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, March 05, 2003 4:22 AM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> > 
> > Ok, I've had time to look over your notes.
> > 
> > I may be missing some pieces to the puzzle here.
> > 
> > If I understand you correctly, you've got a bean (searchBean) 
> > that has a
> > List of Story beans, each with id and title.
> > 
> > You have a formbean (submitToGroupForm) that returns a Map of Groups
> > (getExistingGroups) keyed off of the id from an iteration of the first
> > bean (searchBean).
> > 
> > Is this correct so far?
> > Which bean is the form associated with this action? (I am assuming
> > submitToGroupForm)
> > Why do you iterate over the formbean, then iterate over a 
> > field on that
> > bean?
> > 
> > Can you post more details on what you are wanting to accomplish here?
> > 
> > 
> > 
> > --
> > James Mitchell
> > Web Developer/Struts Evangelist
> > http://jakarta.apache.org/struts/
> > 
> > "People demand freedom of speech to make up for the freedom of thought
> > which they avoid."
> > - Soren Aabye Kierkegaard (1813-1855)
> > 
> > 
> > 
> > 
> > > -Original Message-
> > > From: James Mitchell [mailto:[EMAIL PROTECTED] 
> > > Sent: Tuesday, March 04, 2003 6:38 PM
> > > To: 'Struts Users Mailing List'
> > > Subject: RE: Accepting arrays as values 

Re: URL Validation with Struts validator

2003-03-05 Thread Jeff Kyser
Hey greg,

Perhaps you've seen them, but there are examples of custom validator 
rules in
both 'Programming Jakarta Struts' by Chuck Caveness (Chapter 11) and
"Struts in Action' by Test Husted (Chapter 12). Both chapters are 
available online
(www.oreilly.com and www.husted.com). Please forgive my limited 
library, as I
am sure there are examples in some of the other excellent Struts books 
too.

-jeff

On Wednesday, March 5, 2003, at 04:59  PM, Greg Hess wrote:

I was looking at that but the RFC compliant Regex I found needs to 
split
the string up and examine each segment separately. I think I would have
to build a custom validator rule to handle the URL. I am hoping someone
might have a single Regex I can use with the mask or examples of a
custom rule.

Greg

-Original Message-
From: Jeff Kyser [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 5:26 PM
To: Struts Users Mailing List
Subject: Re: URL Validation with Struts validator
You could probably do a less robust version using the
existing mask rule, could you not?
-jeff

On Wednesday, March 5, 2003, at 04:11  PM, Pani, Gourav wrote:

you will have to do a javascript string validation in the same manner
as is
done for email address validation and include it in
validation-rules.xml.
-Original Message-
From: Greg Hess [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 4:54 PM
To: Struts
Subject: URL Validation with Struts validator
Hi All,

Has anyone implemented URL validation for Struts validator? Can you
share?
Thanks,

Greg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Accepting arrays as values in mapped-backed ActionForms

2003-03-05 Thread James Mitchell
Wow, I'm glad I could help ;D


--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)




> -Original Message-
> From: John Devine [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 05, 2003 3:34 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> 
> 
> Solved:
> 
> On the form bean I now include:
> 
>public String[] getExGroups(String key){
>   return (String[]) existingGroups.get(key);
>}
> 
>public void setExGroups(String key, String[] values){
>   existingGroups.put(key,values);
>}
> 
> and use exGroups(primaryKey) as the multibox property.
> 
> I had tried something similar earlier but I had 
> 
>public Object getExGroups(String key){
>   return existingGroups.get(key);
>}
> 
>public void setExGroups(String key, Object values){
>   existingGroups.put(key,values);
>}
> 
> which I had seen in another example and that accepted only the first
> input from each of the rows of checkboxes as a String and ignored the
> others.
> 
> If you have similar examples that can do the job more elegantly (or
> differently even), I'd love to see them. Ideas can only help.
> 
> 
> -- John
> 
> 
> 
> -Original Message-
> From: John Devine [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 05, 2003 2:10 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> 
> Okay, yes the actual business process is not very well explained.
> Probably I should have used generic object names, but since it's
> started:
> 
> I have a bunch of "story" objects.
> Each story object can belong to 0 or more groups.
> 
> The functionality of this page is to show the user which groups their
> stories belong to as well as to change the groups to which each story
> belongs.
> 
> So the user can page through the list of her stories 
> (generated through
> the search bean, which is actually an attribute on the ActionForm Bean
> (submitToGroupForm)). For each list of 10 stories, the 
> submitToGroupForm
> sets up a map called "existingGroups" which contains a String array of
> the group id's associated with each story. 
> 
> "availableGroups" is an array of String group id's put into
> actionFormBean which contains all the groups the user has 
> permission to
> access.
> 
> So, in addition to the regular info on each story (title, id, plus the
> tile "storyDetailswithBlurb.jsp"), the generated page is a matrix of
> checkboxes:
> One row of "availableGroups" checkboxes for each story.
> 
> The idea was to use the map on the actionForm to receive changes to
> groups, with the key of the map being the storyId, and the value being
> the array of groups Id's that were checked off for each story. Then my
> Action will pass that info off to a bean that will do the 
> reassignment.
> 
> 
> 
> 
> 
> 
> 
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 05, 2003 4:22 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> 
> Ok, I've had time to look over your notes.
> 
> I may be missing some pieces to the puzzle here.
> 
> If I understand you correctly, you've got a bean (searchBean) 
> that has a
> List of Story beans, each with id and title.
> 
> You have a formbean (submitToGroupForm) that returns a Map of Groups
> (getExistingGroups) keyed off of the id from an iteration of the first
> bean (searchBean).
> 
> Is this correct so far?
> Which bean is the form associated with this action? (I am assuming
> submitToGroupForm)
> Why do you iterate over the formbean, then iterate over a 
> field on that
> bean?
> 
> Can you post more details on what you are wanting to accomplish here?
> 
> 
> 
> --
> James Mitchell
> Web Developer/Struts Evangelist
> http://jakarta.apache.org/struts/
> 
> "People demand freedom of speech to make up for the freedom of thought
> which they avoid."
> - Soren Aabye Kierkegaard (1813-1855)
> 
> 
> 
> 
> > -Original Message-
> > From: James Mitchell [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, March 04, 2003 6:38 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> > 
> > 
> > John, sorry for not getting back sooner.  I've been in 
> meetings since
> > lunch.  I'll see what I can work up tonight.
> > 
> > 
> > --
> > James Mitchell
> > Web Developer/Struts Evangelist
> > http://jakarta.apache.org/struts/
> > 
> > "People demand freedom of speech to make up for the freedom 
> of thought
> > which they avoid."
> > - Soren Aabye Kierkegaard (1813-1855)
> > 
> > 
> > 
> > 
> > > -Original Message-
> > > From: John Devine [mailto:[EMAIL PROTECTED] 
> > > Sent: Tuesday, March 04, 2003 2:41 PM
> > > To: 'Struts Users 

Re: [OT] Simulating Concurrent Users

2003-03-05 Thread alexj
you only need to specifie the proxy adress

--
Alexandre Jaquet

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 12:00 AM
Subject: RE: [OT] Simulating Concurrent Users


> Sean, downloaded this software and set it up. Its pretty simple to use.
> Getting a problem though. Its not able to find the link to my application.
> It talks about changing the proxy server of IE. However i don't have the
> rights to do that on my system. Do you have any ideas on this?
>
> Thanks.
>
> -Original Message-
> From: Sean Chambers [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 2:15 PM
> To: 'Struts Users Mailing List'
> Subject: RE: [OT] Simulating Concurrent Users
>
>
> sorry, should point out that its blatantly not open source.  but it is
> free-ish
>
> > -Original Message-
> > From: Sean Chambers [mailto:[EMAIL PROTECTED]
> > Sent: 05 March 2003 19:52
> > To: 'Struts Users Mailing List'
> > Subject: RE: [OT] Simulating Concurrent Users
> >
> >
> > dont flame me for this, but you could try micro$ofts web
> > appliaction stress
> > test tool. it only *runs* on NT x but u can use it to stress
> > anything i
> > think.. and apparently its pretty simple to use.
> >
> > http://www.microsoft.com/technet/treeview/default.asp?url=/tec
> > hnet/itsolutio
> > ns/intranet/downloads/webstres.asp
> >
> > > -Original Message-
> > > From: Jim Krygowski [mailto:[EMAIL PROTECTED]
> > > Sent: 05 March 2003 19:45
> > > To: Struts Users Mailing List
> > > Subject: RE: [OT] Simulating Concurrent Users
> > >
> > >
> > > Does JMeter fit the bill?
> > > http://jakarta.apache.org/jmeter/index.html
> > >
> > >
> > >
> > > > -Original Message-
> > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, March 05, 2003 2:20 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [OT] Simulating Concurrent Users
> > > >
> > > >
> > > > Hi,
> > > > Is there some open source tool or technique that I can use to
> > > > simulate concurrent users for our application? I especially want
> > > > to test our
> > > > connection pooling implementation.
> > > >
> > > > Thanks,
> > > > Gaurav
> > > >
> > > >
> > >
> > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> > **
> > 
> > CONFIDENTIALITY / DISCLAIMER NOTICE
> >
> > This communication contains information, which is confidential
> > and may also be privileged. It is for the exclusive use of
> > the recipient(s). If you are not the intended recipient(s)
> > please note that any distortion, copying or use of this
> > communication or the information in it is strictly prohibited.
> > Any  views or opinions presented are solely those of the
> > author and do not necessarily represent those of
> > Euro RSCG Wnek Gosper.
> >
> > If you have received this communication in error please notify
> > us by e-mailing the author or by telephoning (020  7240 4111)
> > and then delete the communication and any copies of it.
> >
> > This footnote also confirms that this email message has been
> > swept by MIMEsweeper for the presence of computer viruses.
> >
> > http://www.eurorscg.co.uk
> > **
> > 
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> **
> CONFIDENTIALITY / DISCLAIMER NOTICE
>
> This communication contains information, which is confidential
> and may also be privileged. It is for the exclusive use of
> the recipient(s). If you are not the intended recipient(s)
> please note that any distortion, copying or use of this
> communication or the information in it is strictly prohibited.
> Any  views or opinions presented are solely those of the
> author and do not necessarily represent those of
> Euro RSCG Wnek Gosper.
>
> If you have received this communication in error please notify
> us by e-mailing the author or by telephoning (020  7240 4111)
> and then delete the communication and any copies of it.
>
> This footnote also confirms that this email message has been
> swept by MIMEsweeper for the presence of computer viruses.
>
> http://www.eurorscg.co.uk
> **
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PR

directly from a HashMap?

2003-03-05 Thread JHardy
By accident I discovered that I am able to display information directly
from a HashMap using :



Based on my reading of the Bean Tags API Reference I didn't think it was
possible to do this.

I have done something similar using Map-backed ActionForms with setValue()
and getValue methods that
access a private HashMap:



Is there any reason why it would not be a good practice to display
information directly from a HashMap using  ?

Thanks for any ideas on this.
Jack



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Simulating Concurrent Users

2003-03-05 Thread Sean Chambers
i dont know it that well but from the documentation below you have to modify
the browsers proxy settings so that the proxy server is pointing to
Localhost and the port used is 8000. 

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnduwon/htm
l/d5wast_2.asp

you should be able to make this change, even without local admin rights...

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 05 March 2003 23:00
> To: [EMAIL PROTECTED]
> Subject: RE: [OT] Simulating Concurrent Users
> 
> 
> Sean, downloaded this software and set it up. Its pretty 
> simple to use.
> Getting a problem though. Its not able to find the link to my 
> application.
> It talks about changing the proxy server of IE. However i 
> don't have the
> rights to do that on my system. Do you have any ideas on this?
> 
> Thanks.
> 
> -Original Message-
> From: Sean Chambers [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 2:15 PM
> To: 'Struts Users Mailing List'
> Subject: RE: [OT] Simulating Concurrent Users
> 
> 
> sorry, should point out that its blatantly not open source.  but it is
> free-ish
> 
> > -Original Message-
> > From: Sean Chambers [mailto:[EMAIL PROTECTED]
> > Sent: 05 March 2003 19:52
> > To: 'Struts Users Mailing List'
> > Subject: RE: [OT] Simulating Concurrent Users
> > 
> > 
> > dont flame me for this, but you could try micro$ofts web 
> > appliaction stress
> > test tool. it only *runs* on NT x but u can use it to stress 
> > anything i
> > think.. and apparently its pretty simple to use.
> > 
> > http://www.microsoft.com/technet/treeview/default.asp?url=/tec
> > hnet/itsolutio
> > ns/intranet/downloads/webstres.asp
> > 
> > > -Original Message-
> > > From: Jim Krygowski [mailto:[EMAIL PROTECTED]
> > > Sent: 05 March 2003 19:45
> > > To: Struts Users Mailing List
> > > Subject: RE: [OT] Simulating Concurrent Users
> > > 
> > > 
> > > Does JMeter fit the bill?  
> > > http://jakarta.apache.org/jmeter/index.html
> > > 
> > > 
> > > 
> > > > -Original Message-
> > > > From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, March 05, 2003 2:20 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [OT] Simulating Concurrent Users
> > > > 
> > > > 
> > > > Hi,
> > > > Is there some open source tool or technique 
> that I can use to
> > > > simulate concurrent users for our application? I 
> especially want 
> > > > to test our
> > > > connection pooling implementation.
> > > > 
> > > > Thanks,
> > > > Gaurav
> > > > 
> > > > 
> > > 
> > 
> -
> > > > To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > > For additional commands, e-mail: 
> > [EMAIL PROTECTED]
> > > > 
> > > > 
> > > 
> > > 
> > 
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > > 
> > 
> > 
> > **
> > 
> > CONFIDENTIALITY / DISCLAIMER NOTICE
> > 
> > This communication contains information, which is confidential 
> > and may also be privileged. It is for the exclusive use of 
> > the recipient(s). If you are not the intended recipient(s)
> > please note that any distortion, copying or use of this
> > communication or the information in it is strictly prohibited.
> > Any  views or opinions presented are solely those of the
> > author and do not necessarily represent those of
> > Euro RSCG Wnek Gosper.
> > 
> > If you have received this communication in error please notify 
> > us by e-mailing the author or by telephoning (020  7240 4111)
> > and then delete the communication and any copies of it.
> > 
> > This footnote also confirms that this email message has been
> > swept by MIMEsweeper for the presence of computer viruses.
> > 
> > http://www.eurorscg.co.uk
> > **
> > 
> > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> **
> 
> CONFIDENTIALITY / DISCLAIMER NOTICE
> 
> This communication contains information, which is confidential 
> and may also be privileged. It is for the exclusive use of 
> the recipient(s). If you are not the intended recipient(s)
> please note that any distortion, copying or use of this
> communication or the information in it is strictly prohibited.
> Any  views or opinions presented are solely those of the
> author and do not necessarily represent those of
> Euro RSCG Wnek Gosper.
> 
> If you have received this communication in error please notify 
> us by e-mailing the author or by telephoning (020  7240 4111)
> and then delete the communication and any copies of

RE: [OT] Simulating Concurrent Users

2003-03-05 Thread Gaurav . Goyal
Sean, downloaded this software and set it up. Its pretty simple to use.
Getting a problem though. Its not able to find the link to my application.
It talks about changing the proxy server of IE. However i don't have the
rights to do that on my system. Do you have any ideas on this?

Thanks.

-Original Message-
From: Sean Chambers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 2:15 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Simulating Concurrent Users


sorry, should point out that its blatantly not open source.  but it is
free-ish

> -Original Message-
> From: Sean Chambers [mailto:[EMAIL PROTECTED]
> Sent: 05 March 2003 19:52
> To: 'Struts Users Mailing List'
> Subject: RE: [OT] Simulating Concurrent Users
> 
> 
> dont flame me for this, but you could try micro$ofts web 
> appliaction stress
> test tool. it only *runs* on NT x but u can use it to stress 
> anything i
> think.. and apparently its pretty simple to use.
> 
> http://www.microsoft.com/technet/treeview/default.asp?url=/tec
> hnet/itsolutio
> ns/intranet/downloads/webstres.asp
> 
> > -Original Message-
> > From: Jim Krygowski [mailto:[EMAIL PROTECTED]
> > Sent: 05 March 2003 19:45
> > To: Struts Users Mailing List
> > Subject: RE: [OT] Simulating Concurrent Users
> > 
> > 
> > Does JMeter fit the bill?  
> > http://jakarta.apache.org/jmeter/index.html
> > 
> > 
> > 
> > > -Original Message-
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 05, 2003 2:20 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [OT] Simulating Concurrent Users
> > > 
> > > 
> > > Hi,
> > >   Is there some open source tool or technique that I can use to
> > > simulate concurrent users for our application? I especially want 
> > > to test our
> > > connection pooling implementation.
> > > 
> > > Thanks,
> > > Gaurav
> > > 
> > > 
> > 
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> **
> 
> CONFIDENTIALITY / DISCLAIMER NOTICE
> 
> This communication contains information, which is confidential 
> and may also be privileged. It is for the exclusive use of 
> the recipient(s). If you are not the intended recipient(s)
> please note that any distortion, copying or use of this
> communication or the information in it is strictly prohibited.
> Any  views or opinions presented are solely those of the
> author and do not necessarily represent those of
> Euro RSCG Wnek Gosper.
> 
> If you have received this communication in error please notify 
> us by e-mailing the author or by telephoning (020  7240 4111)
> and then delete the communication and any copies of it.
> 
> This footnote also confirms that this email message has been
> swept by MIMEsweeper for the presence of computer viruses.
> 
> http://www.eurorscg.co.uk
> **
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


**
CONFIDENTIALITY / DISCLAIMER NOTICE

This communication contains information, which is confidential 
and may also be privileged. It is for the exclusive use of 
the recipient(s). If you are not the intended recipient(s)
please note that any distortion, copying or use of this
communication or the information in it is strictly prohibited.
Any  views or opinions presented are solely those of the
author and do not necessarily represent those of
Euro RSCG Wnek Gosper.

If you have received this communication in error please notify 
us by e-mailing the author or by telephoning (020  7240 4111)
and then delete the communication and any copies of it.

This footnote also confirms that this email message has been
swept by MIMEsweeper for the presence of computer viruses.

http://www.eurorscg.co.uk
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: URL Validation with Struts validator

2003-03-05 Thread Greg Hess
I was looking at that but the RFC compliant Regex I found needs to split
the string up and examine each segment separately. I think I would have
to build a custom validator rule to handle the URL. I am hoping someone
might have a single Regex I can use with the mask or examples of a
custom rule.

Greg

-Original Message-
From: Jeff Kyser [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 5:26 PM
To: Struts Users Mailing List
Subject: Re: URL Validation with Struts validator

You could probably do a less robust version using the
existing mask rule, could you not?

-jeff

On Wednesday, March 5, 2003, at 04:11  PM, Pani, Gourav wrote:

> you will have to do a javascript string validation in the same manner 
> as is
> done for email address validation and include it in 
> validation-rules.xml.
>
> -Original Message-
> From: Greg Hess [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 4:54 PM
> To: Struts
> Subject: URL Validation with Struts validator
>
>
> Hi All,
>
> Has anyone implemented URL validation for Struts validator? Can you
> share?
>
> Thanks,
>
> Greg
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: web site using struts

2003-03-05 Thread apachep2
Can you search the archive? There are bunch of postings answered your
question, even same title.

-Original Message-
From: Paul [mailto:[EMAIL PROTECTED] 
Sent: March 5, 2003 5:10 PM
To: Struts Users Mailing List
Subject: web site using struts

Hi
I am new with the technology.
I am looking for web site using Struts, any adresss ?  If possible,
example
with code ?

thanks


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Weblogic 7.0 slow problem when struts in ear file

2003-03-05 Thread Chai Ang
Hi there all,
It's not strictly a struts question
but am really stuck and need some advice.

I have an ear file which when deployed
under weblogic 7.0, behaves as expected as far
as functionality and performance.

However, when I include the struts-example.war
into this ear, and when I try to access the
struts-example URL, it takes like 9 minutes to come
up with the first struts jsp page. (This is after
weblogic has started up and ready to serve).

A simple JSP page with no struts in the ear takes like
almost no time to serve.

Initially I thought struts was heavy but
when I take the struts war file out, and deploy it
standalone (ie as not part of the ear), it takes like
30 seconds (if that) to do the same.

Obviously, struts and my ear does not like each other.
(ie 11 minutes v/s <30 seconds).

I'm not sure what to look out for?
What settings could be clashing as they behave acceptably
when separated? ie what should I be looking for.

The machine is a dual CPU P3-550, Windows 2000 sp2,
with 512Mb RAM in case that is important.

All suggestions most welcomed.

Many thanks in advance,
Chai
##
Attention: 

The information in this electronic mail is privileged and
confidential, intended only for use of the individual or entity named.
If you are not the intended recipient, any dissemination, copying or
use of the information is strictly prohibited.  If you have received
this transmission in error, please delete it immediately from your
system and inform us via mailto [EMAIL PROTECTED]

This e-mail has been scanned and cleared by MailMarshal 
##

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



web site using struts

2003-03-05 Thread Paul
Hi
I am new with the technology.
I am looking for web site using Struts, any adresss ?  If possible, example
with code ?

thanks


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: URL Validation with Struts validator

2003-03-05 Thread Jeff Kyser
You could probably do a less robust version using the
existing mask rule, could you not?
-jeff

On Wednesday, March 5, 2003, at 04:11  PM, Pani, Gourav wrote:

you will have to do a javascript string validation in the same manner 
as is
done for email address validation and include it in 
validation-rules.xml.

-Original Message-
From: Greg Hess [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 4:54 PM
To: Struts
Subject: URL Validation with Struts validator
Hi All,

Has anyone implemented URL validation for Struts validator? Can you
share?
Thanks,

Greg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: editable list using nested:iterate and lazyList

2003-03-05 Thread alexj
But maybe I'm wrong because I've done to much programming with Eiffel...

--
Alexandre Jaquet

- Original Message -
From: "William Salvucci" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 10:14 PM
Subject: editable list using nested:iterate and lazyList


I posted this already on another thread, but I thought that I would try it
again with some more detail.

I am trying to create an editable list based on some examples using
nested:iterate and ListUtils.lazyList that I have seen offered on this
mailing list.
I have created a simple example, the flow of which is detail action ->
jsp -> control action. The form that is used by all of these looks like:

private List bananas = ListUtils.lazyList(new ArrayList(),
  new Factory()
  {
public Object create() {
  return new BananaBean();
}
  });
  public List getBananas() { return bananas; }

The detail action adds BananaBean instances using bananas.add. Inside a
nested:form on the jsp I have



  

and in the control action, I do form.getBananas() and print out the values
to see if they reflect the changes I made on the page.

I can't even successfully display the jsp. I get the following exception:
java.lang.IllegalArgumentException: Property 'bananas' is not indexed

I can't think of a simplier example. Any ideas?

I'm using nested_tags_10.jar with 1.3.1

BTW: LazyList implements Collection so it's indexed, right?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: editable list using nested:iterate and lazyList

2003-03-05 Thread alexj
A collection use an iterator, an collection who use an array for it's
internal structure use an index.

If you use an invalid collection you will got an cannot create iterator
for bean 

If you use an in-proper Array structure you will got an exception could
not create index.

I got a question why do you use an LazyList 

--
Alexandre Jaquet

- Original Message -
From: "William Salvucci" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 10:14 PM
Subject: editable list using nested:iterate and lazyList


I posted this already on another thread, but I thought that I would try it
again with some more detail.

I am trying to create an editable list based on some examples using
nested:iterate and ListUtils.lazyList that I have seen offered on this
mailing list.
I have created a simple example, the flow of which is detail action ->
jsp -> control action. The form that is used by all of these looks like:

private List bananas = ListUtils.lazyList(new ArrayList(),
  new Factory()
  {
public Object create() {
  return new BananaBean();
}
  });
  public List getBananas() { return bananas; }

The detail action adds BananaBean instances using bananas.add. Inside a
nested:form on the jsp I have



  

and in the control action, I do form.getBananas() and print out the values
to see if they reflect the changes I made on the page.

I can't even successfully display the jsp. I get the following exception:
java.lang.IllegalArgumentException: Property 'bananas' is not indexed

I can't think of a simplier example. Any ideas?

I'm using nested_tags_10.jar with 1.3.1

BTW: LazyList implements Collection so it's indexed, right?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: editable list using nested:iterate and lazyList

2003-03-05 Thread alexj
I give a sample is use when I need to populate an view :

I got an ActionForm :

public class StudentForm extends ActionForm {

private String formationSelected = "Analyste Programmeur";

private Collection formationList = null;


private Collection formationListID = null;


private Collection groupList = null;


private Collection groupListID = null;

private String group = "cycle 1a";


..

..

/**

* Get the formationList.

* @return Collection.

*/

public Collection getFormationList () {


formationList = Formation.getFormations();

return formationList;

}



/**

* Get the formationListID.

* @return Collection.

*/

public Collection getFormationListID () {


formationListID = Formation.getFormationsID();

return formationListID;

}

/**

* Get the groupList.

* @return Collection.

*/



public Collection getGroupList () {


groupList = Groupe.getGroupsOfStudent();

return groupList;

}



/**

* Get the groupList.

* @return Collection.

*/



public Collection getGroupListID () {

groupListID = Groupe.getGroupID();

return groupListID;

}

..

I got an viewstudent action :

public ActionForward execute(

ActionMapping mapping,

ActionForm form,

HttpServletRequest request,

HttpServletResponse response)

throws Exception {

Collection students = null;

StudentForm studentForm = (StudentForm) form;

students = getStudents ();

HttpSession session = request.getSession();

session.setAttribute("students", students);

return mapping.findForward("viewstudent");

}



/**

* Get all students.

*/

protected ArrayList getStudents () {


return Student.getStudents();

}

And my jsp view for studentview is :

<%@ page session="true" %>
<%@ page import="org.apache.taglibs.display.test.TestList,
 org.apache.taglibs.display.test.ListHolder,
 java.util.List"%>
<%@ taglib uri="http://jakarta.apache.org/taglibs/display"; prefix="display"
%>
<%@ taglib uri="/WEB-INF/struts-menu.tld" prefix="menu"%>






  
  
  










 
 
 
 
 
 



  
  
  
  
  
  
  
  
  
  
  
  





The getstudent action serve me to get

the student an user who whant to edit him

I got an getstudentaction who create a new

studentform and populate this form with

the data of the choosen student previously

selected.



I hope this can help you.

--

Alexandre Jaquet

- Original Message -
From: "William Salvucci" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 10:14 PM
Subject: editable list using nested:iterate and lazyList


I posted this already on another thread, but I thought that I would try it
again with some more detail.

I am trying to create an editable list based on some examples using
nested:iterate and ListUtils.lazyList that I have seen offered on this
mailing list.
I have created a simple example, the flow of which is detail action ->
jsp -> control action. The form that is used by all of these looks like:

private List bananas = ListUtils.lazyList(new ArrayList(),
  new Factory()
  {
public Object create() {
  return new BananaBean();
}
  });
  public List getBananas() { return bananas; }

The detail action adds BananaBean instances using bananas.add. Inside a
nested:form on the jsp I have



  

and in the control action, I do form.getBananas() and print out the values
to see if they reflect the changes I made on the page.

I can't even successfully display the jsp. I get the following exception:
java.lang.IllegalArgumentException: Property 'bananas' is not indexed

I can't think of a simplier example. Any ideas?

I'm using nested_tags_10.jar with 1.3.1

BTW: LazyList implements Collection so it's indexed, right?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: URL Validation with Struts validator

2003-03-05 Thread Pani, Gourav
you will have to do a javascript string validation in the same manner as is
done for email address validation and include it in validation-rules.xml.  

-Original Message-
From: Greg Hess [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 4:54 PM
To: Struts
Subject: URL Validation with Struts validator


Hi All,
 
Has anyone implemented URL validation for Struts validator? Can you
share?
 
Thanks,
 
Greg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: URL Validation with Struts validator

2003-03-05 Thread Greg Hess
I want to ensure my users enter a valid URL in a form.

eg: http://www.somesite.com 

Greg

-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 4:54 PM
To: [EMAIL PROTECTED]
Subject: Re: URL Validation with Struts validator

What is URL validation?

David



>From: "Greg Hess" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts" <[EMAIL PROTECTED]>
>Subject: URL Validation with Struts validator
>Date: Wed, 5 Mar 2003 16:53:36 -0500
>
>Hi All,
>
>Has anyone implemented URL validation for Struts validator? Can you
>share?
>
>Thanks,
>
>Greg


_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: URL Validation with Struts validator

2003-03-05 Thread David Graham
What is URL validation?

David



From: "Greg Hess" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts" <[EMAIL PROTECTED]>
Subject: URL Validation with Struts validator
Date: Wed, 5 Mar 2003 16:53:36 -0500
Hi All,

Has anyone implemented URL validation for Struts validator? Can you
share?
Thanks,

Greg


_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Struts Tiles and UTF-8

2003-03-05 Thread Bueno Carlos M
Hey, Jim -- It sounds like your tiles-defs.xml and applications.properties
are in two different character sets. XML is by default UTF-8, and I'm
guessing your apps properties file is in iso-8859-2 or something like that.
Keep in mind this is a SWAG, but if you copy some characters from your
tiles-defs file into your properties file using a good, 8-bit-clean editor
like vi, those will come out ok.



-Original Message-
From: Jim Theodoridis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 4:21 PM
To: Struts Users Mailing List
Subject: Struts Tiles and UTF-8


Hi.

I use PostgreSQL with UNICODE and Greek characters

when i display the data from struts without tiles everything is fine
The characters displays in greek from database and from
application.properties
without <%@ page contentType="text/html; charset=UTF-8" %>

The problem is when i tried to use tiles
then if i use <%@ page contentType="text/html; charset=UTF-8" %>
at classicLayout the characters from tiles-def.xml displayed fine but the
data and the characters from  application.properties displays as 

When i remove <%@ page contentType="text/html; charset=UTF-8" %> from
classicLayout then  the data and the characters from  application.properties
displays fine but the characters from tiles-def.xml displays as 

Whats happening?






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


URL Validation with Struts validator

2003-03-05 Thread Greg Hess
Hi All,
 
Has anyone implemented URL validation for Struts validator? Can you
share?
 
Thanks,
 
Greg


Re: TILES - Network Traffic...

2003-03-05 Thread Puneet Agarwal
Great to see your mail...
that certainly is a great approach ...
But I was thinking on following lines ..

"Let's have an embedded IFRAME in the HTML, this shall remain invisible
though out the operation...
On click of the new tab, the html in the iframe shall be submitted to
desired action class path identifier and we manage the tab's using div or
span just the way you have explained. This approach shall use the same
IFRAME to submit for all tabs."

If it can work the way you have suggested, it would certainly make our life
simpler...we would not require the hidden IFRAME.
Cheers
Puneet
- Original Message -
From: "Hue Holleran" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>; "'Puneet
Agarwal'" <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 11:46 AM
Subject: RE: TILES - Network Traffic...


> Hi Puneet,
>
> Sorry for the delay in responding - I've been away for a few days.
>
> What you describe is similar to what we did in a web application about 12
> months ago - but that was using  to display/hide the page
> contents - so in fact all tabs were loaded first and then just displayed
> when needed. This was using a bit of javascript on the client - the most
> difficult part was rebuilding the "tabs" on the client browser - to
visibly
> highlight the page being displayed. This was done by building a HTML
string
> in script and assigning the contents of the string to the innerHTML of a
> 
>
> I guess it may be possible to check if the IFrame has been loaded (i.e.
src
> has been populated) and if not set the "src" property and set visibility
to
> "visible" (after setting the non-selected tabs' visibility to hidden).
This
> would allow re-displaying already downloaded tab's contents and
downloading
> on-the-fly new tabs. Already downloaded IFrames would be rendered but
> hidden. This may work very nicely indeed.
>
> H.
>
> -Original Message-
> From: Puneet Agarwal [mailto:[EMAIL PROTECTED]
> Sent: 03 March 2003 20:11
> To: Struts Users Mailing List
> Subject: Re: TILES - Network Traffic...
>
>
> Hue,
> That's exactly what I am looking at to be able to use both TILES and
> IFRAMES.
> Especially for TAB's, I want to achieve the following :
>
> "My page has two tabs, when the page loads up, it shows the fist tab and
has
> not brought the information about second tab,
> but when use clicks on the second tab, information about the second tab
> comes from the server side, now after this if user goes back to tab 1, it
> should not go to server side."
>
> I am looking as to how can I achieve this using both TILES and IFRAMES, to
> avoid the network round-trip.
>
> I understand that this may not be possible by using "TILES only".
>
> Thanks for your views
> Cheers
> Puneet
>
> - Original Message -
> From: "Hue Holleran" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>;
"'Puneet
> Agarwal'" <[EMAIL PROTECTED]>
> Sent: Monday, March 03, 2003 6:22 PM
> Subject: RE: TILES - Network Traffic...
>
>
> > Please don't flame - I'm not trying to start a tiles vs frames debate.
> >
> > If bandwidth is absolutely critical then you may want to consider
(shock!
> > horror!) frames or use inline IFrames. Tiles is great but will produce a
> bit
> > of extra output over frames as it will generally be used to render the
> > entire page, header, body, menu footer etc.  Images should be cached by
> the
> > browser, as will other add-in files if you use references to external
.js
> > files etc.
> >
> > I think it will be unlikely that you could save much bandwidth by using
> > frames but you may be able to reduce the bandwidth a little - if you
> really,
> > really have to - but this will be offset by the (significantly?)
increased
> > difficulty of managing and developing with frames, particularly.
> Personally
> > I do not favour frames.
> >
> > Tiles makes it much, much easier to manage layouts but is analagous to a
> > jsp:include (but oh so much more powerful - see link in Cedric's email
for
> > earlier thread) so will not, in itself save bandwidth.
> >
> > You can still use IFrames with tiles and this combination can be great
for
> > say a menu that needs to flick between a few options - I guess you could
> use
> > javascript to dynamically update the reference in an IFrame and this
will
> > save bandwidth.
> >
> > H.
> >
> > -Original Message-
> > From: Puneet Agarwal [mailto:[EMAIL PROTECTED]
> > Sent: 03 March 2003 16:45
> > To: Struts Users Mailing List
> > Subject: TILES - Network Traffic...
> >
> >
> > I am quite new to TILES and have a query abt the way it renders HTML
> pages.
> >
> > Does it embed the javaScript code into the HTML page itself or
> > it has generic JavaScript Library files, and includes them using a
> > JavaScript include directive in HTML for JavaScript file, so that it
could
> > be cached at client side and lead to smaller payload on network front.
> > If not is there any other advantage of using TILES.
> >
> > For our p

RE: [OT] Don't beat on James! (was RE: [OT] JavaScript: ActionFor mDoes Not Contain Dynamically Set Data)

2003-03-05 Thread Dave Newton
On Wed, 2003-03-05 at 10:27, Sean Chambers wrote:
> my ZX81 had a 16k RAM pack.

I remember those.

We implemented a page-swapping system so we could address 64K but it was
tightly coupled to the dexterity of the user.

Dave



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Struts Tiles and UTF-8

2003-03-05 Thread Jim Theodoridis
Hi.

I use PostgreSQL with UNICODE and Greek characters

when i display the data from struts without tiles everything is fine
The characters displays in greek from database and from
application.properties
without <%@ page contentType="text/html; charset=UTF-8" %>

The problem is when i tried to use tiles
then if i use <%@ page contentType="text/html; charset=UTF-8" %>
at classicLayout the characters from tiles-def.xml displayed fine but the
data and the characters from  application.properties displays as 

When i remove <%@ page contentType="text/html; charset=UTF-8" %> from
classicLayout then  the data and the characters from  application.properties
displays fine but the characters from tiles-def.xml displays as 

Whats happening?






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



editable list using nested:iterate and lazyList

2003-03-05 Thread William Salvucci
I posted this already on another thread, but I thought that I would try it again with 
some more detail.
 
I am trying to create an editable list based on some examples using nested:iterate and 
ListUtils.lazyList that I have seen offered on this mailing list.
I have created a simple example, the flow of which is detail action -> jsp -> control 
action. The form that is used by all of these looks like:
 
private List bananas = ListUtils.lazyList(new ArrayList(),
  new Factory()
  {
public Object create() {
  return new BananaBean();
}
  });
  public List getBananas() { return bananas; }
 
The detail action adds BananaBean instances using bananas.add. Inside a nested:form on 
the jsp I have
 


  
 
and in the control action, I do form.getBananas() and print out the values to see if 
they reflect the changes I made on the page.
 
I can't even successfully display the jsp. I get the following exception:
java.lang.IllegalArgumentException: Property 'bananas' is not indexed 
 
I can't think of a simplier example. Any ideas?
 
I'm using nested_tags_10.jar with 1.3.1
 
BTW: LazyList implements Collection so it's indexed, right?



RE: Problems with ValidatorForm: validate is being called when it shouldn't be...

2003-03-05 Thread Larry Zappeterrini
There are two approaches to solving this problem. The first is to create two
separate action mappings. One for the display of the form and the other for
the form to submit to. Only put validation of the mapping that receives the
submission. The second solution is to use a DispatchAction. This allows you
to have two steps in the mapping. The first step is to present the blank
form, the second step is to process the form submission. Only validate the
step where the submission occurs. I usually prefer the second method.

Cheers,
Larry

-Original Message-
From: Ruud Steeghs [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 6:02 AM
To: [EMAIL PROTECTED]
Subject: Problems with ValidatorForm: validate is being called when it
shouldn't be...


There's a strange situation regarding to the
ValidatorForm.

I want to display an empty Form (e.g. for a new
functionality), but all validation rules have already
fired.
I don't think this was the case using a regular
ActionForm, however with ValidatorForm all fields are
being validated before they are being displayed!

Anyone any idea how to solve this problem?

Ruud.

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


*** 
This electronic mail transmission contains confidential and/or privileged 
information intended only for the person(s) named.  Any use, distribution, 
copying or disclosure by another person is strictly prohibited. 
*** 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: REPOST: How to specify input to validating multi-page wizard?

2003-03-05 Thread Jeff Kyser
Thanks, Larry & James, I appreciate the feedback. Will proceed that way 
then.

-jeff

On Wednesday, March 5, 2003, at 02:34  PM, James Higginbotham wrote:

I assume you are managing the wizard using your own action and 
mappings?
If so, I did a similar design for my product. Essentially, I had to
create a mapping for each step so that the input could be specified
properly. Then, each JSP posted to the proper step mapping. For 
example,
I had /wizard1, /wizard2, and /wizard3.. On the 2nd wizard page, I had
it post to /wizard2, whose mapping had an input="/my/wizard2.jsp" to
ensure it goes to the second step.. IN the validation framework, you 
can
specify the page number using a hidden field on each JSP, like hidden
name="page" value="2", and specify the same page number as an attribute
in the validation.xml file for your bean.

HTH,
James
-Original Message-
From: Jeff Kyser [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 2:30 PM
To: Struts Users Mailing List
Subject: REPOST: How to specify input to validating multi-page wizard?
I guess I should have indicated that I am letting the
validation framework handle this. Is my only choice for this
to turn validation off and explicitly call validate() in the
Action where I can then direct it to the appropriate wizard page?
thanks,

-jeff

On Wednesday, March 5, 2003, at 11:22  AM, Jeff Kyser wrote:

Hello,

I have an Action for a multi-page wizard. I'm using
DynaValidatorForm.
What I'm having trouble with is this: if I submit a page
and it fails
due to validation rules, how can I direct it back to the "current"
page?
As you can see below, I've supplied input="sandbox.wizard.page1" to
give it the first page to fall back to, but that's no good
if the user
makes it past the first page and fails on the second. ('d want to
display the second page there and let them try again)
If I omit the input parameter, I get (as expected):

	No input attribute for mapping path /wizard

Any ideas?

TIA,

-jeff

my struts-config.xml snippet below:

















-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Accepting arrays as values in mapped-backed ActionForms

2003-03-05 Thread John Devine
Solved:

On the form bean I now include:

   public String[] getExGroups(String key){
  return (String[]) existingGroups.get(key);
   }

   public void setExGroups(String key, String[] values){
  existingGroups.put(key,values);
   }

and use exGroups(primaryKey) as the multibox property.

I had tried something similar earlier but I had 

   public Object getExGroups(String key){
  return existingGroups.get(key);
   }

   public void setExGroups(String key, Object values){
  existingGroups.put(key,values);
   }

which I had seen in another example and that accepted only the first
input from each of the rows of checkboxes as a String and ignored the
others.

If you have similar examples that can do the job more elegantly (or
differently even), I'd love to see them. Ideas can only help.


-- John



-Original Message-
From: John Devine [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 2:10 PM
To: 'Struts Users Mailing List'
Subject: RE: Accepting arrays as values in mapped-backed ActionForms

Okay, yes the actual business process is not very well explained.
Probably I should have used generic object names, but since it's
started:

I have a bunch of "story" objects.
Each story object can belong to 0 or more groups.

The functionality of this page is to show the user which groups their
stories belong to as well as to change the groups to which each story
belongs.

So the user can page through the list of her stories (generated through
the search bean, which is actually an attribute on the ActionForm Bean
(submitToGroupForm)). For each list of 10 stories, the submitToGroupForm
sets up a map called "existingGroups" which contains a String array of
the group id's associated with each story. 

"availableGroups" is an array of String group id's put into
actionFormBean which contains all the groups the user has permission to
access.

So, in addition to the regular info on each story (title, id, plus the
tile "storyDetailswithBlurb.jsp"), the generated page is a matrix of
checkboxes:
One row of "availableGroups" checkboxes for each story.

The idea was to use the map on the actionForm to receive changes to
groups, with the key of the map being the storyId, and the value being
the array of groups Id's that were checked off for each story. Then my
Action will pass that info off to a bean that will do the reassignment.







-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 4:22 AM
To: 'Struts Users Mailing List'
Subject: RE: Accepting arrays as values in mapped-backed ActionForms

Ok, I've had time to look over your notes.

I may be missing some pieces to the puzzle here.

If I understand you correctly, you've got a bean (searchBean) that has a
List of Story beans, each with id and title.

You have a formbean (submitToGroupForm) that returns a Map of Groups
(getExistingGroups) keyed off of the id from an iteration of the first
bean (searchBean).

Is this correct so far?
Which bean is the form associated with this action? (I am assuming
submitToGroupForm)
Why do you iterate over the formbean, then iterate over a field on that
bean?

Can you post more details on what you are wanting to accomplish here?



--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)




> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 04, 2003 6:38 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> 
> 
> John, sorry for not getting back sooner.  I've been in meetings since
> lunch.  I'll see what I can work up tonight.
> 
> 
> --
> James Mitchell
> Web Developer/Struts Evangelist
> http://jakarta.apache.org/struts/
> 
> "People demand freedom of speech to make up for the freedom of thought
> which they avoid."
> - Soren Aabye Kierkegaard (1813-1855)
> 
> 
> 
> 
> > -Original Message-
> > From: John Devine [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, March 04, 2003 2:41 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> > 
> > 
> > Sure I'd love to see an example!
> > 
> > But like I said, I ended up using the scriptlets for 
> iteration because
> > within the iteration of "storyList" I call a tile like so:
> > 
> >   
> >  page="/WEB-INF/tilestemplates/storyDetailwithBlurb.jsp" >
> >  
> >  
> > 
> >   
> > 
> > and I couldn't get the tile to be called properly when it was 
> > within an
> >  tag. (and I haven't boned up on the nested 
> tags enough
> > to be comfortable with them yet).
> > 
> > If you have an example of naming the property of the multibox 
> > to accept
> > a set of options for each story in the iteration, that's 
> where my real
> > problem lies right now. The way I have it now works fine for 

RE: REPOST: How to specify input to validating multi-page wizard?

2003-03-05 Thread James Higginbotham
I assume you are managing the wizard using your own action and mappings?
If so, I did a similar design for my product. Essentially, I had to
create a mapping for each step so that the input could be specified
properly. Then, each JSP posted to the proper step mapping. For example,
I had /wizard1, /wizard2, and /wizard3.. On the 2nd wizard page, I had
it post to /wizard2, whose mapping had an input="/my/wizard2.jsp" to
ensure it goes to the second step.. IN the validation framework, you can
specify the page number using a hidden field on each JSP, like hidden
name="page" value="2", and specify the same page number as an attribute
in the validation.xml file for your bean. 

HTH,
James

> -Original Message-
> From: Jeff Kyser [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 05, 2003 2:30 PM
> To: Struts Users Mailing List
> Subject: REPOST: How to specify input to validating multi-page wizard?
> 
> 
> I guess I should have indicated that I am letting the 
> validation framework handle this. Is my only choice for this 
> to turn validation off and explicitly call validate() in the 
> Action where I can then direct it to the appropriate wizard page?
> 
> thanks,
> 
> -jeff
> 
> On Wednesday, March 5, 2003, at 11:22  AM, Jeff Kyser wrote:
> 
> > Hello,
> >
> > I have an Action for a multi-page wizard. I'm using 
> DynaValidatorForm.
> >
> > What I'm having trouble with is this: if I submit a page 
> and it fails 
> > due to validation rules, how can I direct it back to the "current" 
> > page?
> >
> > As you can see below, I've supplied input="sandbox.wizard.page1" to 
> > give it the first page to fall back to, but that's no good 
> if the user
> > makes it past the first page and fails on the second. ('d want to
> > display the second page there and let them try again)
> >
> > If I omit the input parameter, I get (as expected):
> >
> > No input attribute for mapping path /wizard
> >
> > Any ideas?
> >
> > TIA,
> >
> > -jeff
> >
> > my struts-config.xml snippet below:
> >
> >  > type="torch.webapp.sandbox.action.WizardAction"
> > name="wizardForm"
> > scope="request"
> > validate="true">
> >  >  path="/do/go2wizard">
> > 
> >  >  path="sandbox.wizard.page1">
> > 
> >  >  path="sandbox.wizard.page2">
> > 
> >  >  path="/do/wizard/success">
> > 
> > 
> >
> >  > parameter="sandbox.wizard.page1"
> > validate="false"
> > name="wizardForm"
> > type="org.apache.struts.actions.ForwardAction">
> > 
> >
> >  > parameter="sandbox.wizard.success"
> > validate="false"
> > name="wizardSuccessForm"
> > type="org.apache.struts.actions.ForwardAction">
> > 
> >
> >
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: REPOST: How to specify input to validating multi-page wizard?

2003-03-05 Thread Larry Zappeterrini
You have to define separate action mappings for each step of your form in
order for the validation to behave properly.

-Original Message-
From: Jeff Kyser [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 3:30 PM
To: Struts Users Mailing List
Subject: REPOST: How to specify input to validating multi-page wizard?


I guess I should have indicated that I am letting the validation
framework handle this. Is my only choice for this to turn validation
off and explicitly call validate() in the Action where I can then direct
it to the appropriate wizard page?

thanks,

-jeff

On Wednesday, March 5, 2003, at 11:22  AM, Jeff Kyser wrote:

> Hello,
>
> I have an Action for a multi-page wizard. I'm using DynaValidatorForm.
>
> What I'm having trouble with is this: if I submit a page and it fails
> due to validation rules, how can I direct it back to the "current" 
> page?
>
> As you can see below, I've supplied input="sandbox.wizard.page1"
> to give it the first page to fall back to, but that's no good if the 
> user
> makes it past the first page and fails on the second. ('d want to
> display the second page there and let them try again)
>
> If I omit the input parameter, I get (as expected):
>
>   No input attribute for mapping path /wizard
>
> Any ideas?
>
> TIA,
>
> -jeff
>
> my struts-config.xml snippet below:
>
>  type="torch.webapp.sandbox.action.WizardAction"
> name="wizardForm"
> scope="request"
> validate="true">
>   path="/do/go2wizard">
> 
>   path="sandbox.wizard.page1">
> 
>   path="sandbox.wizard.page2">
> 
>   path="/do/wizard/success">
> 
> 
>
>  parameter="sandbox.wizard.page1"
> validate="false"
> name="wizardForm"
> type="org.apache.struts.actions.ForwardAction">
> 
>
>  parameter="sandbox.wizard.success"
> validate="false"
> name="wizardSuccessForm"
> type="org.apache.struts.actions.ForwardAction">
> 
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


*** 
This electronic mail transmission contains confidential and/or privileged 
information intended only for the person(s) named.  Any use, distribution, 
copying or disclosure by another person is strictly prohibited. 
*** 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



REPOST: How to specify input to validating multi-page wizard?

2003-03-05 Thread Jeff Kyser
I guess I should have indicated that I am letting the validation
framework handle this. Is my only choice for this to turn validation
off and explicitly call validate() in the Action where I can then direct
it to the appropriate wizard page?
thanks,

-jeff

On Wednesday, March 5, 2003, at 11:22  AM, Jeff Kyser wrote:

Hello,

I have an Action for a multi-page wizard. I'm using DynaValidatorForm.

What I'm having trouble with is this: if I submit a page and it fails
due to validation rules, how can I direct it back to the "current" 
page?

As you can see below, I've supplied input="sandbox.wizard.page1"
to give it the first page to fall back to, but that's no good if the 
user
makes it past the first page and fails on the second. ('d want to
display the second page there and let them try again)

If I omit the input parameter, I get (as expected):

	No input attribute for mapping path /wizard

Any ideas?

TIA,

-jeff

my struts-config.xml snippet below:















-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: [OT] Simulating Concurrent Users

2003-03-05 Thread Sean Chambers
sorry, should point out that its blatantly not open source.  but it is
free-ish

> -Original Message-
> From: Sean Chambers [mailto:[EMAIL PROTECTED]
> Sent: 05 March 2003 19:52
> To: 'Struts Users Mailing List'
> Subject: RE: [OT] Simulating Concurrent Users
> 
> 
> dont flame me for this, but you could try micro$ofts web 
> appliaction stress
> test tool. it only *runs* on NT x but u can use it to stress 
> anything i
> think.. and apparently its pretty simple to use.
> 
> http://www.microsoft.com/technet/treeview/default.asp?url=/tec
> hnet/itsolutio
> ns/intranet/downloads/webstres.asp
> 
> > -Original Message-
> > From: Jim Krygowski [mailto:[EMAIL PROTECTED]
> > Sent: 05 March 2003 19:45
> > To: Struts Users Mailing List
> > Subject: RE: [OT] Simulating Concurrent Users
> > 
> > 
> > Does JMeter fit the bill?  
> > http://jakarta.apache.org/jmeter/index.html
> > 
> > 
> > 
> > > -Original Message-
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 05, 2003 2:20 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [OT] Simulating Concurrent Users
> > > 
> > > 
> > > Hi,
> > >   Is there some open source tool or technique that I can use to
> > > simulate concurrent users for our application? I especially want 
> > > to test our
> > > connection pooling implementation.
> > > 
> > > Thanks,
> > > Gaurav
> > > 
> > > 
> > 
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> **
> 
> CONFIDENTIALITY / DISCLAIMER NOTICE
> 
> This communication contains information, which is confidential 
> and may also be privileged. It is for the exclusive use of 
> the recipient(s). If you are not the intended recipient(s)
> please note that any distortion, copying or use of this
> communication or the information in it is strictly prohibited.
> Any  views or opinions presented are solely those of the
> author and do not necessarily represent those of
> Euro RSCG Wnek Gosper.
> 
> If you have received this communication in error please notify 
> us by e-mailing the author or by telephoning (020  7240 4111)
> and then delete the communication and any copies of it.
> 
> This footnote also confirms that this email message has been
> swept by MIMEsweeper for the presence of computer viruses.
> 
> http://www.eurorscg.co.uk
> **
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


**
CONFIDENTIALITY / DISCLAIMER NOTICE

This communication contains information, which is confidential 
and may also be privileged. It is for the exclusive use of 
the recipient(s). If you are not the intended recipient(s)
please note that any distortion, copying or use of this
communication or the information in it is strictly prohibited.
Any  views or opinions presented are solely those of the
author and do not necessarily represent those of
Euro RSCG Wnek Gosper.

If you have received this communication in error please notify 
us by e-mailing the author or by telephoning (020  7240 4111)
and then delete the communication and any copies of it.

This footnote also confirms that this email message has been
swept by MIMEsweeper for the presence of computer viruses.

http://www.eurorscg.co.uk
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Accepting arrays as values in mapped-backed ActionForms

2003-03-05 Thread John Devine
Okay, yes the actual business process is not very well explained.
Probably I should have used generic object names, but since it's
started:

I have a bunch of "story" objects.
Each story object can belong to 0 or more groups.

The functionality of this page is to show the user which groups their
stories belong to as well as to change the groups to which each story
belongs.

So the user can page through the list of her stories (generated through
the search bean, which is actually an attribute on the ActionForm Bean
(submitToGroupForm)). For each list of 10 stories, the submitToGroupForm
sets up a map called "existingGroups" which contains a String array of
the group id's associated with each story. 

"availableGroups" is an array of String group id's put into
actionFormBean which contains all the groups the user has permission to
access.

So, in addition to the regular info on each story (title, id, plus the
tile "storyDetailswithBlurb.jsp"), the generated page is a matrix of
checkboxes:
One row of "availableGroups" checkboxes for each story.

The idea was to use the map on the actionForm to receive changes to
groups, with the key of the map being the storyId, and the value being
the array of groups Id's that were checked off for each story. Then my
Action will pass that info off to a bean that will do the reassignment.







-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 4:22 AM
To: 'Struts Users Mailing List'
Subject: RE: Accepting arrays as values in mapped-backed ActionForms

Ok, I've had time to look over your notes.

I may be missing some pieces to the puzzle here.

If I understand you correctly, you've got a bean (searchBean) that has a
List of Story beans, each with id and title.

You have a formbean (submitToGroupForm) that returns a Map of Groups
(getExistingGroups) keyed off of the id from an iteration of the first
bean (searchBean).

Is this correct so far?
Which bean is the form associated with this action? (I am assuming
submitToGroupForm)
Why do you iterate over the formbean, then iterate over a field on that
bean?

Can you post more details on what you are wanting to accomplish here?



--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)




> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 04, 2003 6:38 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> 
> 
> John, sorry for not getting back sooner.  I've been in meetings since
> lunch.  I'll see what I can work up tonight.
> 
> 
> --
> James Mitchell
> Web Developer/Struts Evangelist
> http://jakarta.apache.org/struts/
> 
> "People demand freedom of speech to make up for the freedom of thought
> which they avoid."
> - Soren Aabye Kierkegaard (1813-1855)
> 
> 
> 
> 
> > -Original Message-
> > From: John Devine [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, March 04, 2003 2:41 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> > 
> > 
> > Sure I'd love to see an example!
> > 
> > But like I said, I ended up using the scriptlets for 
> iteration because
> > within the iteration of "storyList" I call a tile like so:
> > 
> >   
> >  page="/WEB-INF/tilestemplates/storyDetailwithBlurb.jsp" >
> >  
> >  
> > 
> >   
> > 
> > and I couldn't get the tile to be called properly when it was 
> > within an
> >  tag. (and I haven't boned up on the nested 
> tags enough
> > to be comfortable with them yet).
> > 
> > If you have an example of naming the property of the multibox 
> > to accept
> > a set of options for each story in the iteration, that's 
> where my real
> > problem lies right now. The way I have it now works fine for 
> > 
> > and single parameter inputs, but I can't get it to work for multiple
> > parameter inputs.
> > 
> > Thanks,
> > 
> > John
> > 
> > 
> > -Original Message-
> > From: James Mitchell [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, March 04, 2003 1:28 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Accepting arrays as values in mapped-backed ActionForms
> > 
> > You can accomplish all of this with tags and elimate your 
> scriptlets.
> > 
> > I have something close to that, let me know if you want an example.
> > 
> > 
> > --
> > James Mitchell
> > Web Developer/Struts Evangelist
> > http://jakarta.apache.org/struts/
> > 
> > "People demand freedom of speech to make up for the freedom 
> of thought
> > which they avoid."
> > - Soren Aabye Kierkegaard (1813-1855)
> > 
> > 
> > 
> > 
> > > -Original Message-
> > > From: John Devine [mailto:[EMAIL PROTECTED] 
> > > Sent: Tuesday, March 04, 2003 1:52 PM
> > > To: 'Struts Users Mailing List'
> > > Subject: RE: Accepting arrays as values in mapped-

RE: [OT] Simulating Concurrent Users

2003-03-05 Thread Sean Chambers
dont flame me for this, but you could try micro$ofts web appliaction stress
test tool. it only *runs* on NT x but u can use it to stress anything i
think.. and apparently its pretty simple to use.

http://www.microsoft.com/technet/treeview/default.asp?url=/technet/itsolutio
ns/intranet/downloads/webstres.asp

> -Original Message-
> From: Jim Krygowski [mailto:[EMAIL PROTECTED]
> Sent: 05 March 2003 19:45
> To: Struts Users Mailing List
> Subject: RE: [OT] Simulating Concurrent Users
> 
> 
> Does JMeter fit the bill?  
> http://jakarta.apache.org/jmeter/index.html
> 
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 05, 2003 2:20 PM
> > To: [EMAIL PROTECTED]
> > Subject: [OT] Simulating Concurrent Users
> > 
> > 
> > Hi,
> > Is there some open source tool or technique that I can use to
> > simulate concurrent users for our application? I especially want 
> > to test our
> > connection pooling implementation.
> > 
> > Thanks,
> > Gaurav
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


**
CONFIDENTIALITY / DISCLAIMER NOTICE

This communication contains information, which is confidential 
and may also be privileged. It is for the exclusive use of 
the recipient(s). If you are not the intended recipient(s)
please note that any distortion, copying or use of this
communication or the information in it is strictly prohibited.
Any  views or opinions presented are solely those of the
author and do not necessarily represent those of
Euro RSCG Wnek Gosper.

If you have received this communication in error please notify 
us by e-mailing the author or by telephoning (020  7240 4111)
and then delete the communication and any copies of it.

This footnote also confirms that this email message has been
swept by MIMEsweeper for the presence of computer viruses.

http://www.eurorscg.co.uk
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Simulating Concurrent Users

2003-03-05 Thread Jim Krygowski
Does JMeter fit the bill?  
http://jakarta.apache.org/jmeter/index.html



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 2:20 PM
> To: [EMAIL PROTECTED]
> Subject: [OT] Simulating Concurrent Users
> 
> 
> Hi,
>   Is there some open source tool or technique that I can use to
> simulate concurrent users for our application? I especially want 
> to test our
> connection pooling implementation.
> 
> Thanks,
> Gaurav
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Simulating Concurrent Users

2003-03-05 Thread alexj
(you can't find better for concurrent programming (except SR language) )

--
Alexandre Jaquet

- Original Message -
From: "alexj" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 8:26 PM
Subject: Re: [OT] Simulating Concurrent Users


> Hi,
>
> You may code an concurrent program with JR (SR -Synchronized Ressource-
> implementation for Java)  to made some call to your web application
>
> http://www.cs.ucdavis.edu/~olsson/research/jr/
>
> But you can find easiest way I think ;))
>
> --
> Alexandre Jaquet
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 05, 2003 8:19 PM
> Subject: [OT] Simulating Concurrent Users
>
>
> > Hi,
> > Is there some open source tool or technique that I can use to
> > simulate concurrent users for our application? I especially want to test
> our
> > connection pooling implementation.
> >
> > Thanks,
> > Gaurav
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Modern Computing (was RE: [OT] Ancient computing)

2003-03-05 Thread Chappell, Simon P
>> So ... how does lisp run on those? Is it available for the 
>> Tungsten T? (Couldn't resist! ;-)
>
>http://www.lispme.de/lispme/
>
>And, sadly, I haven't been at a job that required LISP for almost 10
>years now.

Sadly!?!? It's been about that since I did RPG and the nightmares still haunt me. You 
need the kind of help that no amount of OT postings on the Struts list can give you! 
:-)

>James

Simon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Simulating Concurrent Users

2003-03-05 Thread alexj
Hi,

You may code an concurrent program with JR (SR -Synchronized Ressource-
implementation for Java)  to made some call to your web application

http://www.cs.ucdavis.edu/~olsson/research/jr/

But you can find easiest way I think ;))

--
Alexandre Jaquet

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 8:19 PM
Subject: [OT] Simulating Concurrent Users


> Hi,
> Is there some open source tool or technique that I can use to
> simulate concurrent users for our application? I especially want to test
our
> connection pooling implementation.
>
> Thanks,
> Gaurav
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Source code for ActionServlet 1.1-b2

2003-03-05 Thread Karr, David
If you ever need to get older versions of files in the distribution, you
can always find it through the cvsweb links on the main Jakarta site.
Just navigate to the project and file that you want, and you can see all
of the file revisions, along with the version tags that indicate what
releases each revision went into.

> -Original Message-
> From: Andrew Lubalin [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 11:00 AM
> To: [EMAIL PROTECTED]
> Subject: Source code for ActionServlet 1.1-b2
> 
> I have the source for 1.1-b3 but I cannot find anything for 1.1-b2,
which
> is what I need.  Does anyone have or know where I can find this source
> version for ActionServlet?
> 
> Thank you,
> 
> - Andrew
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] Simulating Concurrent Users

2003-03-05 Thread Gaurav . Goyal
Hi,
Is there some open source tool or technique that I can use to
simulate concurrent users for our application? I especially want to test our
connection pooling implementation.

Thanks,
Gaurav

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Source code for ActionServlet 1.1-b2

2003-03-05 Thread Ditlinger, Steve

Guess my attachement was "cleansed".  See my other response about looking at
the CVS repository.

I'll try to attach again here just as an experiment:



 -Original Message-
 From: Andrew Lubalin [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 11:12 AM
 To: Struts Users Mailing List
 Subject: RE: Source code for ActionServlet 1.1-b2
 
 
 
 right where??? (no instructions or attachment)
 
 
 


  
   "Ditlinger,  

  
   Steve"   To:   
 "'Struts Users Mailing List'" <[EMAIL PROTECTED]> 

   <[EMAIL PROTECTED]cc: 

  
   t.com>   Subject:  RE: 
 Source code for ActionServlet 1.1-b2   



  
   03/05/2003 02:05 

  
   PM   

  
   Please respond to

  
   "Struts Users

  
   Mailing List"

  


  


  
 
 
 
 
 right here
 
  -Original Message-
  From: Andrew Lubalin [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, March 05, 2003 11:00 AM
  To: [EMAIL PROTECTED]
  Subject: Source code for ActionServlet 1.1-b2
 
 
  I have the source for 1.1-b3 but I cannot find anything for
  1.1-b2, which
  is what I need.  Does anyone have or know where I can find this source
  version for ActionServlet?
 
  Thank you,
 
  - Andrew
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Modern Computing (was RE: [OT] Ancient computing)

2003-03-05 Thread alexj
you can't run X with thatI remember last year when I attempt to install
mandrake 8 on a friend pc who got less than 64 Mo RAM

- Original Message -
From: "Bueno Carlos M" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 6:01 PM
Subject: RE: Modern Computing (was RE: [OT] Ancient computing)


> You won't believe this, but my little beauty is a P133 with 4x8MB SIMMS,
2MB
> s3 Trio Video card, 2.1GB HD, and a sound blaster 16. Runs Mandrake 8.2
jes
> fine. This is not my closet computer, it IS my computer. But now it's
> starting to go senile so I'm looking at those nifty shoebox computers from
> shuttleonline.
>
>  -- Carlos "No Nickname" Bueno
>
> -Original Message-
> From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 11:18 AM
> To: Struts Users Mailing List
> Subject: Modern Computing (was RE: [OT] Ancient computing)
>
>
> OK, enough reminising ... what do people currently have?
>
> I have a Mac tower with dual 550MHz G4 CPUs, 1.5Gb of RAM and the 22"
> CinemaDisplay flat panel monitor. I run Mac OS X 10.2.4 on it. And, it
> almost goes without saying that, I love it.
>
> Simon
>
> >-Original Message-
> >From: du Plessis, Corneil C [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, March 05, 2003 10:13 AM
> >To: Struts Users Mailing List
> >Subject: RE: [OT] Ancient computing
> >
> >
> >Playing the Space shuttle games on the Commodore 64 was just awesome!
> >
> >-Original Message-
> >From: Nelson, Laird [mailto:[EMAIL PROTECTED]
> >Sent: 05 March, 2003 18:10
> >To: 'Struts Users Mailing List'
> >Subject: RE: [OT] Ancient computing
> >
> >
> >> -Original Message-
> >> From: Tim Shadel [mailto:[EMAIL PROTECTED]
> >> First family computer I remember: 8080
> >>
> >> First that I used: Atari or Commodore64 with BASIC (hooked it
> >> to the TV,
> >> screen was blue with white letters [forboadings of M$??],
> >> eventually had
> >> a 5 1/4 disk drive)
> >
> >First computer used: Commodore PET (was that what they were called?)
> >First computer used extensively: Radio Shack TRS-80
> >First computer that awed me: Commodore 64
> >
> >Laird
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >__
> >
> >Disclaimer and confidentiality note
> >
> >
> >Everything in this e-mail and any attachments relating to the
> >official business of
> >Standard Bank Group Limited is proprietary to the company. It
> >is confidential, legally
> >privileged and protected by law. Standard Bank does not own
> >and endorse any other content.
> >Views and opinions are those of the sender unless clearly
> >stated as being that of Standard Bank.
> >
> >The person addressed in the e-mail is the sole authorised
> >recipient. Please notify the sender
> >immediately if it has unintentionally reached you and do not
> >read, disclose or use the content
> >in any way.
> >
> >Standard Bank can not assure that the integrity of this
> >communication has been maintained nor
> >that it is free of errors, virus, interception or interference.
> >
> >__
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Source code for ActionServlet 1.1-b2

2003-03-05 Thread Andrew Lubalin

right where??? (no instructions or attachment)



   

  "Ditlinger,  

  Steve"   To:   "'Struts Users Mailing List'" 
<[EMAIL PROTECTED]>
  <[EMAIL PROTECTED]cc:
 
  t.com>   Subject:  RE: Source code for 
ActionServlet 1.1-b2  
   

  03/05/2003 02:05 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





right here

 -Original Message-
 From: Andrew Lubalin [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 11:00 AM
 To: [EMAIL PROTECTED]
 Subject: Source code for ActionServlet 1.1-b2


 I have the source for 1.1-b3 but I cannot find anything for
 1.1-b2, which
 is what I need.  Does anyone have or know where I can find this source
 version for ActionServlet?

 Thank you,

 - Andrew



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Source code for ActionServlet 1.1-b2

2003-03-05 Thread Ditlinger, Steve
Of course you vcan always look at the CVS repository also

http://cvs.apache.org/viewcvs.cgi/jakarta-struts/

 -Original Message-
 From: Ditlinger, Steve [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 11:05 AM
 To: 'Struts Users Mailing List'
 Subject: RE: Source code for ActionServlet 1.1-b2
 
 
 right here
 
  -Original Message-
  From: Andrew Lubalin [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, March 05, 2003 11:00 AM
  To: [EMAIL PROTECTED]
  Subject: Source code for ActionServlet 1.1-b2
  
  
  I have the source for 1.1-b3 but I cannot find anything for 
  1.1-b2, which
  is what I need.  Does anyone have or know where I can find this source
  version for ActionServlet?
  
  Thank you,
  
  - Andrew
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: DynamicForwardAction

2003-03-05 Thread Eric Jain
> You can define an "unknown" action that responds to requests that no
> other actions are mapped to.  See section 4.7:
> http://jakarta.apache.org/struts/userGuide/building_controller.html

This approach looks promising. However I'm not sure how to best
implement such an Action. A primitive solution would be to just look at
the request and read the resource from the file system. But I'd rather
use the same mechanism as is used by Struts for including e.g. JSP
pages.

  public ActionForward execute(...)
throws Exception
  {
// No good, recursive behavior...
request.getRequestDispatcher(
request.getRequestURI()).include(request, response);
return null;
  }


--
Eric Jain


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Source code for ActionServlet 1.1-b2

2003-03-05 Thread Ditlinger, Steve
right here

 -Original Message-
 From: Andrew Lubalin [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 11:00 AM
 To: [EMAIL PROTECTED]
 Subject: Source code for ActionServlet 1.1-b2
 
 
 I have the source for 1.1-b3 but I cannot find anything for 
 1.1-b2, which
 is what I need.  Does anyone have or know where I can find this source
 version for ActionServlet?
 
 Thank you,
 
 - Andrew
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Modern Computing (was RE: [OT] Ancient computing)

2003-03-05 Thread alexj
an HP omnibook xt1500 p4 1.7 Ghz 512 RAM 30 Go HD, running xp pro (with
LiteStep) and xp .net server
an old toshiba satellite 1700cds 650 Ghz 20 Go HD and an old p3 500 Ghz
tower(my first pc)
running debian woody.
But I never use the tower.

--
Alexandre Jaquet

- Original Message -
From: "Chappell, Simon P" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 7:12 PM
Subject: RE: Modern Computing (was RE: [OT] Ancient computing)


So ... how does lisp run on those? Is it available for the Tungsten T?
(Couldn't resist! ;-)

>-Original Message-
>From: James Turner [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, March 05, 2003 11:49 AM
>To: 'Struts Users Mailing List'
>Subject: RE: Modern Computing (was RE: [OT] Ancient computing)
>
>
>In the office:
>
>Homebuilt P4 2.4Ghz with 512MB RAM, GeForce 2400, Mylex RAID controller
>with 9 36GB SCSI drives in a separate enclosure, Sony 4x DVD+-RW Drive,
>hooked up through a KVM switch to an Envision 17" flat panel running XP
>Pro.
>
>Homebuilt P4 1.8Ghz with 512MB RAM running Redhat 8 hooked up to my DSL
>line (my web and mail server).
>
>Toshiba Laptop (1Ghz Celeron) running XP Pro and Win98.
>
>In the Bedroom:
>
>Old P100 Toshiba Laptop my wife uses to surf.
>
>Downstairs in the family room:
>
>Homebuilt P3 1Ghz my 8yr old uses for games and homework.
>
>In my pocket:
>
>Palm Tungsten T networked into the home LAN via a Bluetake Bluetooth
>gateway.
>
>On a side note, my office gets warm enough during the winter that it's
>still 80 degrees there with all the heat turned off to that zone.
>
>James
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Source code for ActionServlet 1.1-b2

2003-03-05 Thread Andrew Lubalin
I have the source for 1.1-b3 but I cannot find anything for 1.1-b2, which
is what I need.  Does anyone have or know where I can find this source
version for ActionServlet?

Thank you,

- Andrew



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



display diff part of page based on a dropdown choice selected

2003-03-05 Thread Balakrishnan, Vijay
Hi,

I want to display a different part of the page based on a dropdown box
selection.How can i do that ?

I have tried the following but this does not change the intially displayed
page.
1. Javascript: 

function selectDropDown(optionSelected)
{
<%String selectIncomeType="";%>
if(optionSelected == "Earned") {
 <%
selectIncomeType="Earned";
%>
}
if(optionSelected == "Unearned") {
<%
  selectIncomeType="Unearned";
%>
}
}


2. Actual dropdown select:

Select One
Unearned
Earned



3. To display diff parts of the page:
<% if (selectIncomeType.trim().equals("Unearned")) {%>
   do something
<%}%>
<% if (selectIncomeType.trim().equals("Earned")) {%>
do something else
<%}%>

TIA,
Vijay

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  1   2   3   >