[OT] don't print some init code

2003-03-13 Thread alexj
I know this is really OT but I need to know how
can I mask when I print some nasty part of initialize code
like this one :

 void jbInit() throws Exception {
border1 =
BorderFactory.createLineBorder(UIManager.getColor("windowBorder"), 2);
.
.
}

Like I can do with visual studio.net

+ void jbInit() throws Exception {}

I've seen I got with itellij a feature to mask that
in the editor window but when I print I got all
this nasty code

(Sorry for this OT)

/**
* Alexandre Jaquet
*/



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



Re: [ANNOUNCE] Struts-JavaServer Faces Integration Library -- Early Access Version Now Available

2003-03-06 Thread alexj
yep it's ok rigth now :)

--
Alexandre Jaquet

- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 5:17 AM
Subject: [ANNOUNCE] Struts-JavaServer Faces Integration Library -- Early
Access Version Now Available


> I'm happy to announce the immediate availability of an integration library
> that allows you to use the recently published EA3 release of JavaServer
> Faces  with a recent Struts
> build (nightly build 20030216 or later, or the upcoming 1.1-rc2 or final
> release).  Nightly builds of this package are available at:
>
>   http://jakarta.apache.org/builds/jakarta-struts/nightly/struts-faces/
>
> The sources for this package are in the "contrib/struts-faces"
> subdirectory of the "jakarta-struts" CVS repository.
>
> You should take note of the following important points:
>
> * The design goal of this library was to allow Struts application
>   developers to migrate the view tier of their applications from the
>   existing Struts tags, to pages that use corresponding JavaServer Faces
>   component tags, with no changes to the corresponding business logic.
>   This goal has been substantially achieved for simple applications
>   so far; additional work will be necessary for more advanced apps.
>   As a proof of concept, the JavaServer Faces based version of the
>   canonical "struts-example" web application is included in the
>   distribution, so that you can see for yourself how little had to be
>   changed.
>
> * The integration library has been tested under Tomcat 4.1.18 and
>   the Java Web Services Developer Pack (version 1.0_01), although in
>   principle it should run on any Servlet 2.3/JSP 1.2 container.
>   (It will not run on Servlet 2.2/JSP 1.1 containers).
>
> * There is a known issue when trying to run JavaServer Faces EA3
>   under the recently released Java Web Services Developer Pack
>   (version 1.1).  Watch the JavaServer Faces web page (at the URL
>   listed above) for up-to-date information on workarounds.
>
> * The JavaServer Faces distribution is an EA release, not suitable for
>   use in production environments.  In addition, the license terms
>   under which it can be downloaded prohibit redistribution.  Therefore,
>   you will need to download your own copy of JavaServer Faces EA3 and
>   integrate it with the example application before it can be deployed.
>
> * The integration library should also be considered to be of alpha
>   quality, not suitable for production use.  There are a set of known
>   issues and limitations at the bottom of the README.txt file.  Please
>   file bugs against this package in the usual Bugzilla location:
>
> http://nagoya.apache.org/bugzilla/
>
> * For generic questions about JavaServer Faces (i.e. not related to this
>   integration library), your best resource is the JavaServer Faces forum
>   (free registration required) at:
>
> http://forum.java.sun.com/forum.jsp?forum=427
>
> See the README.txt file in the top-level subdirectory for more information
> about installing and using this release.
>
> 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: [ANNOUNCE] Struts-JavaServer Faces Integration Library -- Early Access Version Now Available

2003-03-06 Thread alexj
"You don't have permission to access
/builds/jakarta-struts/nightly/struts-faces/jakarta-struts-faces-20030306.ta
r.gz on this server. "

sniff :(

--
Alexandre Jaquet

- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 5:17 AM
Subject: [ANNOUNCE] Struts-JavaServer Faces Integration Library -- Early
Access Version Now Available


> I'm happy to announce the immediate availability of an integration library
> that allows you to use the recently published EA3 release of JavaServer
> Faces  with a recent Struts
> build (nightly build 20030216 or later, or the upcoming 1.1-rc2 or final
> release).  Nightly builds of this package are available at:
>
>   http://jakarta.apache.org/builds/jakarta-struts/nightly/struts-faces/
>
> The sources for this package are in the "contrib/struts-faces"
> subdirectory of the "jakarta-struts" CVS repository.
>
> You should take note of the following important points:
>
> * The design goal of this library was to allow Struts application
>   developers to migrate the view tier of their applications from the
>   existing Struts tags, to pages that use corresponding JavaServer Faces
>   component tags, with no changes to the corresponding business logic.
>   This goal has been substantially achieved for simple applications
>   so far; additional work will be necessary for more advanced apps.
>   As a proof of concept, the JavaServer Faces based version of the
>   canonical "struts-example" web application is included in the
>   distribution, so that you can see for yourself how little had to be
>   changed.
>
> * The integration library has been tested under Tomcat 4.1.18 and
>   the Java Web Services Developer Pack (version 1.0_01), although in
>   principle it should run on any Servlet 2.3/JSP 1.2 container.
>   (It will not run on Servlet 2.2/JSP 1.1 containers).
>
> * There is a known issue when trying to run JavaServer Faces EA3
>   under the recently released Java Web Services Developer Pack
>   (version 1.1).  Watch the JavaServer Faces web page (at the URL
>   listed above) for up-to-date information on workarounds.
>
> * The JavaServer Faces distribution is an EA release, not suitable for
>   use in production environments.  In addition, the license terms
>   under which it can be downloaded prohibit redistribution.  Therefore,
>   you will need to download your own copy of JavaServer Faces EA3 and
>   integrate it with the example application before it can be deployed.
>
> * The integration library should also be considered to be of alpha
>   quality, not suitable for production use.  There are a set of known
>   issues and limitations at the bottom of the README.txt file.  Please
>   file bugs against this package in the usual Bugzilla location:
>
> http://nagoya.apache.org/bugzilla/
>
> * For generic questions about JavaServer Faces (i.e. not related to this
>   integration library), your best resource is the JavaServer Faces forum
>   (free registration required) at:
>
> http://forum.java.sun.com/forum.jsp?forum=427
>
> See the README.txt file in the top-level subdirectory for more information
> about installing and using this release.
>
> 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: [ANNOUNCE] Struts-JavaServer Faces Integration Library -- Early Access Version Now Available

2003-03-06 Thread alexj
rhooo :)

--
Alexandre Jaquet

- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 5:17 AM
Subject: [ANNOUNCE] Struts-JavaServer Faces Integration Library -- Early
Access Version Now Available


> I'm happy to announce the immediate availability of an integration library
> that allows you to use the recently published EA3 release of JavaServer
> Faces  with a recent Struts
> build (nightly build 20030216 or later, or the upcoming 1.1-rc2 or final
> release).  Nightly builds of this package are available at:
>
>   http://jakarta.apache.org/builds/jakarta-struts/nightly/struts-faces/
>
> The sources for this package are in the "contrib/struts-faces"
> subdirectory of the "jakarta-struts" CVS repository.
>
> You should take note of the following important points:
>
> * The design goal of this library was to allow Struts application
>   developers to migrate the view tier of their applications from the
>   existing Struts tags, to pages that use corresponding JavaServer Faces
>   component tags, with no changes to the corresponding business logic.
>   This goal has been substantially achieved for simple applications
>   so far; additional work will be necessary for more advanced apps.
>   As a proof of concept, the JavaServer Faces based version of the
>   canonical "struts-example" web application is included in the
>   distribution, so that you can see for yourself how little had to be
>   changed.
>
> * The integration library has been tested under Tomcat 4.1.18 and
>   the Java Web Services Developer Pack (version 1.0_01), although in
>   principle it should run on any Servlet 2.3/JSP 1.2 container.
>   (It will not run on Servlet 2.2/JSP 1.1 containers).
>
> * There is a known issue when trying to run JavaServer Faces EA3
>   under the recently released Java Web Services Developer Pack
>   (version 1.1).  Watch the JavaServer Faces web page (at the URL
>   listed above) for up-to-date information on workarounds.
>
> * The JavaServer Faces distribution is an EA release, not suitable for
>   use in production environments.  In addition, the license terms
>   under which it can be downloaded prohibit redistribution.  Therefore,
>   you will need to download your own copy of JavaServer Faces EA3 and
>   integrate it with the example application before it can be deployed.
>
> * The integration library should also be considered to be of alpha
>   quality, not suitable for production use.  There are a set of known
>   issues and limitations at the bottom of the README.txt file.  Please
>   file bugs against this package in the usual Bugzilla location:
>
> http://nagoya.apache.org/bugzilla/
>
> * For generic questions about JavaServer Faces (i.e. not related to this
>   integration library), your best resource is the JavaServer Faces forum
>   (free registration required) at:
>
> http://forum.java.sun.com/forum.jsp?forum=427
>
> See the README.txt file in the top-level subdirectory for more information
> about installing and using this release.
>
> 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: logic:iterate tag revisited

2003-03-06 Thread alexj
a better page :
http://jakarta.apache.org/struts/faqs/actionForm.html

--
Alexandre Jaquet

- Original Message -
From: "Steve Vanspall" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 4:49 AM
Subject: RE: logic:iterate tag revisited


> Yeah that's col, I figured I would have to do that. that's the way I
> originally was going to do it,
>
> This then leads me to my next question, which was in the p.s. of my
previous
> post,
>
> how does struts create a formfile for upload form the path entered by the
> user.
>
> My problem is, there could be any number of image files needing uploading,
> depending on the strutcture of the template they are going into.
>
> Hence, I can't just have a fixed number of FormFile fields in my form.
>
> So when the user submits the file details, I want to be able to upload
that
> file to the server, then process it from there.
>
> How do I do that.
>
> There isn't much info about uploading a dynamic number of files to the
serve
> using struts.
>
> Steve
>
> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]
> Sent: Friday, 7 March 2003 2:34 PM
> To: Struts Users Mailing List
> Subject: Re: logic:iterate tag revisited
>
>
> Yep struts cannot simply act as you wanna do.
>
> Before you can update your files path or everything else
> you will need to tell an action :
>
> "Hey retrieve all the kinds of datas on a whole collection
> I will made some change on it"
>
> First you got an view page who juste iterate your collection.
> and have a tag just as you say to will store some variables
> in your request.
>
> But one trouble I see is you are not in a windows like program,
> where you can just made some appropriate change and then
> pass it to whatever you want.
>
> If you wanna do your job, before you can send to an appropriate
> action, you will need to hit it by a client side programming.
>
> I'm not sure if you understand what I mean.
> --
> Alexandre Jaquet
>
>
>
> - Original Message -
> From: "Steve Vanspall" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Friday, March 07, 2003 4:16 AM
> Subject: RE: logic:iterate tag revisited
>
>
> > ok this is the full story
> >
> > The value come from the form, the IMGTemplateFields object are in an
> > ArrayList chich is stored in the 'imageFieldsList' field of my
> > RenderHTMLForm
> >
> > I want to have struts iterate through that list. For wach occurence of
an
> > IMGTemplateBean I want to make a tag that will allow the user to enter
the
> > path of a file for upload.
> >
> > this will go into the 'file' field of the corresponding IMGTemplateBean.
> >
> > Now my problem is, when I submit the form, using the code mentioned in
my
> > previous message, it does not update the IMGTemplateBeans that the
'file'
> > fields relate to.
> >
> > Not sure if I am trying to do something that struts can't do, or if I am
> > just doing it wrong
> >
> > Regards
> >
> > Steve
> >
> > P.S. Alternatively how to I create a FormFile, with inputstream etc.
from
> a
> > string giving me the path of a file on the clients machine.
> >
> >
> >
> >
> >
> > -Original Message-
> > From: alexj [mailto:[EMAIL PROTECTED]
> > Sent: Friday, 7 March 2003 2:07 PM
> > To: Struts Users Mailing List
> > Subject: Re: logic:iterate tag revisited
> >
> >
> > I can't understand why you need to re-iterate .
> >
> > Do you need to do some update on a view page ?
> >
> > If yes you will need to have an action defined for
> > that, then you will be redirect on an another page
> > or update your change on a session scope (for
> > example)
> >
> > From where the original value came ? The default
> > value you define on your based ActionForm ?
> >
> > --
> > Alexandre Jaquet
> >
> > - Original Message -
> > From: "Steve Vanspall" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Friday, March 07, 2003 4:01 AM
> > Subject: RE: logic:iterate tag revisited
> >
> >
> > > Ok making some headway here,
> > >
> > > I have my logic:iterate tag working, but it doesn't do what I want it
to
> > >
> > > this is my code
> > >
> > >   > > type="com.

Re: logic:iterate tag revisited

2003-03-06 Thread alexj
I never had that case but you may have a look
at the
http://jakarta.apache.org/struts/api/org/apache/struts/upload/package-use.ht
ml
(never try)
--
Alexandre Jaquet

You can get the source code of this taglib on the wrox web site.
- Original Message -
From: "Steve Vanspall" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 4:49 AM
Subject: RE: logic:iterate tag revisited


> Yeah that's col, I figured I would have to do that. that's the way I
> originally was going to do it,
>
> This then leads me to my next question, which was in the p.s. of my
previous
> post,
>
> how does struts create a formfile for upload form the path entered by the
> user.
>
> My problem is, there could be any number of image files needing uploading,
> depending on the strutcture of the template they are going into.
>
> Hence, I can't just have a fixed number of FormFile fields in my form.
>
> So when the user submits the file details, I want to be able to upload
that
> file to the server, then process it from there.
>
> How do I do that.
>
> There isn't much info about uploading a dynamic number of files to the
serve
> using struts.
>
> Steve
>
> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]
> Sent: Friday, 7 March 2003 2:34 PM
> To: Struts Users Mailing List
> Subject: Re: logic:iterate tag revisited
>
>
> Yep struts cannot simply act as you wanna do.
>
> Before you can update your files path or everything else
> you will need to tell an action :
>
> "Hey retrieve all the kinds of datas on a whole collection
> I will made some change on it"
>
> First you got an view page who juste iterate your collection.
> and have a tag just as you say to will store some variables
> in your request.
>
> But one trouble I see is you are not in a windows like program,
> where you can just made some appropriate change and then
> pass it to whatever you want.
>
> If you wanna do your job, before you can send to an appropriate
> action, you will need to hit it by a client side programming.
>
> I'm not sure if you understand what I mean.
> --
> Alexandre Jaquet
>
>
>
> - Original Message -
> From: "Steve Vanspall" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Friday, March 07, 2003 4:16 AM
> Subject: RE: logic:iterate tag revisited
>
>
> > ok this is the full story
> >
> > The value come from the form, the IMGTemplateFields object are in an
> > ArrayList chich is stored in the 'imageFieldsList' field of my
> > RenderHTMLForm
> >
> > I want to have struts iterate through that list. For wach occurence of
an
> > IMGTemplateBean I want to make a tag that will allow the user to enter
the
> > path of a file for upload.
> >
> > this will go into the 'file' field of the corresponding IMGTemplateBean.
> >
> > Now my problem is, when I submit the form, using the code mentioned in
my
> > previous message, it does not update the IMGTemplateBeans that the
'file'
> > fields relate to.
> >
> > Not sure if I am trying to do something that struts can't do, or if I am
> > just doing it wrong
> >
> > Regards
> >
> > Steve
> >
> > P.S. Alternatively how to I create a FormFile, with inputstream etc.
from
> a
> > string giving me the path of a file on the clients machine.
> >
> >
> >
> >
> >
> > -Original Message-
> > From: alexj [mailto:[EMAIL PROTECTED]
> > Sent: Friday, 7 March 2003 2:07 PM
> > To: Struts Users Mailing List
> > Subject: Re: logic:iterate tag revisited
> >
> >
> > I can't understand why you need to re-iterate .
> >
> > Do you need to do some update on a view page ?
> >
> > If yes you will need to have an action defined for
> > that, then you will be redirect on an another page
> > or update your change on a session scope (for
> > example)
> >
> > From where the original value came ? The default
> > value you define on your based ActionForm ?
> >
> > --
> > Alexandre Jaquet
> >
> > - Original Message -
> > From: "Steve Vanspall" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Friday, March 07, 2003 4:01 AM
> > Subject: RE: logic:iterate tag revisited
> >
> >
> > > Ok making some headway here,
> > >
> > > I have my logic:iterate tag working, but

Re: Servlet Mapping

2003-03-06 Thread alexj
But maybe there is a solution ,

I could not think no more about that's, it's 5 o clock on the morning and
I get drunk...

Maybe later today I will be a clearer mind ;)

--
Alexandre Jaquet

- Original Message -
From: "usha" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 4:19 AM
Subject: Re: Servlet Mapping


> Hi alexj
>
> i have mapped the Action servelet to " /action/*" in web.xml and i was
> able to send this request to the action servlet also. when i was
> requesting something in the URL in place of '*' i want to give it like
this
> /action/0/
>
> or
>
> /action//0
>
> here the '0' is coming dynamically upon selecting some link on the UI.
>
> usha
>
> alexj wrote:
>
> >What you will do in your web.xml def file is to define wich
> >servlet will map all the request you will got. And based
> >on wich pattern.
> >
> >By doing this you tell your server all the request who
> >include *.do need to be *forwarded* to your servlet
> >to map the appropriate action (based on your struts-config)
> >
> >Usually we use that one :
> >
> >
> >
> >action
> >
> >*.do
> >
> >
> >
> >
> >(I'm not sure if my definition is good as well, propably someone
> >
> >will correct me)
> >
> >--
> >
> >Alexandre Jaquet
> >
> >- Original Message -
> >From: "usha" <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Sent: Friday, March 07, 2003 3:32 AM
> >Subject: Re: Servlet Mapping
> >
> >
> >
> >
> >>Hi Edgar
> >>
> >>Sorry , i was not sure what you are saying regarding the Map struts to
> >>/context/live/*. can you expaling me little bit more.
> >>
> >>Thanks
> >>usha
> >>
> >>Edgar Dollin wrote:
> >>
> >>
> >>
> >>>You can have a servlet mapped to /context/test/*.
> >>>
> >>>Map struts to /context/live/*.
> >>>
> >>>Your struts-config would have to have the /context/live/* entries.
> >>>
> >>>Your servlet does the url calculations and forward to the struts Action
> >>>servlet.
> >>>
> >>>Edgar
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>-Original Message-
> >>>>From: David Graham [mailto:[EMAIL PROTECTED]
> >>>>Sent: Wednesday, March 05, 2003 11:17 PM
> >>>>To: '[EMAIL PROTECTED]'
> >>>>Subject: Re: Servlet Mapping
> >>>>
> >>>>
> >>>>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]
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>-
> >>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: logic:iterate tag revisited

2003-03-06 Thread alexj
Yep struts cannot simply act as you wanna do.

Before you can update your files path or everything else
you will need to tell an action :

"Hey retrieve all the kinds of datas on a whole collection
I will made some change on it"

First you got an view page who juste iterate your collection.
and have a tag just as you say to will store some variables
in your request.

But one trouble I see is you are not in a windows like program,
where you can just made some appropriate change and then
pass it to whatever you want.

If you wanna do your job, before you can send to an appropriate
action, you will need to hit it by a client side programming.

I'm not sure if you understand what I mean.
--
Alexandre Jaquet



- Original Message -
From: "Steve Vanspall" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 4:16 AM
Subject: RE: logic:iterate tag revisited


> ok this is the full story
>
> The value come from the form, the IMGTemplateFields object are in an
> ArrayList chich is stored in the 'imageFieldsList' field of my
> RenderHTMLForm
>
> I want to have struts iterate through that list. For wach occurence of an
> IMGTemplateBean I want to make a tag that will allow the user to enter the
> path of a file for upload.
>
> this will go into the 'file' field of the corresponding IMGTemplateBean.
>
> Now my problem is, when I submit the form, using the code mentioned in my
> previous message, it does not update the IMGTemplateBeans that the 'file'
> fields relate to.
>
> Not sure if I am trying to do something that struts can't do, or if I am
> just doing it wrong
>
> Regards
>
> Steve
>
> P.S. Alternatively how to I create a FormFile, with inputstream etc. from
a
> string giving me the path of a file on the clients machine.
>
>
>
>
>
> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]
> Sent: Friday, 7 March 2003 2:07 PM
> To: Struts Users Mailing List
> Subject: Re: logic:iterate tag revisited
>
>
> I can't understand why you need to re-iterate .
>
> Do you need to do some update on a view page ?
>
> If yes you will need to have an action defined for
> that, then you will be redirect on an another page
> or update your change on a session scope (for
> example)
>
> From where the original value came ? The default
> value you define on your based ActionForm ?
>
> --
> Alexandre Jaquet
>
> - Original Message -
> From: "Steve Vanspall" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Friday, March 07, 2003 4:01 AM
> Subject: RE: logic:iterate tag revisited
>
>
> > Ok making some headway here,
> >
> > I have my logic:iterate tag working, but it doesn't do what I want it to
> >
> > this is my code
> >
> >   > type="com.crm.util.TemplateBeans.IMGTemplateBean"
> property="imageFieldsList"
> > id="imgFile">
> >   
> >
> >  > property="description"/>
> >  > accept="image/gif,image/jpeg"/>
> >   
> >   
> > cnt++;
> > 
> >   
> >
> > now I want this to populate the original field it got the value from,
when
> I
> > submit the form.
> >
> > I can see why this won't do it, but can't work out if struts has a way
of
> > doing it for me
> >
> > Is there a way to get struts to iterate through a list, and then re
> iterate
> > through thelist and make the necessary changes, by populating the
> > IMGTemplateBean with the apporopriate formFile information
> >
> > Regards
> >
> > Steve
> >
> >
> >
> > -Original Message-
> > From: Steve Vanspall [mailto:[EMAIL PROTECTED]
> > Sent: Friday, 7 March 2003 12:42 PM
> > To: Struts Users Mailing List
> > Subject: RE: logic:iterate tag revisited
> >
> >
> > Ah it's always the small thing,
> >
> > I can't beleive I missed that
> >
> > Thank you, I will procedd to kick myself several times
> >
> > Steve
> >
> > -Original Message-
> > From: Rick Reumann [mailto:[EMAIL PROTECTED]
> > Sent: Friday, 7 March 2003 11:51 AM
> > To: Struts Users Mailing List
> > Subject: Re: logic:iterate tag revisited
> >
> >
> > On Fri, 7 Mar 2003 11:33:50 +1100
> > "Steve Vanspall" <[EMAIL PROTECTED]> wrote:
> >
> > > Hi there
> > >
> > > Here's my problem, I hav

Re: logic:iterate tag revisited

2003-03-06 Thread alexj
I can't understand why you need to re-iterate .

Do you need to do some update on a view page ?

If yes you will need to have an action defined for
that, then you will be redirect on an another page
or update your change on a session scope (for
example)

>From where the original value came ? The default
value you define on your based ActionForm ?

--
Alexandre Jaquet

- Original Message -
From: "Steve Vanspall" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 4:01 AM
Subject: RE: logic:iterate tag revisited


> Ok making some headway here,
>
> I have my logic:iterate tag working, but it doesn't do what I want it to
>
> this is my code
>
>   type="com.crm.util.TemplateBeans.IMGTemplateBean"
property="imageFieldsList"
> id="imgFile">
>   
>
>  property="description"/>
>  accept="image/gif,image/jpeg"/>
>   
>   
> cnt++;
> 
>   
>
> now I want this to populate the original field it got the value from, when
I
> submit the form.
>
> I can see why this won't do it, but can't work out if struts has a way of
> doing it for me
>
> Is there a way to get struts to iterate through a list, and then re
iterate
> through thelist and make the necessary changes, by populating the
> IMGTemplateBean with the apporopriate formFile information
>
> Regards
>
> Steve
>
>
>
> -Original Message-
> From: Steve Vanspall [mailto:[EMAIL PROTECTED]
> Sent: Friday, 7 March 2003 12:42 PM
> To: Struts Users Mailing List
> Subject: RE: logic:iterate tag revisited
>
>
> Ah it's always the small thing,
>
> I can't beleive I missed that
>
> Thank you, I will procedd to kick myself several times
>
> Steve
>
> -Original Message-
> From: Rick Reumann [mailto:[EMAIL PROTECTED]
> Sent: Friday, 7 March 2003 11:51 AM
> To: Struts Users Mailing List
> Subject: Re: logic:iterate tag revisited
>
>
> On Fri, 7 Mar 2003 11:33:50 +1100
> "Steve Vanspall" <[EMAIL PROTECTED]> wrote:
>
> > Hi there
> >
> > Here's my problem, I have modelled my iterate tag on a working example
> > I was given by a colleague.
> >
> > this is my jsp code
> >
> >  > type="com.crm.util.TemplateBeans.IMGTemplateBean"
> > property="imageFieldsList" id="imfFile">
> >   
> >  > property="id"/> > property="file"
> > accept="image/gif,image/jpeg"/>
> >   
> >   nameArray[cnt] =
> >   '<%=TemplateBeans.IMG_TMPLT%>: > name="imfFile" property="id"/>';
> > cnt++;
> > 
> > 
> >
> >
> > when I run it I get
> >
> > javax.servlet.jsp.JspException: Cannot find bean imfFile in any scope
>
> are you sure it's not saying "imgFile" is not any scope??? If you look
> you named one of them imgFile and the other imfFile but I don't see
> where you ever declared the id imgFile ? Is imgFile declared somewhere
> else?
>
> Also, are you positive your list has IMGTemplateBeans in it? If you
> remove all the  stuff and just print out "test" in there do
> you get a bunch of "test"s printed out?
>
> Are you also positive that your imageFieldsList is being populated with
> the type "com.crm.util.TemplateBeans.IMGTemplateBean" You sure nothing
> is spelled wrong there..etc. ?
>
> I know a lot of this is probably obvious but it's always the obvious
> that gets me:) A mistyped letter or something.
>
>
> --
> Rick Reumann
>
> -
> 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: Servlet Mapping

2003-03-06 Thread alexj
What you will do in your web.xml def file is to define wich
servlet will map all the request you will got. And based
on wich pattern.

By doing this you tell your server all the request who
include *.do need to be *forwarded* to your servlet
to map the appropriate action (based on your struts-config)

Usually we use that one :



action

*.do




(I'm not sure if my definition is good as well, propably someone

will correct me)

--

Alexandre Jaquet

- Original Message - 
From: "usha" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 3:32 AM
Subject: Re: Servlet Mapping


> Hi Edgar
> 
> Sorry , i was not sure what you are saying regarding the Map struts to 
> /context/live/*. can you expaling me little bit more.
> 
> Thanks
> usha
> 
> Edgar Dollin wrote:
> 
> >You can have a servlet mapped to /context/test/*.
> >
> >Map struts to /context/live/*.
> >
> >Your struts-config would have to have the /context/live/* entries.
> >
> >Your servlet does the url calculations and forward to the struts Action
> >servlet.
> >
> >Edgar
> >
> >  
> >
> >>-Original Message-
> >>From: David Graham [mailto:[EMAIL PROTECTED] 
> >>Sent: Wednesday, March 05, 2003 11:17 PM
> >>To: '[EMAIL PROTECTED]'
> >>Subject: Re: Servlet Mapping
> >>
> >>
> >>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]
> >  
> >
> 
> 
> 
> 
> -
> 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: redirecting to HTTPS

2003-03-06 Thread alexj
The first thing you will need to do is to update the actionmapping type
definition
in your struts-conf file :



Then you will need to set an property for your action I give you a sample

for a login form :

















You will need to add the sslext plug in :











And that's all.

--
Alexandre Jaquet


- Original Message -
From: "Sterin, Ilya" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 2:23 AM
Subject: RE: redirecting to HTTPS


> Thanks, Steve.  A quick question for you I guess, is going through the
> examples, there is more to it then just adding the .jar file and the tag
> file(s).  Is there some barebones thing that can be done, which will
> just simple allow two links in the app to take you to https, then back
> on another link?
>
> I guess, I'm looking for some barebones thing explaining what totally
> needs to be added to the web.xml file and struts-config.xml file.
>
> Any help would be greatly appreciated.
>
> Thanks.
>
> Ilya
>
> -Original Message-
> From: Ditlinger, Steve [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 06, 2003 8:02 PM
> To: 'Struts Users Mailing List'
> Subject: RE: redirecting to HTTPS
>
>
> There are examples with each of the different versions.  (1.02, 1.1b1,
> 1.1b2
> etc) at sslext.sourceforge.net.
>
> I intend to do some updating for an 1.1RC1 release soon (this weekend?).
> Also, I am usually able to answer questions in (semi-)prompt fashion..
>
> Steve
>
>  -Original Message-
>  From: Sterin, Ilya [mailto:[EMAIL PROTECTED]
>  Sent: Thursday, March 06, 2003 4:42 PM
>  To: 'Struts Users Mailing List'
>  Subject: RE: redirecting to HTTPS
>
>
>  Ah, great, just found it, but I can't find any examples to go with it,
> nor a user's guide.  Any links? :-)
>
>  Ilya
>
>  -Original Message-
>  From: alexj [mailto:[EMAIL PROTECTED]
>  Sent: Thursday, March 06, 2003 7:37 PM
>  To: Struts Users Mailing List
>  Subject: Re: redirecting to HTTPS
>
>
>  Have a look for SSLext. (you may find a sample
>  with it)
>
>  --
>  Alexandre Jaquet
>
>  - Original Message -
>  From: "Sterin, Ilya" <[EMAIL PROTECTED]>
>  To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
>  Sent: Friday, March 07, 2003 1:16 AM
>  Subject: redirecting to HTTPS
>
>
>  > What's the easiest way to redirecting to https and back.  Meaning,
>  > what's the I guess more common/prefered way of doing it in struts.  >
>
>  > Any small examples, would be great:-)
>  >
>  > Thanks a bunch.
>  >
>  > Ilya
>  >
>  > -
>  > 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]
>
> -
> 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: Multiple beans in request scope?

2003-03-06 Thread alexj
Sure you can use mutliple beans in your scope.

But I didn't see the main case, it will be better for us (for me lol) to
understand the whole context of your application.

Cheers.

--
Alexandre Jaquet

- Original Message -
From: "Jeff Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 1:21 AM
Subject: Multiple beans in request scope?


I'm building my first real struts app. (Okay, its also my first real Java
app, my first real servlet app and a bunch of other firsts, but who's
counting? :-)

I'd like to present a form that contains a few selection lists, with values
taken from a few tables in my database.

Let's say the lists are:
1) A list of documents the user can have sent to him
2) A list of transport methods he can choose (ftp, email, snail mail,
etc...)
3) A list of credit cards that we currently accept.

Obviously, these are logically disparate lists, so I would rather not create
a form-specific bean to encapsulate all this information.

What I'd *REALLY* like to do is have a DocsBean, a DeliveryOptionsBean and a
CreditCardBean that each load themselves from the database. And in a perfect
world, I'd like to be able to specify (in the action tag of my
struts-config) that form UserOrder wants all three of those beans loaded
into the request scope.

Is that possible? It appears to me that the action tag only takes a single
formbean name, so I am assuming I have to find a different way to do what I
want. Any suggestions?

Failing that, I suppose I could chain together a couple of actions: a) a
pre-action that would load my beans for me and then b) the actual forward to
the userform.jsp. But that seems a bit tedious. (Why write by hand what
could be abstracted out and built into the next version of Struts?)

I've got lots more questions, but I'll try to keep them in separate threads.

Jefficus



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



Re: redirecting to HTTPS

2003-03-06 Thread alexj
It's came with it have a look of the web directory .

--
Alexandre Jaquet

- Original Message - 
From: "Sterin, Ilya" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 1:41 AM
Subject: RE: redirecting to HTTPS


> Ah, great, just found it, but I can't find any examples to go with it,
> nor a user's guide.  Any links? :-)
> 
> Ilya
> 
> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 06, 2003 7:37 PM
> To: Struts Users Mailing List
> Subject: Re: redirecting to HTTPS
> 
> 
> Have a look for SSLext. (you may find a sample
> with it)
> 
> --
> Alexandre Jaquet
> 
> - Original Message - 
> From: "Sterin, Ilya" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Friday, March 07, 2003 1:16 AM
> Subject: redirecting to HTTPS
> 
> 
> > What's the easiest way to redirecting to https and back.  Meaning, 
> > what's the I guess more common/prefered way of doing it in struts.
> > 
> > Any small examples, would be great:-)
> > 
> > Thanks a bunch.
> > 
> > Ilya
> > 
> > -
> > 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: redirecting to HTTPS

2003-03-06 Thread alexj
Have a look for SSLext. (you may find a sample
with it)

--
Alexandre Jaquet

- Original Message - 
From: "Sterin, Ilya" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 1:16 AM
Subject: redirecting to HTTPS


> What's the easiest way to redirecting to https and back.  Meaning,
> what's the I guess more common/prefered way of doing it in struts.
> 
> Any small examples, would be great:-)
> 
> Thanks a bunch.
> 
> Ilya
> 
> -
> 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-06 Thread alexj
Hi,

I didn't get any trouble with the sample I show, It's was just
to help somebody.

--
Alexandre Jaquet

- Original Message -
From: "Arron Bates" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 11:45 PM
Subject: Re: editable list using nested:iterate and lazyList


> Alex,
>
> The JSP wasn't shown probably because it's like all other Struts table
> creation using the iterate tag. Example JSP...
>
> 
> 
>   
> 
> 
> 
>   
> 
> 
>
> ...when submitted, if you're "student bean" is in a LazyList, then it'll
> populate correctly, and all the data will be there for your action for
processing.
>
> This what you're after?...
>
>
> Arron.
>
> (Monkey Boy?...)
>
>
> > Is this an example of an editable list (ie. a table like structure)?
Based
> on your student example, I am trying to edit a list of students all on one
> page. ie. I could change five students names with one submit.
> > Maybe I didn't fully understand your example, but it sounds like your
> example is list/detail page setup where one page has a list (non editable)
and
> from that list page you can select a single student which is displayed in
a
> detail page from which you can edit that one student's info.
> >
> > I am using a LazyList because the only example of an editable list that
I
> have every seen was given by Arron Bates (monkey boy) and that is what he
did,
> but he did not show how the jsp page was done.
> >
> > >>> [EMAIL PROTECTED] 03/05/03 05:11PM >>>
> > 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"%>
> >
> > 
> > 
> > 
> >
> > 
> >   
> >   
> >   
> > 
> >
> >  >
> >  bundle="org.apache.struts.action.MESSAGE">
> >
> > 
> > 
> > 
> > 
> > 
> >  
> >  
> >  
> >  
> >  
> >  
> >
> >  >   name="students"
> >   scope="session"
> >   pagesize="5"
> >   requestURI="/ibmss/form/viewstudent.jsp"
> >   export="true"
> >   decorator="org.apache.taglibs.display.test.Wrapper">
> >
> >>   href="/ibmss/getstudent.do"
> >   paramId="idPersonne"
> >   paramProperty="idPersonne"  />
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> > 
> >
> > 
> > 
> >
> > 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.
> >
> > --
> >
> > Al

Re: paginator tags

2003-03-06 Thread alexj
you may use  or struts-el
here is a sample from JSTL in Action :
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>







">

[



-



]























--
Alexandre Jaquet
- Original Message -
From: "Jacky Kimmel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 9:22 PM
Subject: paginator tags


>
> Does anyone know how to implement paginator tags?  Ie: you have a list of
30 items out of 100.  You now want to display the next 30 and so on.
>
>
>
> Also, I am using application.resource for all labels.  I want to have a
name with a trademark symbol as a superscript.  Anyone know how to do this?
>
>
>
> -
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, and more



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



Re: [OT] IDE / ERD modeling (Was: Re: struts IDE)

2003-03-06 Thread alexj
ArgoUML is free and open source .
http://argouml.tigris.org/

--
Alexandre Jaquet

- Original Message - 
From: "Becky Norum" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 5:44 PM
Subject: [OT] IDE / ERD modeling (Was: Re: struts IDE)


> I've stayed quiet on this since I've used IDEs rarely.  I stick with
> xemacs and vi when necessary.  I've been curious how much an IDE like
> JDeveloper speeds up the process, once you are familiar with it.  I
> tried it for a couple of hours once, but found it kind of a pain to
> use.  Is spending time learning one's way around really worth it?
> 
> OTOH, there are times when a typo in my struts-config.xml or web.xml
> waste an hour or two my time, and having some sort of validation would
> be great.
> 
> And _really_ off-topic, what do you folks use for ERD modeling in *nix? 
> I haven't been able to get DIA or xfig to generate decent looking .eps
> for papers, so I.. um.. do them in Windows.  Any other (free - we are a
> poor academic research center :D) modeling software out there people
> use?  Or tips on maximizing xfig/DIA?
> 
> -- 
> Becky Norum <[EMAIL PROTECTED]>
> Becky Norum
> Database Administrator
> Center for Subsurface Sensing and Imaging Systems (CenSSIS)
> Northeastern University
> http://www.censsis.neu.edu
> > 
> > --- Dejan Krsmanovic <[EMAIL PROTECTED]>
> > wrote:
> > > I have used 9.0.3 for building few struts
> > > applications and I can say it
> > > saved me a lot of time. They have integrated few
> > > wizards for working with
> > > config files and support for taglibs (autocomplete
> > > etc.). However I have
> > > found few bugs (for example when specifying data
> > > source configuration in
> > > struts-config). Also, there was no support for tiles
> > > and validator.
> > > 
> > > These days I saw Oracle has released maintainance
> > > version - 9.0.3.1, but I
> > > haven't downloaded it yet.
> > > 
> > > Dejan
> 
> 
> 
> 
> -
> 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 and Cocoon Integration

2003-03-06 Thread alexj
your demo don't work I got an exception every time I try to save
datas.

org.apache.jasper.JasperException: getOutputStream() has already been called
for this response

--
Alexandre Jaquet

- Original Message -
From: "Don Brown" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 5:11 AM
Subject: Struts and Cocoon Integration


> 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]
>
>



-
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: 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]



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 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.
> > &

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 presen

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: [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

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: [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: [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: 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: 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]



Re: Wrapping Collections in LazyList to auto-populate form onSubmit

2003-03-05 Thread alexj
It's not a good conception that an List can be indexed (an Collection to)
that's suck...
an ArrayList ok but not a simple List... (a simple List don't use an array
as
the internal structure) but for an iterator it's song ok.

But that's my opinion Java data structure are really strange.

--
Alexandre Jaquet

- Original Message -
From: "Brandon Goodin" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 3:50 PM
Subject: RE: Wrapping Collections in LazyList to auto-populate form onSubmit


> That's wierd. I use the LazyList all the time and do not run in to that
> problem. Did you try using jstl to see if the problem is perhaps somewhere
> else.
>
> You will need to import the jstl core taglib and the struts html-el tag
> libs.
>
>  varStatus="status">
> 
> 
>
> Have Fun,
> Brandon Goodin
> Phase Web and Multimedia
> PO Box 85
> Whitefish MT 59937
> P (406) 862-2245
> F (406) 862-0354
> [EMAIL PROTECTED]
> http://www.phase.ws
>
>
> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 7:05 AM
> To: Struts Users Mailing List
> Subject: Re: Wrapping Collections in LazyList to auto-populate form
> onSubmit
>
>
> Use Collection instead than List (a list is not indexed)
>
> --
> Alexandre Jaquet
>
> - Original Message -
> From: "William Salvucci" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 05, 2003 2:58 PM
> Subject: Wrapping Collections in LazyList to auto-populate form onSubmit
>
>
> From the BananaBean example, I put the following in a nested:form
>
> 
> 
> 
>
> and get this exception:
>
> java.lang.IllegalArgumentException: Property 'bananas' is not indexed
>
>
> In the form I construct the bananas list using
>
> private List bananas = ListUtils.lazyList(new ArrayList(),
>   new Factory()
>   {
> public Object create() {
>   return new BananaBean();
> }
>   });
>
> In the display action I populate the list using bananas.add
>
>
>
>
>
>
> -
> 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] Java method size limitations

2003-03-05 Thread alexj
loool

--
Alexandre Jaquet
- Original Message -
From: "Becky Norum" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 3:28 PM
Subject: [OT] Java method size limitations


> 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#15
4)
>
> 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..
>
> --
> Becky Norum
> Database Administrator
> Center for Subsurface Sensing and Imaging Systems (CenSSIS)
> Northeastern University
> http://www.censsis.neu.edu
>
>
>
> -
> 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: Problems with FormFile.getInputStream()

2003-03-05 Thread alexj
nop it's didn't will solve your trouble...

- Original Message -----
From: "alexj" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 3:27 PM
Subject: Re: Problems with FormFile.getInputStream()


> Hi try that :
>
>
> //Message
> MimeMessage mensaje = new MimeMessage(session);
>mensaje.setFrom(new InternetAddress(from));
>InternetAddress[] address = {new
> InternetAddress(TO)};//where TO is an email address
>
>mensaje.setRecipients(Message.RecipientType.TO,
> address);
>mensaje.setSubject(subject);
>mensaje.setSentDate(new Date());
>
>
>
> if (attach.length()!=0)
> {
> // Text
> MimeBodyPart text = new MimeBodyPart();
> Text.setText(Body);
> MimeBodyPart Bin = new MimeBodyPart();
> DataSource mySource = new FileDataSource (attach);
>
> //Binary
> Bin.setDataHandler(new DataHandler(mySource));
> Bin.setFileName(attach);
> // Join and Seending
> MimeMultipart multiple = new MimeMultipart();
> multiple.addBodyPart(Text);
> multiple.addBodyPart(Bin);
> mensaje.setContent(multiple);
>
> --
> Alexandre Jaquet
>
> - Original Message -
> From: "Eva Sager" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 05, 2003 3:21 PM
> Subject: Problems with FormFile.getInputStream()
>
>
> > I am using a file tag to upload a file and that seems to be working
fine.
> I
> > then want to email that file as an attachment and that is where I start
to
> > run into trouble.  I am then trying to make a MimeBodyPart with the
> > InputStream of the FormFile and the resulting file isn't complete.  It
is
> as
> > if the first part of the file is lost.  I have a Vector of FormFiles
that
> I
> > am working with:
> >
> >   MimeBodyPart[] attachments = new
> > MimeBodyPart[form.getAttachments().size()];
> >   for(int i=0;i >   {
> >FormFile file =
> > (FormFile)form.getAttachments().elementAt(i);
> >
> >//printing out the size and first charcter of the io
> > stream from the FormFile
> >log.debug("size of formfile="+file.getFileSize());
> >log.debug("start
> > formfile="+file.getInputStream().read());
> >
> >attachments[i] = new
> MimeBodyPart(file.getInputStream());
> >attachments[i].setFileName(file.getFileName());
> >
attachments[i].setDisposition(MimeBodyPart.ATTACHMENT);
> >
> >//printing out the size and first charcter of the io
> > stream from the BodyPart
> >log.debug("size of body
> part="+attachments[i].getSize());
> >log.debug("start of body
> > part="+attachments[i].getInputStream().read());
> >
> >   }
> >
> > The resulting MimeBodyPart appears to be only a portion of the original
> > file, and the logging produced supports this.
> >
> > size of formfile=1914
> > start formfile=84
> > size of body part=1717
> > start of body part=67
> >
> > I am at a loose at to what I am doing wrong...  any assistance would be
> > appreciated.
> >
> > Thanks,
> > Eva
> >
>
>
>
> -
> 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: Problems with FormFile.getInputStream()

2003-03-05 Thread alexj
Hi try that :


//Message
MimeMessage mensaje = new MimeMessage(session);
   mensaje.setFrom(new InternetAddress(from));
   InternetAddress[] address = {new
InternetAddress(TO)};//where TO is an email address

   mensaje.setRecipients(Message.RecipientType.TO,
address);
   mensaje.setSubject(subject);
   mensaje.setSentDate(new Date());



if (attach.length()!=0)
{
// Text
MimeBodyPart text = new MimeBodyPart();
Text.setText(Body);
MimeBodyPart Bin = new MimeBodyPart();
DataSource mySource = new FileDataSource (attach);

//Binary
Bin.setDataHandler(new DataHandler(mySource));
Bin.setFileName(attach);
// Join and Seending
MimeMultipart multiple = new MimeMultipart();
multiple.addBodyPart(Text);
multiple.addBodyPart(Bin);
mensaje.setContent(multiple);

--
Alexandre Jaquet

- Original Message -
From: "Eva Sager" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 3:21 PM
Subject: Problems with FormFile.getInputStream()


> I am using a file tag to upload a file and that seems to be working fine.
I
> then want to email that file as an attachment and that is where I start to
> run into trouble.  I am then trying to make a MimeBodyPart with the
> InputStream of the FormFile and the resulting file isn't complete.  It is
as
> if the first part of the file is lost.  I have a Vector of FormFiles that
I
> am working with:
>
>   MimeBodyPart[] attachments = new
> MimeBodyPart[form.getAttachments().size()];
>   for(int i=0;i   {
>FormFile file =
> (FormFile)form.getAttachments().elementAt(i);
>
>//printing out the size and first charcter of the io
> stream from the FormFile
>log.debug("size of formfile="+file.getFileSize());
>log.debug("start
> formfile="+file.getInputStream().read());
>
>attachments[i] = new
MimeBodyPart(file.getInputStream());
>attachments[i].setFileName(file.getFileName());
>attachments[i].setDisposition(MimeBodyPart.ATTACHMENT);
>
>//printing out the size and first charcter of the io
> stream from the BodyPart
>log.debug("size of body
part="+attachments[i].getSize());
>log.debug("start of body
> part="+attachments[i].getInputStream().read());
>
>   }
>
> The resulting MimeBodyPart appears to be only a portion of the original
> file, and the logging produced supports this.
>
> size of formfile=1914
> start formfile=84
> size of body part=1717
> start of body part=67
>
> I am at a loose at to what I am doing wrong...  any assistance would be
> appreciated.
>
> Thanks,
> Eva
>



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



Re: Wrapping Collections in LazyList to auto-populate form onSubmit

2003-03-05 Thread alexj
Use Collection instead than List (a list is not indexed)

--
Alexandre Jaquet

- Original Message - 
From: "William Salvucci" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 2:58 PM
Subject: Wrapping Collections in LazyList to auto-populate form onSubmit


>From the BananaBean example, I put the following in a nested:form
 




and get this exception:
 
java.lang.IllegalArgumentException: Property 'bananas' is not indexed
 
 
In the form I construct the bananas list using
 
private List bananas = ListUtils.lazyList(new ArrayList(),
  new Factory()
  {
public Object create() {
  return new BananaBean();
}
  });
 
In the display action I populate the list using bananas.add

 




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



Re: Design issue: forms and iterations on the same page

2003-03-04 Thread alexj
I made a little mistake in my code but it's not really important for you ;))
(B...
(B  form.setName(student.getName ());
(B
(B
(B
(B
(B-
(BTo unsubscribe, e-mail: [EMAIL PROTECTED]
(BFor additional commands, e-mail: [EMAIL PROTECTED]

Re: Design issue: forms and iterations on the same page

2003-03-04 Thread alexj
You may have a look to the display tag lib who provide an
(Breally easy to use purpose for your use case.
(B
(BI show you an sample code I use in my view I got :
(B
(B<%@ page session="true" %>
(B<%@ page import="org.apache.taglibs.display.test.TestList,
(B org.apache.taglibs.display.test.ListHolder,
(B java.util.List"%>
(B<%@ taglib uri="http://jakarta.apache.org/taglibs/display" prefix="display"
(B%>
(B<%@ taglib uri="/WEB-INF/struts-menu.tld" prefix="menu"%>
(B
(B
(B
(B
(B
(B
(B  
(B  
(B  
(B
(B
(B
(B
(B
(B
(B
(B
(B 
(B 
(B 
(B 
(B 
(B 
(B
(B
(B
(B  
(B  
(B  
(B  
(B  
(B  
(B  
(B  
(B  
(B  
(B  
(B  
(B
(B
(B
(B
(B
(BMy getstudent action :
(B
(B// Created by Xslt generator for Eclipse.
(B
(B// XSL : not found (java.io.FileNotFoundException: (Le chemin d'acces
(Bspecifie est introuvable))
(B
(B// Default XSL used : easystruts.jar$org.easystruts.xslgen.JavaClass.xsl
(B
(Bpackage soft.ibmss.struts.action;
(B
(Bimport javax.servlet.http.HttpServletRequest;
(B
(Bimport javax.servlet.http.HttpServletResponse;
(B
(Bimport javax.servlet.http.HttpSession;
(B
(Bimport org.apache.struts.action.Action;
(B
(Bimport org.apache.struts.action.ActionForm;
(B
(Bimport org.apache.struts.action.ActionForward;
(B
(Bimport org.apache.struts.action.ActionMapping;
(B
(Bimport soft.ibmss.struts.form.StudentForm;
(B
(Bimport org.apache.struts.Globals;
(B
(Bpublic class GetstudentAction extends Action {
(B
(Bpublic ActionForward execute(
(B
(BActionMapping mapping,
(B
(BActionForm form,
(B
(BHttpServletRequest request,
(B
(BHttpServletResponse response)
(B
(Bthrows Exception {
(B
(B
(Btry {
(B
(Bform = buildStudent(request.getParameter("idPersonne"));
(B
(Bif (form == null) {
(B
(BSystem.out.println ("form nulle");
(B
(B}
(B
(Bif ("request".equals(mapping.getScope() )) {
(B
(Brequest.setAttribute(mapping.getAttribute(), form);
(B
(B}
(B
(Belse {
(B
(BHttpSession session = request.getSession();
(B
(Bsession.setAttribute(mapping.getAttribute(), form);
(B
(B}
(B
(B}
(B
(Bcatch (Exception ex) {
(B
(BSystem.out.println(ex.getMessage());
(B
(B}
(B
(Breturn mapping.findForward("success");
(B
(B}
(B
(Bpublic ActionForm buildStudent (String name) throws Exception {
(B
(B
(BStudent student = Student.getStudent (name);
(B
(Bform = new StudentForm ();
(B
(Bform.setIdPersonne (student.getName ());
(B
(Bform.setIdPersonne(student.getIdPerson ());
(B
(Bform.setName(rs.getString ("nom"));
(B
(B
(B
(Breturn form;
(B
(B
(B}
(B
(B
(B
(BI added in my struts-config :
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B
(BThen I define an editstudent action to retrieve the updated data from
(B
(Bthe editstudent view page.
(B
(B--
(B
(BAlexandre Jaquet
(B
(B- Original Message -
(BFrom: "Karl" <[EMAIL PROTECTED]>
(BTo: "Struts Users Mailing List" <[EMAIL PROTECTED]>
(BSent: Wednesday, March 05, 2003 3:43 AM
(BSubject: Re: Design issue: forms and iterations on the same page
(B
(B
(BOops, just realized I used my mock-up page.  The part showing the list of
(Badministrators will of course use an iterate tag =)
(B
(B
(B2003 3$B7n(B 5 $B?eMKF|(B 11:39$B!"(BKarl $B$5$s$O=q$-$^$7$?(B:
(B> I'm trying to figure out a good design strategy for building a page that
(B> allows viewing, adding, editing, and deleting of administrators.
(B>
(B> At the top of the page I have the form itself:
(B>
(B>  name="AdministratorUserForm"
(B> type="com.somewhere.aproject.AdministratorUserForm">
(B> 
(B> 
(B> Name
(B> 
(B>  size="16"/>
(B> 
(B> 
(B> 
(B> Password
(B> 
(B>  maxlength="8" size="8"/>
(B> 
(B> 
(B> 
(B> 
(B> 
(B> 
(B> 
(B> 
(B> 
(B>
(B> Under that I want a list of existing administrators (there will probabl
(B> only be 5-10 admins, and definitely not more than 20):
(B>
(B> 
(B> 
(B> Name
(B> 
(B> 
(B> 
(B> me
(B> 
(B> 
(B>  href="screen_manage_administrators.do?num=0">Edit 
(B>  href="do_administrator_remove.do?num=0">Delete
(B> 
(B> 
(B> 
(B> 
(B> myself
(B> 
(B> 
(B>   

Re: What is UserDirectory?? (Question about "Struts In Action" by Husted)

2003-03-04 Thread alexj
As it's write on the book it's an helper class who provide an action to
store the
key user name and password into a file.

An helper class abstract the logic for an action. But as you can read
on manning web site on errata part :

The test doesn't mention that the UserDirectory source code is available in
the download. The following should be added as the second paragraph of page
20:

  "We will also focus only on the Struts source files you need to create.
For example, the UserDirectory class is part of the application's business
logic. The Struts framework interacts with this class, but the UserDirectory
is not part of the Struts layer. (You would need this class whether you used
Struts or not.) If you are interested, the source code for UserDirectory is
provided in the WEB-INF/classes folder of the register application."

--
Alexandre Jaquet
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 2:12 AM
Subject: What is UserDirectory?? (Question about "Struts In Action" by
Husted)


> In Listing 1.2 on page 20 in the book, RegisterAction.java has a line of
source code that reads:
>
> UserDirectory.getInstance().setUser(user,password1);
>
> My question is: What is UserDirectory, and what does that line do?  I
cannot find anything about UserDirectory in any Java API.
>
> Thanks.
>
> __
> The NEW Netscape 7.0 browser is now available. Upgrade now!
http://channels.netscape.com/ns/browsers/download.jsp
>
> Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.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: Design question

2003-03-04 Thread alexj
> I got a little question how can I manage that case :
> 
> In my project I need to add activities to a formation an user
> select into a view page.
> 
> I need to forward the selected formation to an other view
> page where this page need to contain specific
   populated datas (like branch) from the previously 
  selected formation and then I can fill the new activity
  according the branch a formation have.
 
  What I'm thinking is to save in the 
   session scope all the datas in relation with
> formations (but didn't show all in the first view)  
> and then add a link to be able to forward to
> a specific formation page.
> 
> But I'm really not sure if it's a good way.
> 
> (I'm not sure if I'm clear enough to).
> 
> Thanks for you advice.
> 
> --
> Alexandre Jaquet
> 
> 
> 
> 
> -
> 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]



Design question

2003-03-04 Thread alexj
I got a little question how can I manage that case :

In my project I need to add activities to a formation an user
select into a view page.

I need to forward the selected formation to an other view
page where this page need to contain specific
populated datas (like branch) from the previously 
selected formation and then I can fill the new activity
according the branch a formation have.

What I'm thinking is to store in the 
save in the session scope all the datas in relation with
formations (but didn't show all in the first view)  
and then add a link to be able to forward to
a specific formation page.

But I'm really not sure if it's a good way.

(I'm not sure if I'm clear enough to).

Thanks for you advice.

--
Alexandre Jaquet




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



Re: ExceptionHandler

2003-03-04 Thread alexj
rhooo you need a beer :))

--
Alexandre Jaquet

- Original Message - 
From: "Dave Newton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 11:34 PM
Subject: RE: ExceptionHandler


> On Tue, 2003-03-04 at 17:18, Ray Madigan wrote:
> > How does one get a simple question answered?
> > 
> > I am stuck, the source is not helping, I have searched
> > the list, and this list won't tell me even if im on track?
> 
> about:
> 
> > From: Ray Madigan [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 04, 2003 8:55 AM
> 
> One has patience and waits longer than a single workday realizing that
> some of the people on This List actually have jobs and don't get to The
> List until after their normal workday.
> 
> One recognizes that This List may not HAVE the answer to your question
> thereby taking it upon his/herself to CREATE the answer to the question
> thus expanding the collective knowledge of This List or waits until
> somebody ELSE takes it upon him/herself to do the same.
> 
> One knows that nobody here is EXPECTED to answer any questions and that
> if one RECEIVES an answer that one should be GRATEFUL that somebody who,
> despite their undoubtedly busy schedule, was willing and able to
> contribute to The List, and one hopes that they, too, will one day be
> able to humbly serve another List Member.
> 
> One, hopefully, does NOT get pissy that their question wasn't answered
> within THEIR timeframe.
> 
> Thus endeth the sermon for the day.
> 
> (Hey, do I qualify for net police points now? :)
> 
> Dave
> 
> 
> 
> -
> 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: of question

2003-03-04 Thread alexj
I don't know any other method :(

--
Alexandre Jaquet

- Original Message -
From: "Dave Patton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 11:18 PM
Subject: Re:  of  question


> But what if I want to specify a different datasource without hardwiring
> it into the code.  Can I, or should I, use the  tag to do
> that?
>
> On Tue, 2003-03-04 at 14:13, alexj wrote:
>
> > I don't would say it's a really good way to do but how I do that is to
> > have in my ActionForm bean getter and setter as just usual but
> > in my getter method I made an external call to an HelperAction who
> > just retrieve the datas I want to populate.
> >
> > Example
> >
> > class foo extends ActionForm {
> >
> >  private Collection fooList;
> >
> >  private String fooItem;
> >
> > ..
> >
> > public Collection getFooList () {
> > fooList = HelperFooAction.getFooList ();
> >return fooList;
> > }
> >
> > --
> > Alexandre Jaquet
> >
> > - Original Message -
> > From: "Dave Patton" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, March 04, 2003 11:06 PM
> > Subject:  of  question
> >
> >
> > > What exactly does the  tag of the  tag in
> > > the struts-config file do.  My understanding is that it can pass or
set
> > > properties within the corresponding  tag class?
> > >
> > > Here is a scenario that I am not sure Struts can do? The thought is to
> > > have struts dynamically populate a dropdown menu from a specified
> > > datasource and using a DynaActionForm.  Please correct me if I am
> > > mistaken.
> > >
> > > On a jsp page there is a form with 1 dropdown menu element (simple
form
> > > for brevity sake). You have a DynaActionForm to mirror jsp form.  It
is
> > > configured in struts-config as follows:
> > >
> > > 
> > > 
> > >  > > value="SomeDataSource" />
> > > 
> > > 
> > >
> > > You also have a MyDropDownList object that looks like
> > >
> > >
> > > public class MyDropDownList extends java.util.List
> > > {
> > > private String listSource = "";
> > >
> > > public void setListSource(String listSource)
> > > {
> > > ...Some code
> > > }
> > >
> > > public String getListSource()
> > > {
> > > ...Some code
> > > }
> > >
> > > public void populateList()
> > > {
> > > ... code to get the list values from the specified list source
> > > 
> > >
> > > }
> > > }
> > >
> > > In the jsp page:
> > >
> > > 
> > > 
> > > 
> > >
> > > Is this correct?  Can this be donw?  Is ther another better way of
> > > accomplishing this?
> > >
> > > Dave Patton
> > >
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> _
> David H. Patton
> [EMAIL PROTECTED]
> (202) 276-8998 - pcs
>
> -BEGIN PGP PUBLIC KEY BLOCK-
>
> Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
>
> mQENBDui6osBCADP9OqVftQ2qxZz2fsxEf6GT6V2Fu0c2iIIMeWGyc5Pwl+xXe2w
> 3wx2pmNkLy3Zjp2/5q4nhvJd/GVn5gRR9OVTKgAz4o+xcOcAVIbgz3xFICbLozKa
> 2aZOUDtOu0TuYGhI9iIeGuPjnMjsS38EfZQ2DWwd+p5UW6wnsSuG7xniUT372v8w
> YrtUwnKQwjRUGUlZoX1zwvJj50xEzipyyHosMuzjoHme+d+MEECRhAK81p0487kl
> X0UMXBehnsFK1mjbtQgfy2fdk0KT4NxKSD5s8ojoSdJ7R5CMwvh1UM4v2aAEqKvE
> CYaCWrAfZ7+TQGHXu75ejJz1iIuUno1fVsgLABEBAAG0IkRhdmUgUGF0dG9uIDxk
> cGF0dG9uQG52ZW50dXJlLmNvbT6JAS4EEAECABgFAjui6osICwMJCAcCAQoCGQEF
> GwMACgkQ5ZDkPqeKwH9Xswf/aP2WGiAU+HFxV136uKW5oDtZtSvm0YuW69Ra
> A2dPKFPp6E7v+w2c7yEV4+ZkVxbfk+VOh3p1MpXR367nQl9C+jMAD7MvPU6/KI+T
> 5WDzzKEGsyxOI+GYeGRKO0ZAYITG9HxevvKa1GMHBwRYNr2Qv62ckkHTy5rdmzZe
> PFM/am8B9maH5gKg6oIqzJwfmvb+ll8DRbhfI25trLqzggifrFcZHkOwTVGLNfdM
> cPWK/Yu4dOLAKCow06q0G/tDmXNkcyx12R6Z4Y/cQ5Qyvt1WP+eQAM/HBJI8rR9c
> cxS80pEorJIx4a7x9EsiwmB8milqBrXqHN2GRe/PnZSM9czBK7kBDQQ7ouqNAQgA
> sWO4lchFwK6leJClCpdaCjL4oUGjiZorW+XG2YKtQW6a+oYlplcHFkMSibkTN6Jc
> RdPEkarRvJ7sj+UgsUfkj4//EtqARuHTXhnMlsjqISTXlS2l61fQFg1d0iwvinyV
> sq6lVDtrr7UBe2b5TOuoRe13CzGWyhNQafV1gMcpBx9KxNi24UowJiT+cJpnxMCu
> +DNElC2AmG7phPagSFL8F4f++dGL2l8kAkxCSCl3Kr+8HUlFmOwwZ1PGSSM83pM/
> NNZKDAdGUiBRKqC32oOhKacxb6cf4ta1kZ6GDZcqVo+5qlz4OtUKbRLtW5Y8tiFc
> PwkDePX/F1490V3YWgHVzwARAQABiQEiBBgBAgAMBQI7ouqNBRsMAAoJEOWQ
> 5D6nisB/8xsIAJLNUQC8SOQF5txBrO22W7uAJ9xU9RK66Pyf9a+KjdNf4rE6vK4n
> vhbSGmtoPB4bzOQ9RKpo8ihBQp1cY9mLnwuJDKSuzpkaOK5pd+bifwY20tweULR6
> 4rtU8uLL1H0eom2IBjSXhf4n8DEdyrGKKHYNO/GRLx/UHHcLEFvz+4buHrCPoiBP
> JwjS/Ifg5xc3nTJnZmG2HzapoRwgXxGitbNTArUZWkqHYLygA1/ilmnFs8POj/s+
> TD4wSuDlrwE2CE2O8XbRuRVPryzn8mXXdZ1pSwrrvZjRU5rnDRAOqhHZQQbudVd3
> XvnDDBDoURSqwDqnwOkoOSTC95aj+vy5WW0=
> =/zoc
>
> -END PGP PUBLIC KEY BLOCK-
>



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



Re: problem within a tile using RC1

2003-03-04 Thread alexj
Where the declaration of use of the struts-logic taglib ?

--
Alexandre Jaquet

- Original Message - 
From: "David Holtzhouser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 11:08 PM
Subject:  problem within a tile using RC1


> Can someone kindly help me out?
> 
> Given that the following chunck of code is a tile,
> call it Source A:
> 
> ** Begin Source A ***
> 
> <%@ taglib uri="/WEB-INF/struts-html.tld"
> prefix="html" %>
> <%@ taglib uri="/WEB-INF/struts-bean.tld"
> prefix="bean" %>
> 
> 
>  class="com.abc.xyz.bean.ScheduleInformationForm"
> scope="session">
> 
> 
> 
> 
> Weekly Options
> 
> 
> Recur every  name="scheduleInfoForm"> weeks(s) on:
> 
> 
> 
>  property="days" id="element">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Begin Date  name="scheduleInfoForm">
> End Date  name="scheduleInfoForm">
> 
>  name="scheduleInfoForm">No End Date
> 
> 
> 
> 
> *** End Source A *
> 
> What could be the possible source of not being able to
> use the  to simply display the contents
> of the days array?  
> 
> I keep getting the following error:
> ServletException in:/tiles/weekly_schedule.jsp] Cannot
> find bean element in any scope' 
> 
> My ActionForm is as follows (reduced to show things
> that relate to the error):
> 
> * Begin Source B **
> 
> public class ScheduleInformationForm extends
> ActionForm {
> 
> /* Class members */
> private String [] selectedDays = new String[0];
> private String [] days = {"Monday", "Tuesday",
> "Wednesday", "Thursday", "Friday"};
> 
> public void reset(ActionMapping mapping,
> HttpServletRequest request) {
> 
> this.selectedDays = new String[0];
> }
> 
> public String[] getSelectedDays() {
> return selectedDays;
> }
> 
> public String[] getDays() {
> return days;
> }
> 
> public void setDays(String[] days) {
> this.days = days;
> }
> 
> public void setSelectedDays(String[] selectedDays) {
> this.selectedDays = selectedDays;
> }
> 
> ** End Source B *
> 
> 
> Thanks in advance,
> 
> Dave
> 
> 
> 
> __
> 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: of question

2003-03-04 Thread alexj
I don't would say it's a really good way to do but how I do that is to
have in my ActionForm bean getter and setter as just usual but
in my getter method I made an external call to an HelperAction who
just retrieve the datas I want to populate.

Example 

class foo extends ActionForm {

 private Collection fooList;

 private String fooItem;

..

public Collection getFooList () {
fooList = HelperFooAction.getFooList ();
   return fooList;
}

--
Alexandre Jaquet

- Original Message - 
From: "Dave Patton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 11:06 PM
Subject:  of  question


> What exactly does the  tag of the  tag in
> the struts-config file do.  My understanding is that it can pass or set
> properties within the corresponding  tag class?
> 
> Here is a scenario that I am not sure Struts can do? The thought is to
> have struts dynamically populate a dropdown menu from a specified
> datasource and using a DynaActionForm.  Please correct me if I am
> mistaken.
> 
> On a jsp page there is a form with 1 dropdown menu element (simple form
> for brevity sake). You have a DynaActionForm to mirror jsp form.  It is
> configured in struts-config as follows:
> 
> 
> 
>  value="SomeDataSource" />
> 
> 
> 
> You also have a MyDropDownList object that looks like
> 
> 
> public class MyDropDownList extends java.util.List
> {
> private String listSource = ""; 
> 
> public void setListSource(String listSource)
> {
> ...Some code
> }
> 
> public String getListSource()
> {
> ...Some code
> }
> 
> public void populateList()
> {
> ... code to get the list values from the specified list source
> 
> 
> } 
> }
> 
> In the jsp page:
> 
> 
>  
> 
> 
> Is this correct?  Can this be donw?  Is ther another better way of
> accomplishing this?
> 
> Dave Patton
> 
> 


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



Re: [OT] Ancient computing

2003-03-04 Thread alexj
yeah pappy ;))

--
Alexandre Jaquet

- Original Message -
From: "Chappell, Simon P" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 10:51 PM
Subject: RE: [OT] Ancient computing


Arrrgh! I'm old! Good job I have a young wife (29) to comfort me in my old
age (36) :-)

>-Original Message-
>From: alexj [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, March 04, 2003 3:50 PM
>To: Struts Users Mailing List
>Subject: Re: [OT] Ancient computing
>
>
>lol I was playing with my Playmobil at this time ;))
>
>--
>Alexandre Jaquet
>
>- Original Message -
>From: "Chappell, Simon P" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Sent: Tuesday, March 04, 2003 10:46 PM
>Subject: RE: [OT] Ancient computing
>
>
>When I was a lad, I used to dream of a P3 500MHz ... well,
>maybe not, but I
>would have quite liked one. My first machine had a 3.5MHz
>Zilog Z-80A! Rock
>and Roll! :-)
>
>>-Original Message-
>>From: alexj [mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, March 04, 2003 3:44 PM
>>To: Struts Users Mailing List
>>Subject: Re: [OT] Ancient computing (was RE: [OT] Don't beat on James!
>>(was RE:[OT] JavaScript: ActionForm Does Not Contain Dynamically Set
>>Data)
>>
>>
>>lol my first PC was a pIII 500 ..(three years ago)
>>
>>--
>>Alexandre Jaquet
>>
>>- Original Message -
>>From: "Dave Newton" <[EMAIL PROTECTED]>
>>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>>Sent: Tuesday, March 04, 2003 10:38 PM
>>Subject: [OT] Ancient computing (was RE: [OT] Don't beat on
>James! (was
>>RE:[OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data)
>>
>>
>>> > My first two computers didn't even have floppy drives ...
>>300 baud tape
>>and 1024 bytes of memory!
>>>
>>> My machine TOTALLY ruled over yours; I had 4K.
>>>
>>> Nyah.
>>>
>>> (Well, actually, I guess my _first_ first computer had like
>maybe 256
>>> bytes and toggle switches, but I didn't get very far with
>that, being
>>> but a wee lad at the time.)
>>>
>>> Dave
>>>
>>>
>>>
>>>
>-
>>> 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]
>
>

-
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] Ancient computing

2003-03-04 Thread alexj
oh no I just born at this time lol

--
Alexandre Jaquet

- Original Message -
From: "alexj" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 10:49 PM
Subject: Re: [OT] Ancient computing


> lol I was playing with my Playmobil at this time ;))
>
> --
> Alexandre Jaquet
>
> - Original Message -
> From: "Chappell, Simon P" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Tuesday, March 04, 2003 10:46 PM
> Subject: RE: [OT] Ancient computing
>
>
> When I was a lad, I used to dream of a P3 500MHz ... well, maybe not, but
I
> would have quite liked one. My first machine had a 3.5MHz Zilog Z-80A!
Rock
> and Roll! :-)
>
> >-Original Message-
> >From: alexj [mailto:[EMAIL PROTECTED]
> >Sent: Tuesday, March 04, 2003 3:44 PM
> >To: Struts Users Mailing List
> >Subject: Re: [OT] Ancient computing (was RE: [OT] Don't beat on James!
> >(was RE:[OT] JavaScript: ActionForm Does Not Contain Dynamically Set
> >Data)
> >
> >
> >lol my first PC was a pIII 500 ..(three years ago)
> >
> >--
> >Alexandre Jaquet
> >
> >- Original Message -
> >From: "Dave Newton" <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Sent: Tuesday, March 04, 2003 10:38 PM
> >Subject: [OT] Ancient computing (was RE: [OT] Don't beat on James! (was
> >RE:[OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data)
> >
> >
> >> > My first two computers didn't even have floppy drives ...
> >300 baud tape
> >and 1024 bytes of memory!
> >>
> >> My machine TOTALLY ruled over yours; I had 4K.
> >>
> >> Nyah.
> >>
> >> (Well, actually, I guess my _first_ first computer had like maybe 256
> >> bytes and toggle switches, but I didn't get very far with that, being
> >> but a wee lad at the time.)
> >>
> >> Dave
> >>
> >>
> >>
> >> -
> >> 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]
>
>



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



Re: [OT] Ancient computing

2003-03-04 Thread alexj
lol I was playing with my Playmobil at this time ;))

--
Alexandre Jaquet

- Original Message -
From: "Chappell, Simon P" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 10:46 PM
Subject: RE: [OT] Ancient computing


When I was a lad, I used to dream of a P3 500MHz ... well, maybe not, but I
would have quite liked one. My first machine had a 3.5MHz Zilog Z-80A! Rock
and Roll! :-)

>-Original Message-
>From: alexj [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, March 04, 2003 3:44 PM
>To: Struts Users Mailing List
>Subject: Re: [OT] Ancient computing (was RE: [OT] Don't beat on James!
>(was RE:[OT] JavaScript: ActionForm Does Not Contain Dynamically Set
>Data)
>
>
>lol my first PC was a pIII 500 ..(three years ago)
>
>--
>Alexandre Jaquet
>
>- Original Message -
>From: "Dave Newton" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Sent: Tuesday, March 04, 2003 10:38 PM
>Subject: [OT] Ancient computing (was RE: [OT] Don't beat on James! (was
>RE:[OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data)
>
>
>> > My first two computers didn't even have floppy drives ...
>300 baud tape
>and 1024 bytes of memory!
>>
>> My machine TOTALLY ruled over yours; I had 4K.
>>
>> Nyah.
>>
>> (Well, actually, I guess my _first_ first computer had like maybe 256
>> bytes and toggle switches, but I didn't get very far with that, being
>> but a wee lad at the time.)
>>
>> Dave
>>
>>
>>
>> -
>> 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: [OT] Ancient computing (was RE: [OT] Don't beat on James! (was RE:[OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data)

2003-03-04 Thread alexj
lol my first PC was a pIII 500 ..(three years ago)

--
Alexandre Jaquet

- Original Message -
From: "Dave Newton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 10:38 PM
Subject: [OT] Ancient computing (was RE: [OT] Don't beat on James! (was
RE:[OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data)


> > My first two computers didn't even have floppy drives ... 300 baud tape
and 1024 bytes of memory!
>
> My machine TOTALLY ruled over yours; I had 4K.
>
> Nyah.
>
> (Well, actually, I guess my _first_ first computer had like maybe 256
> bytes and toggle switches, but I didn't get very far with that, being
> but a wee lad at the time.)
>
> Dave
>
>
>
> -
> 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] RE: X-Windows colours

2003-03-04 Thread alexj
They are for a while aviable on emule . I like to
got an pdf version before I buy a paper one.

--
Alexandre Jaquet

- Original Message -
From: "Chappell, Simon P" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 10:03 PM
Subject: RE: [OT] RE: X-Windows colours


:-)

But seriously, have y'all seen this:

http://www.oreilly.com/openbook/

O'Reilly publishers (one of my favourites) are slowly making a number of
their out of print books available in electronic format. This is majorly
excellent!

Simon

>-Original Message-
>From: Pani, Gourav [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, March 04, 2003 2:59 PM
>To: 'Struts Users Mailing List'
>Subject: RE: [OT] RE: X-Windows colours
>
>
>hmmm, let's see, how about this one?
>
>http://www.colorblind.to/colblincausa.html
>
>;)
>
>-Original Message-
>From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, March 04, 2003 3:57 PM
>To: Struts Users Mailing List
>Subject: RE: [OT] RE: X-Windows colours
>
>
>So what book do I get? :-)
>
>>-Original Message-
>>From: Pani, Gourav [mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, March 04, 2003 2:53 PM
>>To: 'Struts Users Mailing List'
>>Subject: [OT] RE: X-Windows colours
>>
>>
>>i am going to have to try that one out.  ;)
>>
>>anyone else contributing to the x-window color scheme contest
>>or do i have
>>to give free books like Ted?  ;)
>>
>>c'mon people, throw me a freakin' bone here...
>>
>>-Original Message-
>>From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, March 04, 2003 3:43 PM
>>To: Struts Users Mailing List
>>Subject: X-Windows colours
>>
>>
>>You can never go wrong with "papayawhip", and "burlywood" is
>>your friend!
>>:-)
>>
>>Simon
>>
>>>-Original Message-
>>>From: Pani, Gourav [mailto:[EMAIL PROTECTED]
>>>Sent: Tuesday, March 04, 2003 2:30 PM
>>>To: 'Struts Users Mailing List'
>>>Subject: RE: [OT] JavaScript: ActionForm Does Not Contain Dynamically
>>>Set Data
>>
>>
>>
>>>speaking of off topic discussions, i am getting tired of my
>>>x-windows color
>>>schemes.  does anyone have any better suggestions?  the
>>>following are the
>>>ones i am using now.
>>>
>>>-bg RoyalBlue4 -fg gold
>>>-bg black -fg NavajoWhite4
>>>-bg DarkGreen -fg yellow
>>>-bg wheat -fg chocolate
>>>-bg slategray -fg white
>>>-bg darkgoldenrod -fg black
>>>-bg olivedrab -fg lightgoldenrod
>>>
>>>TIA
>>
>>-
>>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]
>
>

-
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] Text editor usage (was RE: [OT]: What is vim?)

2003-03-03 Thread alexj
some go with car, some go on foot
it doesn't really matter how people go, if they can be at time ;))

--
Alexandre Jaquet
- Original Message -
From: "Chappell, Simon P" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, March 03, 2003 10:38 PM
Subject: [OT] Text editor usage (was RE: [OT]: What is vim?)


Actually, my primary point was text editor usage and programmer ability.

It is my personal observation that the better programmers use text editors.
(vi or emacs or jedit or vim ... I don't care ... that's not the argument
here). I'm not quite saying that IDEs are bad, although I'm certainly
tempted to say that some days, but programmers who CAN program with text
editors and command-line tools are orders of magnitude better than those who
can't. You are more than welcome to tell me that you believe this is not so,
but I have observed it enough that, to me, it is a truism.

Simon

>-Original Message-
>From: David Graham [mailto:[EMAIL PROTECTED]
>Sent: Monday, March 03, 2003 2:56 PM
>To: [EMAIL PROTECTED]
>Subject: RE: [OT]: What is vim?
>
>
>> >
>> >VIM (vi) beats the hell out of EMACS, unless you are a LISP
>> >weenie with a
>> >masochistic bent.  And any non-dot-completion editor refines
>> >your sense of
>> >the API because it forces you to RTFM.
>> >
>> >Mark
>
>I use an ide and am referencing javadoc all the time anyways.
>I don't see
>any correlation between ide use and api ignorance.
>
>David
>
>
>_
>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: What is the best struts plugin for Eclipse?

2003-03-03 Thread alexj
viMeilleur :)

--
Alexandre Jaquet

- Original Message -
From: "Pani, Gourav" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, March 03, 2003 5:16 PM
Subject: RE: What is the best struts plugin for Eclipse?


> viMproved.
>
> -Original Message-
> From: Alban Soupper [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 03, 2003 11:17 AM
> To: 'Struts Users Mailing List'
> Subject: RE: What is the best struts plugin for Eclipse?
>
>
> What is "vim" ?
>
> -Original Message-
> From: James Childers [mailto:[EMAIL PROTECTED]
> Sent: lundi, 3. mars 2003 16:50
> To: Struts Users Mailing List
> Subject: RE: What is the best struts plugin for Eclipse?
>
>
> Pshaw. Heathens, pagans, and troglodytes, all.
>
> I use vim for all my XML editing. Does quite nicely against struts-config,
> with code folding and syntax highlighting. Plus you are more manly if you
> can do stuff like :g!
> I am SOOO much better than you it makes my nose just fly upwards.
>
> -= J
>
> > -Original Message-
> > From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 03, 2003 9:44 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: What is the best struts plugin for Eclipse?
> >
> >
> > I use solar-eclipse plug in to edit ANY xml file and jsp.
> > I also use a resin eclipse plugin if I need to debug JSP. (on
> > resin home
> > page)
> >
> > hth,
> > .V
> >
> > p2 - apache wrote:
> > > Agree. It is a good product. Better launch it as standalone
> > or inside
> > > Sun ONE Studio/NetBeans.
> > >
> > >
> > > -Original Message-
> > > From: David Graham [mailto:[EMAIL PROTECTED]
> > > Sent: March 3, 2003 10:33 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: What is the best struts plugin for Eclipse?
> > >
> > > To be fair, Struts Console isn't really an Eclipse plugin.
> > The "plugin"
> > >
> > > just launches the program external to Eclipse.  For some reason, the
> > > menubar
> > > disappears when you do this so you may as well just launch the
> > > standalone
> > > Struts Console.
> > >
> > > David
> > >
> > >
> > >
> > >
> > >>From: "Brandon Goodin" <[EMAIL PROTECTED]>
> > >>Reply-To: "Struts Users Mailing List"
> > <[EMAIL PROTECTED]>
> > >>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > >>Subject: RE: What is the best struts plugin for Eclipse?
> > >>Date: Mon, 3 Mar 2003 08:03:53 -0700
> > >>
> > >>Easy Struts doesn't support tiles forwards in action
> > mappings and it
> > >>doesn't
> > >>handle validation.xml and it doesn't handle tiles-defs.xml.
> > It is still
> > >>pretty immature. However, StrutsConsole handles everything
> > really well.
> > >>Usually I do a combo of normal text editing and struts
> > console. Most of
> > >
> > > the
> > >
> > >>stuff you do is easily copy and pasted in a text editor.
> > Then you can
> > >
> > > go
> > >
> > >>back and make attribute value changes as you need. The nice
> > thing about
> > >>strutsconsole is that you can validate your various config
> > files. It is
> > >
> > >
> > >>also
> > >>so well organized that it helps you remember what
> > configuration options
> > >
> > > are
> > >
> > >>available and how to handle them.
> > >>
> > >>Brandon Goodin
> > >>Phase Web and Multimedia
> > >>PO Box 85
> > >>Whitefish MT 59937
> > >>P (406) 862-2245
> > >>F (406) 862-0354
> > >>[EMAIL PROTECTED]
> > >>http://www.phase.ws
> > >>
> > >>
> > >>-Original Message-
> > >>From: Jacob Hookom [mailto:[EMAIL PROTECTED]
> > >>Sent: Monday, March 03, 2003 7:51 AM
> > >>To: 'Struts Users Mailing List'
> > >>Subject: RE: What is the best struts plugin for Eclipse?
> > >>
> > >>
> > >>ANT
> > >>
> > >>-Original Message-
> > >>From: alexj [mailto:[EMAIL PROTECTED]
> > >>Sent: Monday, March 03, 2003 4:11 AM
> > >>To: Str

Re: trouble on my editing

2003-03-03 Thread alexj
Hi,

Try to add :

if ("request".equals(mapping.getScope() )) {

request.setAttribute(mapping.getAttribute(), form);

}

else {

HttpSession session = request.getSession();

session.setAttribute(mapping.getAttribute(), form);

}

- Original Message -
From: "Richard Raquepo" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, March 03, 2003 10:46 AM
Subject: trouble on my editing


I am doing a webapp in struts... i'm using a sample program i found during
my web searches.
I was able to do fine, like saving and deleting but i always seem to get
this error whenever i
try to setting the form to the session.

My code is:
   GetUserAccountService service = null;
UserAccountForm userAccountForm = null;
if(tmUserId != null){
 service = new GetUserAccountService();
 userAccountForm = new UserAccountForm();
 service.setServlet(servlet);
 userAccountForm = service.getUserAccount(Integer.parseInt(tmUserId));
 form = (ActionForm)userAccountForm;
 if( form == null){
   System.err.println("---> userAccountForm is Null!");
   }
 System.err.println("---> Test form.getUserid: " +
userAccountForm.getUserid());
 System.err.println("---> Test form.getUsername: " +
userAccountForm.getUsername());
 System.err.println("---> Test mapping: " + mapping.getAttribute());
 //Save form in session for editing
 try{
  session.setAttribute(mapping.getAttribute(), form);
  request.setAttribute(mapping.getAttribute(), form);
  }catch (Exception e) {
System.err.println("ERROR:"+e.getMessage());
e.printStackTrace(System.err);
   }
 }

>
the error is:

java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at com.caucho.server.http.Request.setAttribute(Request.java:1480)
at
com.fltic.crm.action.manager.EditTmAccountAction.execute(EditTmAccoun
tAction.java:104)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:465)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:274)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:142
2)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:505)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet
.java:96)
at com.caucho.server.http.Invocation.service(Invocation.java:312)
at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:1
35)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:244
)
at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:
163)
at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
at java.lang.Thread.run(Thread.java:536)

> Hope anyone would help me. thanks a lot.

This code i provided is for my Edit action classes.

Thanks a lot again.


-Richard



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



Re: What is the best struts plugin for Eclipse?

2003-03-03 Thread alexj
easy struts is the best :)

--
Alexandre Jaquet

- Original Message -
From: "Alban Soupper" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, March 03, 2003 11:08 AM
Subject: What is the best struts plugin for Eclipse?


> Hi all,
>
> With your experience can you tell me, wht is your favorite Struts plugin
for
> Eclipse?
>
> I am most of all interested in the edition of the configuration file and
> graphical visualization of this file.
>
> Alban.
>
>
> **
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager at postmaster.eim.ch.
> **
>
>
> -
> 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] SSLExt question

2003-03-02 Thread alexj
have you add in your jsp the directive :
<%@ taglib uri="/WEB-INF/sslext.tld" prefix="sslext"%>



--

Alexandre Jaquet

- Original Message - 
From: "John Dubchak" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, March 02, 2003 8:13 PM
Subject: Re: [OT] SSLExt question


On Sunday 02 March 2003 12:46, alexj wrote:
> have you got the correct sslext.jar for your version of struts ?
> does the sample app work ?

Yes and yes.  ;-)

-
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] SSLExt question

2003-03-02 Thread alexj
have you got the correct sslext.jar for your version of struts ?
does the sample app work ?

--
Alexandre Jaquet

- Original Message -
From: "John Dubchak" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, March 02, 2003 7:57 PM
Subject: Re: [OT] SSLExt question


On Sunday 02 March 2003 12:30, alexj wrote:
> jetty is configured for ssl ?
>
> I don't know the procedure for jetty I use tomcat.

Yes, I also have jetty configured correctly and a keystore installed since I
can use SSL without struts.

-
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] SSLExt question

2003-03-02 Thread alexj
jetty is configured for ssl ?

I don't know the procedure for jetty I use tomcat.

--
Alexandre Jaquet
- Original Message -
From: "John Dubchak" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, March 02, 2003 7:51 PM
Subject: Re: [OT] SSLExt question


On Sunday 02 March 2003 12:23, alexj wrote:
> have you use the ssl form tag in your page ?
> 

No, but I can't even get that far to show the form.  I'm trying to redirect
through SSL with a basic form action in struts-config.xml to show the form
for the first time with:

org.apache.struts.actions.ForwardAction

and setting the secure property to true.  The complete action is:






It is simply a blank request, nothing else at that point.

Thanks,
John

-
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] SSLExt question

2003-03-02 Thread alexj
have you use the ssl form tag in your page ?
 

--

Alexandre Jaquet

- Original Message - 
From: "John Dubchak" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, March 02, 2003 7:41 PM
Subject: Re: [OT] SSLExt question


On Sunday 02 March 2003 12:04, alexj wrote:
> Hi John,
>
> Have you update your struts-config file and change action mapping
> type like this way :
>
> 

Yes, sorry I forgot to mention that.


-
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] SSLExt question

2003-03-02 Thread alexj
Hi John,

Have you update your struts-config file and change action mapping
type like this way :



--
Alexandre Jaquet

- Original Message -
From: "John Dubchak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 02, 2003 7:08 PM
Subject: [OT] SSLExt question


Hello,

I'm hoping someone else has integrated Struts, Tiles and the SSL extensions
from sslext.sourceforge.net.  What I've done is tried to follow the sample
sslext application and add the plugin to struts-config.xml along with the
set-property secure="true" to a couple of my actions and now everything is
coming up as HTTP 400 errors.

I'm using Jetty and everything was working prior to adding the sslext stuff.
Here is an excerpt from my struts-config.xml file:







And a sample from a login action:





I'll entertain any suggestions.

Thanks,
John

-
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-layout] & struts 1.1 b3

2003-03-01 Thread alexj
 Hi does anyone have use correcty struts-layout (latest one) and
 the b3 ?
When I add these lib and compile my project I got many deprecated errors.
 
 Thanks for your help.
 
> /**
> * Alexandre Jaquet
> */
> 
> 
> -
> 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]



[struts-layout] & struts 1.1 b3

2003-03-01 Thread alexj
Hi does anyone have user correcty struts-layout (latest one) and
the b3 ?
When I add these lib and compile my project I got many deprecated errors.

Thanks for your help.

/**
* Alexandre Jaquet
*/


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



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

2003-02-28 Thread alexj
yep it's more clearer you rigth ;) 

--
Alexandre Jaquet
- Original Message - 
From: "John Espey" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, March 01, 2003 12:49 AM
Subject: RE: [struts-el] What's the benefits ?


> here is a simple example:
> 
> 
> 
> 
> There are no items to be evaluated..
> 
> 
> 
> 
> 
> 
> 
> 
> as opposed to:
> 
>   
> 
>There are no items to be evaluated..
> 
> 
>   
>  
>   
> 
>  
> 
> it seems easier to me, do you agree?  (I may be falsely sold on a "new"
> technology, just curious.)
> 
> > -Original Message-
> > From: alexj [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 28, 2003 6:34 PM
> > To: Struts Users Mailing List
> > Subject: [struts-el] What's the benefits ?
> >
> >
> > I didn't find the benefits of the use of jstl extention.
> >
> > Who can explain me the benefits ?
> >
> > --
> > Alexandre Jaquet
> >
> >
> >
> >
> > -
> > 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: [struts-el] What's the benefits ?

2003-02-28 Thread alexj
I will read JSTL in Action to have a better knowledege of JSTL.

--
Alexandre Jaquet

- Original Message -
From: "alexj" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, March 01, 2003 12:49 AM
Subject: Re: [struts-el] What's the benefits ?


> I've read a bit but I can't find the difference between jstl and scriplet.
> Maybe I've to read more about JSTL.
>
> --
> Alexandre Jaquet
>
> - Original Message -
> From: "Karr, David" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Saturday, March 01, 2003 12:39 AM
> Subject: RE: [struts-el] What's the benefits ?
>
>
> > -Original Message-
> > From: alexj [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 28, 2003 3:34 PM
> > To: Struts Users Mailing List
> > Subject: [struts-el] What's the benefits ?
> >
> > I didn't find the benefits of the use of jstl extention.
> >
> > Who can explain me the benefits ?
>
> You would be well-advised to read the JSTL specification to get a good
> feel for that.  Section 1.1, titled "Goals" provides a reasonably
> summary of this.
>
>
> -
> 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: [struts-el] What's the benefits ?

2003-02-28 Thread alexj
I've read a bit but I can't find the difference between jstl and scriplet.
Maybe I've to read more about JSTL.

--
Alexandre Jaquet

- Original Message - 
From: "Karr, David" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, March 01, 2003 12:39 AM
Subject: RE: [struts-el] What's the benefits ?


> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 3:34 PM
> To: Struts Users Mailing List
> Subject: [struts-el] What's the benefits ?
> 
> I didn't find the benefits of the use of jstl extention.
> 
> Who can explain me the benefits ?

You would be well-advised to read the JSTL specification to get a good
feel for that.  Section 1.1, titled "Goals" provides a reasonably
summary of this.


-
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]



[struts-el] What's the benefits ?

2003-02-28 Thread alexj
I didn't find the benefits of the use of jstl extention.

Who can explain me the benefits ? 

--
Alexandre Jaquet




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



Re: deploy with ant, best practices

2003-02-28 Thread alexj
I just got a copy of the Manning book Java Developpement with Ant it's a
great one.

--
Alexandre Jaquet

- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 11:04 PM
Subject: RE: deploy with ant, best practices


>
>
> On Fri, 28 Feb 2003, Jaye Bass wrote:
>
> > Date: Fri, 28 Feb 2003 13:06:33 -0600
> > From: Jaye Bass <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> > Subject: RE: deploy with ant, best practices
> >
> > My ant targets build directly into my webapp directories...the root
> > location is set in an env variable. This really seems to work for us on
> > a variety of systems (linux, windows, and occasionally macs) from
> > development to ultimate deployment and maintenance.
> >
>
> The only aspect of this I'd be concerned about is if Tomcat happened to
> try to auto-deploy your app while it was being compiled, but is currently
> incomplete.  You might end up with some mysterious issues.
>
> Craig
>
> > -Original Message-
> > From: Dan Allen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 28, 2003 1:30 AM
> > To: [EMAIL PROTECTED]
> > Subject: deploy with ant, best practices
> >
> > I have been studying ant very thoroughly over the past two days, and
> > I completely understand the file from top to bottom, including how
> > to reload the application using the  tag imported from
> > org.apache.catalina.ant.ReloadTask.  However, I am stuck on an
> > issue.
> >
> > Assuming that I follow the techniques from the book Struts Kick
> > Start, I create a development tree such as
> >
> > ${app.home}
> > /build
> > /deploy
> > /object
> > /src
> > /lib
> > /web
> > /WEB-INF
> > /META-INF
> >
> > then the actual target tree (under tomcat/webapps) is the typical
> >
> > ${app.name}.war
> > ${app.name}
> > /WEB-INF
> > /WEB-INF/lib
> > /WEB-INF/classes
> > /META-INF
> >
> > Okay, now stay with me here.  Assume that I currently have the
> > application running under tomcat.  If I build the .war file from the
> > build/ directory and place it into ${app.home}/deploy, then copy
> > it to ${app.name}.war under tomcat/webapps, it isn't going to
> > automatically expand over the current running tree.  It just sits
> > there until I kick tomcat (restart it) after deleting the running
> > application directory.
> >
> > So what I did instead was I made the build/ directory the actual
> > running application directory so it just copied over the "live"
> > files directly as they were updated by javac.  Then a simple
> > "reload" would cause the application to start using the updated
> > files.
> >
> > The question on the table is as follows.  How do you get tomcat to
> > expand an updated .war file over a currently running application
> > before you reload it?  It seems wrong to have the "live" application
> > the target of my build process.
> >
> > The goal here is to update the running application without having to
> > restart tomcat and without having to use the running application as
> > the target of the build process.  I want to be able to copy the
> > updated .war file into the tomcat/webapps folder and have it expand
> > it over the running application files.  Is this unreasonable to
> > expect this?  How does everyone else do it.  Surely you are not
> > restarting tomcat all day.
> >
> > Dan
> >
> > --
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > Daniel Allen, <[EMAIL PROTECTED]>
> > http://www.mojavelinux.com/
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > "I am the GOD.the GOD...of house!"
> >  -- Leeloo
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >
> > -
> > 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: [OT] Must be desperate times for M$

2003-02-28 Thread alexj
Windows is already open source for governement as I've read.

--
Alexandre Jaquet

- Original Message -
From: "Phillip Qin" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 11:13 PM
Subject: RE: [OT] Must be desperate times for M$


> Shall I say it's only a matter of time before windows becomes open source?
>
> Regards,
>
>
> PQ
>
> "This Guy Thinks He Knows Everything"
> "This Guy Thinks He Knows What He Is Doing"
>
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: February 28, 2003 4:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OT] Must be desperate times for M$
>
> It's only a matter of time before the windows source code is leaked to
> everyone.  Will we be horrified or impressed?
>
> David
>
>
>
> >From: "James Mitchell" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Subject: [OT] Must be desperate times for M$
> >Date: Fri, 28 Feb 2003 16:19:56 -0500
> >
> >
> >"In order to develop its software industry and maintain security, China
> >has produced its own version of Linux, Red Flag Linux, as well as its
> >own office productivity suite, RedOffice, which go head-to-head with
> >Microsoft's Windows and Office packages."
> >
> >
> >Oh, I love this.  China says, 'put up or shut up'!!!
> >
> >http://news.com.com/2100-1007-990526.html?tag=fd_top
> >
> >
> >
> >--
> >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)
> >
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> _
> 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: [OT] Must be desperate times for M$

2003-02-28 Thread alexj
I think it's not hard to have a clearer code than the linux kernel ;)
--
Alexandre Jaquet

>-- Original Message --
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>From: "David Graham" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [OT] Must be desperate times for M$
>Date: Fri, 28 Feb 2003 14:31:56 -0700
>
>
>It's only a matter of time before the windows source code is leaked to

>everyone.  Will we be horrified or impressed?
>
>David
>
>
>
>>From: "James Mitchell" <[EMAIL PROTECTED]>
>>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>>Subject: [OT] Must be desperate times for M$
>>Date: Fri, 28 Feb 2003 16:19:56 -0500
>>
>>
>>"In order to develop its software industry and maintain security, China
>>has produced its own version of Linux, Red Flag Linux, as well as its
>>own office productivity suite, RedOffice, which go head-to-head with
>>Microsoft's Windows and Office packages."
>>
>>
>>Oh, I love this.  China says, 'put up or shut up'!!!
>>
>>http://news.com.com/2100-1007-990526.html?tag=fd_top
>>
>>
>>
>>--
>>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)
>>
>>
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>_
>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]
>


sunrise premiumsurf - ne vous contentez pas du minimum!
http://internet.sunrise.ch/fr/internet/int_sps.asp




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



RE: [OT] trouble with JDBC

2003-02-28 Thread alexj
Thanks it 's work just fine now :)

--
Alexandre
>-- Original Message --
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>From: "Vinh Tran" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: RE: [OT] trouble with JDBC
>Date: Fri, 28 Feb 2003 16:16:30 -0500
>
>
>do this...
>
>SELECT  p.name, p.firstName, p.adress, f.name as formation_name
>FROM person p, formation f
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Friday, February 28, 2003 4:06 PM
>To: Struts Users Mailing List; 'Struts Users Mailing List'
>Subject: RE: [OT] trouble with JDBC
>
>
>It's still doesn't work ..
>
>I'm been using postgresql 7.3 on cygwin with the jdbc driver comming with
>jboss.
>
>--
>Alexandre Jaquet
>
>>-- Original Message --
>>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>>From: "James Mitchell" <[EMAIL PROTECTED]>
>>To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
>>Subject: RE: [OT] trouble with JDBC
>>Date: Fri, 28 Feb 2003 15:54:49 -0500
>>
>>
>>Use an alias.
>>
>>Depending on the vendor you could have:
>>SELECT  name, firstName, adress, formation.name formation_name FROM
>>person, formation
>>
>>Or
>>
>>SELECT  name, firstName, adress, formation.name as formation_name FROM
>>person, formation
>>
>>
>>--
>>James Mitchell
>>Web Developer/Struts Evangelist
>>http://jakarta.apache.org/struts/
>>
>>
>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>>> Sent: Friday, February 28, 2003 3:49 PM
>>> To: Struts Users Mailing List; [EMAIL PROTECTED]
>>> Subject: [OT] trouble with JDBC
>>>
>>>
>>> Hi know this is really out of topic but I get trouble with
>>> query who require
>>> multiple tables with same column name through JDBC.
>>>
>>> Ex :
>>>   SELECT  name, firstName, adress, formation.name FROM
>>> person, formation
>>> .
>>>
>>> With a query like this one I got en exception : The column
>>> name formation.name
>>> not found 
>>>
>>> But work fine in a console...
>>>
>>> Any idea ??
>>>
>>> --
>>> Alexandre Jaquet
>>>
>>> sunrise premiumsurf - ne vous contentez pas du minimum!
>>> http://internet.sunrise.ch/fr/internet/int_sps.asp
>>>
>>>
>>>
>>>
>>> -
>>> 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]
>>
>
>
>sunrise premiumsurf - ne vous contentez pas du minimum!
>http://internet.sunrise.ch/fr/internet/int_sps.asp
>
>
>
>
>-
>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]
>


sunrise premiumsurf - ne vous contentez pas du minimum!
http://internet.sunrise.ch/fr/internet/int_sps.asp




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



RE: [OT] trouble with JDBC

2003-02-28 Thread alexj
Thanks it 's work just fine now :)

--
Alexandre
>-- Original Message --
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>From: "Vinh Tran" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: RE: [OT] trouble with JDBC
>Date: Fri, 28 Feb 2003 16:16:30 -0500
>
>
>do this...
>
>SELECT  p.name, p.firstName, p.adress, f.name as formation_name
>FROM person p, formation f
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Friday, February 28, 2003 4:06 PM
>To: Struts Users Mailing List; 'Struts Users Mailing List'
>Subject: RE: [OT] trouble with JDBC
>
>
>It's still doesn't work ..
>
>I'm been using postgresql 7.3 on cygwin with the jdbc driver comming with
>jboss.
>
>--
>Alexandre Jaquet
>
>>-- Original Message --
>>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>>From: "James Mitchell" <[EMAIL PROTECTED]>
>>To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
>>Subject: RE: [OT] trouble with JDBC
>>Date: Fri, 28 Feb 2003 15:54:49 -0500
>>
>>
>>Use an alias.
>>
>>Depending on the vendor you could have:
>>SELECT  name, firstName, adress, formation.name formation_name FROM
>>person, formation
>>
>>Or
>>
>>SELECT  name, firstName, adress, formation.name as formation_name FROM
>>person, formation
>>
>>
>>--
>>James Mitchell
>>Web Developer/Struts Evangelist
>>http://jakarta.apache.org/struts/
>>
>>
>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>>> Sent: Friday, February 28, 2003 3:49 PM
>>> To: Struts Users Mailing List; [EMAIL PROTECTED]
>>> Subject: [OT] trouble with JDBC
>>>
>>>
>>> Hi know this is really out of topic but I get trouble with
>>> query who require
>>> multiple tables with same column name through JDBC.
>>>
>>> Ex :
>>>   SELECT  name, firstName, adress, formation.name FROM
>>> person, formation
>>> .
>>>
>>> With a query like this one I got en exception : The column
>>> name formation.name
>>> not found 
>>>
>>> But work fine in a console...
>>>
>>> Any idea ??
>>>
>>> --
>>> Alexandre Jaquet
>>>
>>> sunrise premiumsurf - ne vous contentez pas du minimum!
>>> http://internet.sunrise.ch/fr/internet/int_sps.asp
>>>
>>>
>>>
>>>
>>> -
>>> 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]
>>
>
>
>sunrise premiumsurf - ne vous contentez pas du minimum!
>http://internet.sunrise.ch/fr/internet/int_sps.asp
>
>
>
>
>-
>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]
>


sunrise premiumsurf - ne vous contentez pas du minimum!
http://internet.sunrise.ch/fr/internet/int_sps.asp




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



RE: [OT] trouble with JDBC

2003-02-28 Thread alexj
It's still doesn't work ..

I'm been using postgresql 7.3 on cygwin with the jdbc driver comming with
jboss.

--
Alexandre Jaquet

>-- Original Message --
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>From: "James Mitchell" <[EMAIL PROTECTED]>
>To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
>Subject: RE: [OT] trouble with JDBC
>Date: Fri, 28 Feb 2003 15:54:49 -0500
>
>
>Use an alias.
>
>Depending on the vendor you could have:
>SELECT  name, firstName, adress, formation.name formation_name FROM
>person, formation
>
>Or
>
>SELECT  name, firstName, adress, formation.name as formation_name FROM
>person, formation
>
>
>--
>James Mitchell
>Web Developer/Struts Evangelist
>http://jakarta.apache.org/struts/
>
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> Sent: Friday, February 28, 2003 3:49 PM
>> To: Struts Users Mailing List; [EMAIL PROTECTED]
>> Subject: [OT] trouble with JDBC
>>
>>
>> Hi know this is really out of topic but I get trouble with
>> query who require
>> multiple tables with same column name through JDBC.
>>
>> Ex :
>>   SELECT  name, firstName, adress, formation.name FROM
>> person, formation
>> .
>>
>> With a query like this one I got en exception : The column
>> name formation.name
>> not found 
>>
>> But work fine in a console...
>>
>> Any idea ??
>>
>> --
>> Alexandre Jaquet
>>
>> sunrise premiumsurf - ne vous contentez pas du minimum!
>> http://internet.sunrise.ch/fr/internet/int_sps.asp
>>
>>
>>
>>
>> -
>> 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]
>


sunrise premiumsurf - ne vous contentez pas du minimum!
http://internet.sunrise.ch/fr/internet/int_sps.asp




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



[OT] trouble with JDBC

2003-02-28 Thread alexj
Hi know this is really out of topic but I get trouble with query who require
multiple tables with same column name through JDBC.

Ex :
  SELECT  name, firstName, adress, formation.name FROM person, formation
.

With a query like this one I got en exception : The column name formation.name
not found 

But work fine in a console...

Any idea ??

--
Alexandre Jaquet

sunrise premiumsurf - ne vous contentez pas du minimum!
http://internet.sunrise.ch/fr/internet/int_sps.asp




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



Re: automatic send mail

2003-02-28 Thread alexj
nop thanks :)

--
Alexandre Jaquet

- Original Message - 
From: "Jarnot Voytek Contr AU HQ/SC" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 3:08 PM
Subject: RE: automatic send mail


> Have you looked at http://java.sun.com/products/javamail/ ?
> 
> --
> Voytek Jarnot
> Quidquid latine dictum sit, altum viditur.
> 
> 
> > -Original Message-
> > From: alexj [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 28, 2003 5:23 AM
> > To: Struts Users Mailing List
> > Subject: automatic send mail
> > 
> > 
> > Hi all,
> > 
> > I got one more question :
> > 
> > How can I solve this use case, I need to automatic
> > delivering mail to student who have not validate some
> > exercices or they are late in the execution of them.
> > 
> > I have a view page how show by courses and by
> > class all the students and all the state of theirs exercices 
> > and I want allow a professor to choose to send mail
> > to students.
> > 
> > Thanks for your advice.
> > 
> > --
> >  Alexandre Jaquet
> > 
> > 
> > 
> > 
> > -
> > 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: Struts-EL

2003-02-28 Thread alexj
have you tried result.size ?

- Original Message - 
From: "Josh Rayls" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 2:47 PM
Subject: Struts-EL


> Hi,
> 
> Is there a property that I can use to get the size of a collection?
> 
> Basically, I want to do this:
> 
> ${resultBean.result.length}
> 
> Where result is a Collection.
> 
> Thanks for any help!
> 
> -Josh
> 


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



Re: How do you display action error messages in jsp?

2003-02-28 Thread alexj
Exemple : 

public ActionForward execute(

ActionMapping mapping,

ActionForm form,

HttpServletRequest request,

HttpServletResponse response)

throws Exception {

ArrayList students = new ArrayList ();

HttpSession session = request.getSession(); 

String target = new String ("success");

LoginForm loginForm = (LoginForm) form;

String userName = ((LoginForm) form).getUserName();

String userPassword = ((LoginForm) form).getUserPassword();

String user = getUser(userName, userPassword);

if (user == null) {

target = new String ("login");

ActionErrors errors = new ActionErrors ();

errors.add(ActionErrors.GLOBAL_ERROR, new ActionError (

"errors.userNotFound", userName)); 

saveErrors(request, errors) ;

}

else {

session.setAttribute("USER :", user);

} 

return (mapping.findForward(target));

}



And in your jsp view you will need to add 

a  tag.

Don't forget to add your message keys on your application.properties file.

Example :

userNameNotFound=User name not found

--

Alexandre Jaquet



- Original Message - 
From: "julian green" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 2:38 PM
Subject: How do you display action error messages in jsp?


> I have a jsp page that is being pre-populated by the action, the action 
> is writing values directly into the form bean.  But I also want to 
> display error messages generated by the action.
> 
> I am doing a:
> 
> saveErrors(request, errors);
> 
> return mapping.findForward("success");
> 
> at the end of the action, but nothing ever shows up.  Any ideas?
> 
> The "success" forward mapps to the jsp page in struts-config.xml
> 
> Julian
> 
> 
> -
> 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]



automatic send mail

2003-02-28 Thread alexj
Hi all,

I got one more question :

How can I solve this use case, I need to automatic
delivering mail to student who have not validate some
exercices or they are late in the execution of them.

I have a view page how show by courses and by
class all the students and all the state of theirs exercices 
and I want allow a professor to choose to send mail
to students.

Thanks for your advice.

--
 Alexandre Jaquet




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



Re: passing parameter between a view and an action with

2003-02-27 Thread alexj
I solve my problem (I've forgot to add the type and name of the ActionForm
on the
edit view page)

--
Alexandre Jaquet
- Original Message -
From: "alexj" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, February 27, 2003 9:25 PM
Subject: Re: passing parameter between a view and an action with 


> I just change the to url to href="/ibmss/getstudent.do paramId="name"
> paramProperty="name"/> and
>
> I didn't get any error but I'm still having trouble when I will populate a
> form with
> the datas I get from the preceding view.
>
> In fact what I want to do is to when a user select a person in my view
page
> (where I have defined the link) is to pass all the datas to an action
named
> getstudent.
>
> In this action I create a new ActionForm and populate with the datas I
just
> pick from my action. I 've do some System.out.println just to test if my
> datas was taken. But I'm still having trouble when I want to forward
> theses datas to an editstudent view page.
>
> I define in my getstudent action an execute method who do this job :
>
> public ActionForward execute(
>  ActionMapping mapping,
>  ActionForm form,
>  HttpServletRequest request,
>  HttpServletResponse response)
>  throws Exception {
>
> try {
>   form = buildStudent(request.getParameter("name"));
>   if (form == null) {
>  System.out.println ("form nulle");
>}
>   if ("request".equals(mapping.getScope() )) {
>   System.out.println("<<<request>>>");
>   request.setAttribute(mapping.getAttribute(), form);
>}
>   else {
>  System.out.println("<<<session>>>");
>  HttpSession session = request.getSession();
>  session.setAttribute(mapping.getAttribute(), form);  }
> }
>   catch (Exception ex) {
>   }
>   return mapping.findForward("success");
>
> The buildStudent(request.getParameter("name"))
> method build me the a new form with the existing
> datas.
>
> But when I run my editstudent view page have blank field.
>
> My mapping is defined this way :
>
> 
> attribute="studentForm"
>
> input="/form/editstudent.jsp"
>
> name="studentForm"
>
> path="/editstudent"
>
> type="soft.ibmss.struts.action.Action">
>
> 
>
> 
>
> 
>
>
>
> 
> path="/getstudent"
>
> name="studentForm"
>
> scope="request"
>
> validate="false"
>
> type="soft.ibmss.struts.action.GetstudentAction">
>
> 
>
> 
>
> Any idea 
>
> Thank you in advance.
>
> --
> Alexandre Jaquet
>
> - Original Message -
> From: "alexj" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Thursday, February 27, 2003 8:03 PM
> Subject: passing parameter between a view and an action with 
>
>
> > Hi,
> >
> > I'm been looking how can I passe a parameter between a view to an action
> > using
> >
> > the  >
> >
> >
> >  > href="/ibmss/getstudent.do?name=" paramId="name" paramProperty="name"/>
> >
> > Thanks for your help.
> >
> > <--
> > Alexandre Jaquet
> > ->
> >
> >
> >
> > -
> > 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: passing parameter between a view and an action with

2003-02-27 Thread alexj
I just change the to url to href="/ibmss/getstudent.do paramId="name"
paramProperty="name"/> and

I didn't get any error but I'm still having trouble when I will populate a
form with
the datas I get from the preceding view.

In fact what I want to do is to when a user select a person in my view page
(where I have defined the link) is to pass all the datas to an action named
getstudent.

In this action I create a new ActionForm and populate with the datas I just
pick from my action. I 've do some System.out.println just to test if my
datas was taken. But I'm still having trouble when I want to forward
theses datas to an editstudent view page.

I define in my getstudent action an execute method who do this job :

public ActionForward execute(
 ActionMapping mapping,
 ActionForm form,
 HttpServletRequest request,
 HttpServletResponse response)
 throws Exception {

try {
  form = buildStudent(request.getParameter("name"));
  if (form == null) {
 System.out.println ("form nulle");
   }
  if ("request".equals(mapping.getScope() )) {
  System.out.println("<<<request>>>");
  request.setAttribute(mapping.getAttribute(), form);
   }
  else {
 System.out.println("<<<session>>>");
 HttpSession session = request.getSession();
 session.setAttribute(mapping.getAttribute(), form);  }
}
  catch (Exception ex) {
  }
  return mapping.findForward("success");

The buildStudent(request.getParameter("name"))
method build me the a new form with the existing
datas.

But when I run my editstudent view page have blank field.

My mapping is defined this way :

















Any idea 

Thank you in advance.

--
Alexandre Jaquet

- Original Message -
From: "alexj" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, February 27, 2003 8:03 PM
Subject: passing parameter between a view and an action with 


> Hi,
>
> I'm been looking how can I passe a parameter between a view to an action
> using
>
> the 
>
>
>  href="/ibmss/getstudent.do?name=" paramId="name" paramProperty="name"/>
>
> Thanks for your help.
>
> <--
> Alexandre Jaquet
> ->
>
>
>
> -
> 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]



passing parameter between a view and an action with

2003-02-27 Thread alexj
Hi,

I'm been looking how can I passe a parameter between a view to an action
using

the 

Thanks for your help.

<--
Alexandre Jaquet
->



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



[struts-menu] display trouble

2003-02-25 Thread alexj
Hi,

After testing the example app who work fine, I've try to include
struts-menu on my project.

After reading the readme I follow that :

- Copy the file "lib/struts-menu.tld" from the struts-menu distribution into
the

"WEB-INF" directory of your web application.

- Copy the file "lib/struts-menu.jar" from the struts-menu distribution into
the

"WEB-INF/lib" directory of your web application.

- Modify the application "WEB-INF/web.xml" file to include a tag library
decleration

for the struts-menu taglibrary. For example:



/WEB-INF/struts-menu.tld

/WEB-INF/struts-menu.tld



- In each JSP page that will use the Struts custom tags, add the
corresponding taglib

directive for struts-menu.tld. For example:

<%@ taglib uri="/WEB-INF/struts-menu.tld" prefix="menu" %>

I create a simple jsp test page based on the coolmenu 3

<%@ page contentType="text/html; charset=UTF-8" %>

<%@ taglib uri="/WEB-INF/struts-menu.tld" prefix="menu"%>





CoolMenus3 Example































And when I test I got the following error :

org.apache.jasper.JasperException: The menu repository could not be found

Any idea ??

Thanks in advance.



<--
Alexandre Jaquet
->



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



planning component

2003-02-25 Thread alexj
Hi I need to know if there is any struts planning component with calendar ?

My goal is to have the capability to add-edit-view the planning for
each students, prof etc..

Thanks in advance.

<--
Alexandre Jaquet
->



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



Re: [OT] What's your IQ?

2003-02-22 Thread alexj
Ho you just song like a guy who got for the
first time of is life a mirror...


- Original Message -
From: "John Espey" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, February 22, 2003 11:12 PM
Subject: RE: [OT] What's your IQ?


> apparently YOU do, you responded..
>
> are you later going to apologize with some lame excuse like the last time?
> >>lol sorry for my post (s) I'm a bit tired
>
> >>pff you just song like a stupid man who think he have all the rigth
> and the other people didn't have the rigth to have a different opinon
> stupid american 
>
> I think based on the moronic posts you have made, especially with the
> vulgarity of the last one, it is quite clear who is "a stupid man who
think
> he have all the rigth and the other people didn't have the rigth to have a
> different opinion"  Were I a man of your type, I would insult your
> nationality in return, but I personally don't believe that a person's
> nationality has anything to do with their character or integrity.  I do,
> however, believe that those who insult others based on their nationality
are
> worthy of insult.  The beautiful thing is that I don't need to do this, as
> your previous failure to recognize a joke about Latin and instead respond
as
> you did above is a case of "Res Ipse Loquitor".
>
>
> > -Original Message-
> > From: alexj [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, February 22, 2003 3:56 PM
> > To: Struts Users Mailing List
> > Subject: Re: [OT] What's your IQ?
> >
> >
> > who care about your pseudo IQ ???
> >
> > - Original Message -
> > From: "John Espey" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Saturday, February 22, 2003 7:04 PM
> > Subject: RE: [OT] What's your IQ?
> >
> >
> > > 142, ditto on the spacial reasoning =/
> > >
> > > > -Original Message-
> > > > From: James Turner [mailto:[EMAIL PROTECTED]
> > > > Sent: Thursday, February 20, 2003 1:29 PM
> > > > To: 'Struts Users Mailing List'
> > > > Subject: Re: [OT] What's your IQ?
> > > >
> > > >
> > > > 144 here.  The spacial reasoning ones were *HARD*
> > > >
> > > > 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]
> >
>
>
> -
> 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] What's your IQ?

2003-02-22 Thread alexj
What can I said, American people think they
know all the truth about how to manage the world.

(it's not only my opinion)

The world is really not an industry like IBM, I think
some american guys have to think about that.

If a coutry didn't believe in the "pseudo" american dream,
you really nedd to attak them ?

In my (little one) country we didn't only care about how to make
benefits but we care how to people from this country can take profit
about that.

I'm a young man (22 years old) from Switzerland but US people need to
care about how people whi lived in this countries.

Fuck Wars !!!
Fuck guys who only care about theire own profits !!

--
Alexandre Jaquet

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



Re: [OT] What's your IQ?

2003-02-22 Thread alexj
I really agree with you with some my previous posts.

- Original Message -
From: "John Espey" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, February 22, 2003 11:12 PM
Subject: RE: [OT] What's your IQ?


> apparently YOU do, you responded..
>
> are you later going to apologize with some lame excuse like the last time?
> >>lol sorry for my post (s) I'm a bit tired
>
> >>pff you just song like a stupid man who think he have all the rigth
> and the other people didn't have the rigth to have a different opinon
> stupid american 
>
> I think based on the moronic posts you have made, especially with the
> vulgarity of the last one, it is quite clear who is "a stupid man who
think
> he have all the rigth and the other people didn't have the rigth to have a
> different opinion"  Were I a man of your type, I would insult your
> nationality in return, but I personally don't believe that a person's
> nationality has anything to do with their character or integrity.  I do,
> however, believe that those who insult others based on their nationality
are
> worthy of insult.  The beautiful thing is that I don't need to do this, as
> your previous failure to recognize a joke about Latin and instead respond
as
> you did above is a case of "Res Ipse Loquitor".
>
>
> > -Original Message-
> > From: alexj [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, February 22, 2003 3:56 PM
> > To: Struts Users Mailing List
> > Subject: Re: [OT] What's your IQ?
> >
> >
> > who care about your pseudo IQ ???
> >
> > - Original Message -
> > From: "John Espey" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Saturday, February 22, 2003 7:04 PM
> > Subject: RE: [OT] What's your IQ?
> >
> >
> > > 142, ditto on the spacial reasoning =/
> > >
> > > > -Original Message-
> > > > From: James Turner [mailto:[EMAIL PROTECTED]
> > > > Sent: Thursday, February 20, 2003 1:29 PM
> > > > To: 'Struts Users Mailing List'
> > > > Subject: Re: [OT] What's your IQ?
> > > >
> > > >
> > > > 144 here.  The spacial reasoning ones were *HARD*
> > > >
> > > > 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]
> >
>
>
> -
> 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]



Emmanuel you are the guy help me please Re: For french architecture expert

2003-02-22 Thread alexj

- Original Message - 
From: "alexj" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, February 22, 2003 10:54 PM
Subject: For french architecture expert


> I'm sorry to send a post like this one but I need some advice
> about the project I make.
> 
> The url I send to you didn't explore all the think of my project
> but I really need the advice of some french guys about my work.
> 
> The link I post here didn't represent a finalized project.
> 
> http://www.mycgiserver.com/~alexj/
> 
> You can send me your opinion at this adress
> [EMAIL PROTECTED] 
> <--
> Alexandre Jaquet
> ->
> -BEGIN GEEK CODE BLOCK-
> Version: 3.12
> GCM d+ s: a22 C U*+ P L--- E--- W+++ N+++ o K w+ 
> O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D 
> G++ e* h++ r% y* 
> --END GEEK CODE BLOCK--
> 
> 
> -
> 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: For french architecture expert

2003-02-22 Thread alexj
sorry for the geek code :(

- Original Message - 
From: "alexj" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, February 22, 2003 10:54 PM
Subject: For french architecture expert


> I'm sorry to send a post like this one but I need some advice
> about the project I make.
> 
> The url I send to you didn't explore all the think of my project
> but I really need the advice of some french guys about my work.
> 
> The link I post here didn't represent a finalized project.
> 
> http://www.mycgiserver.com/~alexj/
> 
> You can send me your opinion at this adress
> [EMAIL PROTECTED] 
> <--
> Alexandre Jaquet
> ->
> -BEGIN GEEK CODE BLOCK-
> Version: 3.12
> GCM d+ s: a22 C U*+ P L--- E--- W+++ N+++ o K w+ 
> O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D 
> G++ e* h++ r% y* 
> --END GEEK CODE BLOCK--
> 
> 
> -
> 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] What's your IQ?

2003-02-22 Thread alexj
just ask what's your need ...

- Original Message -
From: "Vinay Chandupatla" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, February 22, 2003 8:49 PM
Subject: RE: [OT] What's your IQ?


> There should be some kind of trick or logic to solve those spacial ones,
does anybody knows how to solve those. If we can solve one , we can solve
all
>
> -- Original Message --
> From: "John Espey" <[EMAIL PROTECTED]>
> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Date: Sat, 22 Feb 2003 12:04:30 -0600
>
> >142, ditto on the spacial reasoning =/
> >
> >> -Original Message-
> >> From: James Turner [mailto:[EMAIL PROTECTED]
> >> Sent: Thursday, February 20, 2003 1:29 PM
> >> To: 'Struts Users Mailing List'
> >> Subject: Re: [OT] What's your IQ?
> >>
> >>
> >> 144 here.  The spacial reasoning ones were *HARD*
> >>
> >> 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]
>


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



Re: [OT] What's your IQ?

2003-02-22 Thread alexj
who care about your pseudo IQ ??? 

- Original Message - 
From: "John Espey" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, February 22, 2003 7:04 PM
Subject: RE: [OT] What's your IQ?


> 142, ditto on the spacial reasoning =/
> 
> > -Original Message-
> > From: James Turner [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, February 20, 2003 1:29 PM
> > To: 'Struts Users Mailing List'
> > Subject: Re: [OT] What's your IQ?
> > 
> > 
> > 144 here.  The spacial reasoning ones were *HARD*
> > 
> > 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]



For french architecture expert

2003-02-22 Thread alexj
I'm sorry to send a post like this one but I need some advice
about the project I make.

The url I send to you didn't explore all the think of my project
but I really need the advice of some french guys about my work.

The link I post here didn't represent a finalized project.

http://www.mycgiserver.com/~alexj/

You can send me your opinion at this adress
[EMAIL PROTECTED] 
<--
Alexandre Jaquet
->
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCM d+ s: a22 C U*+ P L--- E--- W+++ N+++ o K w+ 
O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D 
G++ e* h++ r% y* 
--END GEEK CODE BLOCK--


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



Re: Design question

2003-02-22 Thread alexj
Great thanks Rick :)

--
Alexandre Jaquet

- Original Message - 
From: "Rick Reumann" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, February 22, 2003 5:19 PM
Subject: Re: Design question


> On Sat, Feb 22,'03 (03:22 PM GMT+0100), alexj wrote: 
> 
>   
> > What's the best to do if for example I got
> > a view where an user can choose to view
> > students by class, view students by year
> > or view students by year ?
> 
> I think the best is to bring back the results in a table in some default
> manner (by class, year, whatever) but then allow the user to click on
> the table column header which will resort the list. If the collection is
> not that large look into using the Display tag (more recent
> updates to this tag can be found, search the struts archives). If the
> collection is very large you might want to use a different approach that
> doesn't rely on keeping the entire collection in session scope.
> 
> -- 
> Rick
> 
> -
> 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]



Design question

2003-02-22 Thread alexj
Hi,

Hope you didn't get headache ;), I got a little question about the
design of my project :

What's the best to do if for example I got
a view where an user can choose to view
students by class, view students by year
or view students by year ?

Thanks for your advice.

<--
Alexandre Jaquet
->


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



(like Rick post) Arguments why make web app and not desktop one

2003-02-21 Thread alexj
Like the Rick post I need arguments for the project I developp 
for my school :

"Why I choose to developp a web application and not a desktop app".

(my school sucks so much when you purpose something they
don't know I need to perform the best arguments).

Rigth now I got the following arguments : 

-You can developp one model of your project
  and you can reuse your buisness logic everywhere

-Easy to maintain, you only need to update the project
 in our server.

-You can access the application everywhere you got
 an internet connection.
 Otherwise you can synchronize datas to work in a
 non connected mode.

-The clients didn't need to download any plug in.

Who can help me to grow my list of arguments,
then I can be free to code with Struts ?

Thanks for your kindy help :)

<--
Alexandre Jaquet
->


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



Re: Understanding the Iterate Tag

2003-02-21 Thread alexj
:p
- Original Message - 
From: "James Mitchell" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 8:54 PM
Subject: RE: Understanding the Iterate Tag


> What?  Why aren't you sharing  ;)
> 
> 
> 
> --
> James Mitchell
> Software Engineer/Struts Evangelist
> http://www.open-tools.org/
> 
> "The man who does not read good books has no advantage over the man who
> cannot read them."
> - Mark Twain (1835-1910)
> 
> 
> 
> > -Original Message-
> > From: alexj [mailto:[EMAIL PROTECTED]] 
> > Sent: Friday, February 21, 2003 2:52 PM
> > To: Struts Users Mailing List
> > Subject: Re: Understanding the Iterate Tag
> > 
> > 
> > I ve better to didn't post when I drink my beers ;)
> > 
> > - Original Message -
> > From: "alexj" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Friday, February 21, 2003 8:49 PM
> > Subject: Re: Understanding the Iterate Tag
> > 
> > 
> > > yep I think to :)
> > > - Original Message -
> > > From: "James Mitchell" <[EMAIL PROTECTED]>
> > > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> > > Sent: Friday, February 21, 2003 8:47 PM
> > > Subject: RE: Understanding the Iterate Tag
> > >
> > >
> > > > I think you may gotten the id and name reversed..
> > > >
> > > >
> > > >
> > > > --
> > > > James Mitchell
> > > > Software Engineer/Struts Evangelist
> > > > http://www.open-tools.org/
> > > >
> > > > "The man who does not read good books has no advantage 
> > over the man who
> > > > cannot read them."
> > > > - Mark Twain (1835-1910)
> > > >
> > > >
> > > >
> > > > > -Original Message-
> > > > > From: alexj [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Friday, February 21, 2003 2:46 PM
> > > > > To: Struts Users Mailing List
> > > > > Subject: Re: Understanding the Iterate Tag
> > > > >
> > > > >
> > > > > Hi here is the *translation* :
> > > > >
> > > > > 
> > > > >
> > > > >
> > > > > 
> > > > >
> > > > > Alexandre Jaquet
> > > > > - Original Message -
> > > > > From: "Brian Hart" <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Friday, February 21, 2003 8:36 PM
> > > > > Subject: Understanding the Iterate Tag
> > > > >
> > > > >
> > > > > I have a JavaBean Array in the session scope which I can loop
> > > > > through in a
> > > > > scriptlet to output properties of each member of the array.
> > > > > Example:
> > > > > <%
> > > > > SearchResultBean[] c = (SearchResultBean[])
> > > > > session.getAttribute("results");
> > > > >
> > > > > for (int x = 0; x < c.length; x++){
> > > > >   out.println(c[x].getTitle());
> > > > >   out.println(c[x].getDescription());
> > > > > }
> > > > > %>
> > > > >
> > > > > What is the equivalent syntax for the above using the struts
> > > > > 
> > > > > tag?
> > > > >
> > > > > Thank You,
> > > > > Brian
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > --
> > > > > 
> > > > >
> > > > >
> > > > > >
> > > > > 
> > -
> > > > > > 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]
> > >
> > >
> > 
> > 
> > 
> > -
> > 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: Understanding the Iterate Tag

2003-02-21 Thread alexj
I ve better to didn't post when I drink my beers ;)

- Original Message -
From: "alexj" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 8:49 PM
Subject: Re: Understanding the Iterate Tag


> yep I think to :)
> - Original Message -
> From: "James Mitchell" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Friday, February 21, 2003 8:47 PM
> Subject: RE: Understanding the Iterate Tag
>
>
> > I think you may gotten the id and name reversed..
> >
> >
> >
> > --
> > James Mitchell
> > Software Engineer/Struts Evangelist
> > http://www.open-tools.org/
> >
> > "The man who does not read good books has no advantage over the man who
> > cannot read them."
> > - Mark Twain (1835-1910)
> >
> >
> >
> > > -Original Message-
> > > From: alexj [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, February 21, 2003 2:46 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: Understanding the Iterate Tag
> > >
> > >
> > > Hi here is the *translation* :
> > >
> > > 
> > >
> > >
> > > 
> > >
> > > Alexandre Jaquet
> > > - Original Message -
> > > From: "Brian Hart" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, February 21, 2003 8:36 PM
> > > Subject: Understanding the Iterate Tag
> > >
> > >
> > > I have a JavaBean Array in the session scope which I can loop
> > > through in a
> > > scriptlet to output properties of each member of the array.
> > > Example:
> > > <%
> > > SearchResultBean[] c = (SearchResultBean[])
> > > session.getAttribute("results");
> > >
> > > for (int x = 0; x < c.length; x++){
> > >   out.println(c[x].getTitle());
> > >   out.println(c[x].getDescription());
> > > }
> > > %>
> > >
> > > What is the equivalent syntax for the above using the struts
> > > 
> > > tag?
> > >
> > > Thank You,
> > > Brian
> > >
> > >
> > >
> > > --
> > > --
> > > 
> > >
> > >
> > > >
> > > -
> > > > 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]
>
>



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




Re: Understanding the Iterate Tag

2003-02-21 Thread alexj
yep I think to :)
- Original Message - 
From: "James Mitchell" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 8:47 PM
Subject: RE: Understanding the Iterate Tag


> I think you may gotten the id and name reversed..
> 
> 
> 
> --
> James Mitchell
> Software Engineer/Struts Evangelist
> http://www.open-tools.org/
> 
> "The man who does not read good books has no advantage over the man who
> cannot read them."
> - Mark Twain (1835-1910)
> 
> 
> 
> > -Original Message-
> > From: alexj [mailto:[EMAIL PROTECTED]] 
> > Sent: Friday, February 21, 2003 2:46 PM
> > To: Struts Users Mailing List
> > Subject: Re: Understanding the Iterate Tag
> > 
> > 
> > Hi here is the *translation* :
> > 
> > 
> >
> >
> > 
> > 
> > Alexandre Jaquet
> > - Original Message -
> > From: "Brian Hart" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, February 21, 2003 8:36 PM
> > Subject: Understanding the Iterate Tag
> > 
> > 
> > I have a JavaBean Array in the session scope which I can loop 
> > through in a
> > scriptlet to output properties of each member of the array.
> > Example:
> > <%
> > SearchResultBean[] c = (SearchResultBean[]) 
> > session.getAttribute("results");
> > 
> > for (int x = 0; x < c.length; x++){
> >   out.println(c[x].getTitle());
> >   out.println(c[x].getDescription());
> > }
> > %>
> > 
> > What is the equivalent syntax for the above using the struts 
> > 
> > tag?
> > 
> > Thank You,
> > Brian
> > 
> > 
> > 
> > --
> > --
> > 
> > 
> > 
> > > 
> > -
> > > 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: Understanding the Iterate Tag

2003-02-21 Thread alexj
 


 
>
> Alexandre Jaquet
> - Original Message -
> From: "Brian Hart" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 21, 2003 8:36 PM
> Subject: Understanding the Iterate Tag
>
>
> I have a JavaBean Array in the session scope which I can loop through in a
> scriptlet to output properties of each member of the array.
> Example:
> <%
> SearchResultBean[] c = (SearchResultBean[])
session.getAttribute("results");
>
> for (int x = 0; x < c.length; x++){
>   out.println(c[x].getTitle());
>   out.println(c[x].getDescription());
> }
> %>
>
> What is the equivalent syntax for the above using the struts

> tag?
>
> Thank You,
> Brian
>
>
>
> --
--
> 
>
>
> > -
> > 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: Understanding the Iterate Tag

2003-02-21 Thread alexj
Hi here is the *translation* :


   
   


Alexandre Jaquet
- Original Message -
From: "Brian Hart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 8:36 PM
Subject: Understanding the Iterate Tag


I have a JavaBean Array in the session scope which I can loop through in a
scriptlet to output properties of each member of the array.
Example:
<%
SearchResultBean[] c = (SearchResultBean[]) session.getAttribute("results");

for (int x = 0; x < c.length; x++){
  out.println(c[x].getTitle());
  out.println(c[x].getDescription());
}
%>

What is the equivalent syntax for the above using the struts 
tag?

Thank You,
Brian







> -
> 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: WebHosting & Struts

2003-02-21 Thread alexj
yeah but I need ssl support and I want my tomcat :)

- Original Message - 
From: "Raible, Matt" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 4:55 PM
Subject: RE: WebHosting & Struts


> $6.50 US is pretty cheap IMO... you get what you pay for ;-)
> 
> > -Original Message-
> > From: alexj [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, February 21, 2003 8:50 AM
> > To: Struts Users Mailing List
> > Subject: Re: WebHosting & Struts
> > 
> > 
> > it's a bit expensive for a poor student like me :(
> > 
> > - Original Message - 
> > From: "Raible, Matt" <[EMAIL PROTECTED]>
> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> > Sent: Friday, February 21, 2003 4:35 PM
> > Subject: RE: WebHosting & Struts
> > 
> > 
> > > Here's who I use, they've worked great for me:
> > > 
> > > http://www.kgbinternet.com
> > > 
> > > Matt
> > > 
> > > > -Original Message-
> > > > From: alexj [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, February 21, 2003 4:38 AM
> > > > To: Struts Users Mailing List
> > > > Subject: WebHosting & Struts
> > > > 
> > > > 
> > > > Hi,
> > > > 
> > > > I'm looking for a free web hosting who support Struts. 
> > And if possible
> > > > postgreSQL. I only find mycgiserver who support jsp and 
> > servlet but
> > > > as I see in their forum is some post who says struts is 
> > not supported.
> > > > Any suggestion ?
> > > > 
> > > > Thanks.
> > > > <--
> > > > Alexandre Jaquet
> > > > ->
> > > > 
> > > > 
> > > > 
> > > > 
> > -
> > > > 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]
> 


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




  1   2   >