Re: How to put useBean data in HTML attribute?

2002-02-05 Thread Olivier Dinocourt

You can also use the paramId and paramName attributes :








HTH

olivier

- Original Message -
From: "Richard Yee" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 05, 2002 7:30 AM
Subject: Re: How to put useBean data in HTML attribute?


> Cody,
> You can't nest tags - you can't have one tag inside the <>'s of another
tag.
> To do what you want, try this:
> 
> <% String ref = "admin_userForm.jsp?user_id=" + currentUser; %>
> <%= currentUser %>
> 
>
> -Richard
>
>
> >
> > <%= currentUser %>
> >
>
>
> At 11:37 PM 2/4/2002 -0600, you wrote:
>
>
> >Could someone please shed some light on the following?  What would be the
> >solution for an attempt like this? Consider this code snippet that has an
> >obviously incorrect syntax:
> >
> >
> > 
> >
> >
> >I am trying to set a URL paramer with bean data
(admin_userForm.jsp?user_id
> >=), but because it is inside of an HTML
> >attribute, it is not working. I end up with an uninterpereted param value
> >of "user_id=". I know it's just a syntax
> >issue. I can think of a better way to do it, but not without introducing
> >java code into the page.
> >
> >What is the more elegant Struts-centric way to do this?
> >
> >- Cody
> >
> >
> >The information transmitted is intended only for the person or entity to
> >which it is addressed and may contain confidential and/or privileged
> >material.  Any review, retransmission, dissemination or other use of, or
> >taking of any action in reliance upon, this information by persons or
> >entities other than the intended recipient is prohibited.   If you
received
> >this in error, please contact the sender and delete the material from any
> >computer.
> >
> >
> >--
> >To unsubscribe, e-mail:

> >For additional commands, e-mail:

>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: RE: [Fwd: Re: Hi....]]

2002-02-05 Thread Olivier Dinocourt

I think he means that you should avoid as much as possible writing code (of
any sort : tags, scriptlets, etc...) in your JSPs, and rather put this code
in your Action classes / business logic classes

- Original Message -
From: "Jay Sissom" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 05, 2002 12:29 AM
Subject: Re: RE: [Fwd: Re: Hi]]


> I don't agree.  If you need to use scriptlets in your JSPs and you use
them
> over and over on many pages, the scriptlet should be a tag.  The tag can
be
> reused on many pages, the scriptlet can't.
>
> Please explain why "This is a bad habit.  Only do it if you must."  Should
> we only re-use code "if we must"?  Is re-use of code a bad habit. :)
>
> Jay
>
>
>
> - Original Message -
> From: "Vic Cekvenich" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 30, 2002 2:48 PM
> Subject: [Fwd: RE: [Fwd: Re: Hi]]
>
>
> > The thing on tags is do not use to many tags. Try to avoid writing
> > tags.
> > Somehow, the example app on struts has a custom tag and people like to
> > learn how to write tags, and so there are lots of tags in Struts. This
> > is a bad habit. Only do it if you must.
> > Try to do as little code as possible in presentation/view/jsp.
> >
> > So to me, tags and Struts framework are 2 different things, but bellow
> > is a good book anyway.
> >
> > Vic
> >
> >  Original Message 
> > Subject: RE: [Fwd: Re: Hi]
> > Date: Wed, 30 Jan 2002 18:49:35 +0100
> > From: "Lacerda, Wellington (AFIS)" <[EMAIL PROTECTED]>
> > Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Organization: Basebeans.com
> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> > Newsgroups: Struts
> >
> > Another book with a lot of information on Struts is JSP and Tag
Libraries
> > for Web Development,
> > available at Amazon and B&N. Check the publisher's page at:
> > http://www.newriders.com/books/title.cfm?isbn=0735710953.
> >
> > It is heavily focused on Tag Libraries and Struts is discussed on the
> light
> > of that.
> >
> > Wellington
> >
> > -Original Message-
> > From: Vic Cekvenich [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 30, 2002 6:39 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Fwd: Re: Hi]
> >
> >
> >
> > Newsgroups: Struts @ news.basebeans.com
> > References: <[EMAIL PROTECTED]>
> >
> > One Struts book at http://www.basebeans.com/book.jsp
> >
> > Amir N. Nashat wrote:
> >
> >   > Hi Chetan,
> >   >
> >   > There are no books available at this time though 2 are currently
> > being written that I know of. However, they will not be available for a
> > while. The best place to start is to go to the website
> > jakarata.apache.org and search under struts. there is A LOT of good
> > information there. Also, another very good site is www.husted.com.
> > Ted(who runs the site) is very knowledgeable in this field and posts to
> > this mailing list very often. Hope that helps.
> >   >
> >   > amir
> >   >
> >   >
> >   >
> >   >
> >   [EMAIL PROTECTED] 10:38:51 PM 01/29/02 >>>
> >   
> >   > I'm just a newbie to Struts and find it very interesting, I just
want
> > to ask
> >   > where is it best to start learning struts from... Is there a book
out
> > there
> >   > that I can buy
> >   > Thankz
> >   > Chetan
> >   >
> >   > --
> >   > To unsubscribe, e-mail:
> > 
> >   > For additional commands, e-mail:
> > 
> >   >
> >   >
> >   >
> >   >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > 
> > For additional commands, e-mail:
> > 
> >
> >
> > --
> > To unsubscribe, e-mail:
> > 
> > For additional commands, e-mail:
> > 
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> 
> > For additional commands, e-mail:
> 
> >
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: [OT] Publishing an Application

2002-02-05 Thread Olivier Dinocourt

ant
- Original Message -
From: "Brad Rhoads" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, February 05, 2002 4:34 PM
Subject: [OT] Publishing an Application


>
> I'm looking for a good tool for publishing an application. It should
compare
> the source directory to the target and only move files that have changed.
> I'd also like an option to skip certain files, i.e. web.xml.
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: URGENT: Null Strings in Websphere

2002-02-12 Thread Olivier Dinocourt

I might be wrong, but it seems to me that this standard Java behavior
When your String is null and you try to print it, it displays the String
value "null".

A workaround might be to force all empty Strings to be "" instead of null...

- Original Message -
From: "Dave J Dandeneau" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 12, 2002 4:38 PM
Subject: URGENT: Null Strings in Websphere


Whenever we have a String value in our forms, and the value is not set (""),
it is getting sent back to the jsp as "null". By "null" I mean the actual
string, and not an empty object. This is making validation of these fields
fail. Has anyone seen this and found a work around.

Thanks,
Dave Dandeneau

--
To unsubscribe, e-mail:

For additional commands, e-mail:






--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Hey Struts I have another email address!

2002-02-21 Thread Olivier Dinocourt

Completely OT, but I couldn't resist...

>From their Terms Of Service :
--
3. MEMBER OBLIGATIONS
In consideration for this Service, you agree to provide certain information
about yourself as prompted to do so by the Service, and update this
information as necessary to keep it current, complete and accurate. All
information requested on original sign up shall be referred to as
registration data ("Registration Data"). Furthermore, you are granting
BoxFrog.com and/or BoxFrog.com Mail the right to disclose to third parties
certain information about you. If any information provided by you is
inaccurate, BoxFrog.com retains the right to terminate your membership and
all associated rights to the Service. We may share, rent or sell your
Registration Data to THIRD PARTIES as outlined in Paragraph 1. After the
transfer of your Registration Data to a THIRD PARTY, Members who wish to
unsubscribe from that THIRD PARTY'S emails must contact THIRD PARTY
directly. Neither BoxFrog.com nor BoxFrog.com Mail can assist you with
removal of emails or solicitations from the THIRD PARTY.
--


Is that what they call "anonymous" ? :-)

- Original Message -
From: <[EMAIL PROTECTED]>
To: "Struts Users" <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2002 5:24 PM
Subject: Hey Struts I have another email address!


>
>
> Hey Struts I just wanted to let you know I got a new email address and
> you will want to add it to your address book as another way
> to reach me :)
>
> My new address is [EMAIL PROTECTED]
>
> You should get an account there too! They are simple, fast,
> offer huge email boxes, you can access your account from
> any PC and best of all they are FREE and ANONYMOUS!
>
> Check it out Struts www.boxfrog.com Free Anonymous Email!
>
>
> Chad Brak
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Hey Struts I have another email address!

2002-02-21 Thread Olivier Dinocourt

my pleasure. :-)

BTW Shouldn't we rather keep this for tomorrow ?

- Original Message -
From: "keithBacon" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, February 21, 2002 1:10 PM
Subject: Re: Hey Struts I have another email address!


> It's always a pleasure to see a lying scum spamming advertiser exposed &
> discredited. Thanks!
>
> --- Olivier Dinocourt <[EMAIL PROTECTED]> wrote:
> > Completely OT, but I couldn't resist...
> >
> > From their Terms Of Service :
> > --
> > 3. MEMBER OBLIGATIONS
> > In consideration for this Service, you agree to provide certain
information
> > about yourself as prompted to do so by the Service, and update this
> > information as necessary to keep it current, complete and accurate. All
> > information requested on original sign up shall be referred to as
> > registration data ("Registration Data"). Furthermore, you are granting
> > BoxFrog.com and/or BoxFrog.com Mail the right to disclose to third
parties
> > certain information about you. If any information provided by you is
> > inaccurate, BoxFrog.com retains the right to terminate your membership
and
> > all associated rights to the Service. We may share, rent or sell your
> > Registration Data to THIRD PARTIES as outlined in Paragraph 1. After the
> > transfer of your Registration Data to a THIRD PARTY, Members who wish to
> > unsubscribe from that THIRD PARTY'S emails must contact THIRD PARTY
> > directly. Neither BoxFrog.com nor BoxFrog.com Mail can assist you with
> > removal of emails or solicitations from the THIRD PARTY.
> > --
> >
> >
> > Is that what they call "anonymous" ? :-)
> >
> > - Original Message -
> > From: <[EMAIL PROTECTED]>
> > To: "Struts Users" <[EMAIL PROTECTED]>
> > Sent: Wednesday, February 20, 2002 5:24 PM
> > Subject: Hey Struts I have another email address!
> >
> >
> > >
> > >
> > > Hey Struts I just wanted to let you know I got a new email address and
> > > you will want to add it to your address book as another way
> > > to reach me :)
> > >
> > > My new address is [EMAIL PROTECTED]
> > >
> > > You should get an account there too! They are simple, fast,
> > > offer huge email boxes, you can access your account from
> > > any PC and best of all they are FREE and ANONYMOUS!
> > >
> > > Check it out Struts www.boxfrog.com Free Anonymous Email!
> > >
> > >
> > > Chad Brak
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> >
>
>
> =
> ~~
> Search the archive:-
> http://www.mail-archive.com/struts-user%40jakarta.apache.org/
> ~~
> Keith Bacon - Looking for struts work - South-East UK.
> phone UK 07960 011275
>
> __
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>



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




Re: Hey Struts I have another email address!

2002-02-21 Thread Olivier Dinocourt

Oh, OK !

Mark G., some comment ?

- Original Message -
From: "keithBacon" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, February 21, 2002 3:26 PM
Subject: Re: Hey Struts I have another email address!


> I'm having a day off tomorrow - this is my friday.
>
> --- Olivier Dinocourt <[EMAIL PROTECTED]> wrote:
> > my pleasure. :-)
> >
> > BTW Shouldn't we rather keep this for tomorrow ?
> >
> > - Original Message -
> > From: "keithBacon" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Thursday, February 21, 2002 1:10 PM
> > Subject: Re: Hey Struts I have another email address!
> >
> >
> > > It's always a pleasure to see a lying scum spamming advertiser exposed
&
> > > discredited. Thanks!
> > >
> > > --- Olivier Dinocourt <[EMAIL PROTECTED]> wrote:
> > > > Completely OT, but I couldn't resist...
> > > >
> > > > From their Terms Of Service :
> > > > --
> > > > 3. MEMBER OBLIGATIONS
> > > > In consideration for this Service, you agree to provide certain
> > information
> > > > about yourself as prompted to do so by the Service, and update this
> > > > information as necessary to keep it current, complete and accurate.
All
> > > > information requested on original sign up shall be referred to as
> > > > registration data ("Registration Data"). Furthermore, you are
granting
> > > > BoxFrog.com and/or BoxFrog.com Mail the right to disclose to third
> > parties
> > > > certain information about you. If any information provided by you is
> > > > inaccurate, BoxFrog.com retains the right to terminate your
membership
> > and
> > > > all associated rights to the Service. We may share, rent or sell
your
> > > > Registration Data to THIRD PARTIES as outlined in Paragraph 1. After
the
> > > > transfer of your Registration Data to a THIRD PARTY, Members who
wish to
> > > > unsubscribe from that THIRD PARTY'S emails must contact THIRD PARTY
> > > > directly. Neither BoxFrog.com nor BoxFrog.com Mail can assist you
with
> > > > removal of emails or solicitations from the THIRD PARTY.
> > > > --
> > > >
> > > >
> > > > Is that what they call "anonymous" ? :-)
> > > >
> > > > - Original Message -
> > > > From: <[EMAIL PROTECTED]>
> > > > To: "Struts Users" <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, February 20, 2002 5:24 PM
> > > > Subject: Hey Struts I have another email address!
> > > >
> > > >
> > > > >
> > > > >
> > > > > Hey Struts I just wanted to let you know I got a new email address
and
> > > > > you will want to add it to your address book as another way
> > > > > to reach me :)
> > > > >
> > > > > My new address is [EMAIL PROTECTED]
> > > > >
> > > > > You should get an account there too! They are simple, fast,
> > > > > offer huge email boxes, you can access your account from
> > > > > any PC and best of all they are FREE and ANONYMOUS!
> > > > >
> > > > > Check it out Struts www.boxfrog.com Free Anonymous Email!
> > > > >
> > > > >
> > > > > Chad Brak
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > > For additional commands, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > >
> > >
> > >
> > > =
> > > ~~
> > > Search the archive:-
> > > http://www.mail-archive.com/struts-user%40jakarta.apache.org/
> > > ~~
> > > Keith Bacon - Looking for struts work - South-East UK.
> > > phone UK 07960 011275
> > >
> > > __
> > > Do You Yahoo!?
> > > Yahoo! Sports - Coverage of the 2002 Olympic Games
> > > http://sports.yahoo.com
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> >
>
>
> =
> ~~
> Search the archive:-
> http://www.mail-archive.com/struts-user%40jakarta.apache.org/
> ~~
> Keith Bacon - Looking for struts work - South-East UK.
> phone UK 07960 011275
>
> __
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>



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




Re: !!!!!!Attention Log4J Users !!!!!!!!!!!!!

2002-02-21 Thread Olivier Dinocourt

Yeah ? This is the  Struts Users Mailing List.

- Original Message -
From: "Praveer Mathur" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, February 21, 2002 1:00 PM
Subject: !!Attention Log4J Users !


>
> - Original Message -
> From: "Praveer Mathur" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Wednesday, February 20, 2002 2:14 PM
> Subject: Log4J - Log file gets overwritten
>
>
> >
> >
> > Hi !
> >
> > I am using Log4J version 1.1.3 downloaded from jakarta.apache.org.
> > Everything seems to be working fine with it except that even if i set
> >
> > log4j.appender.R.MaxFileSize = 100KB
> > log4j.appender.R.MaxBackupIndex = 10
> >
> > I get only one log file and when it rolls over the 100K limit, it gets
> > overwritten.
> >
> > According to documentation on the site, it should rename the old copy
and
> > start with a new file with the same name.
> >
> > Has anybody faced this problem before?Any solution?
> >
> > Regards,
> > Praveer
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > 
> > For additional commands, e-mail:
> > 
> >
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: i18n - Escape Codes....

2002-02-26 Thread Olivier Dinocourt

for the tripod link, use tripod.com instead of  tripod.ru
- Original Message -
From: "Rustad, Aaron" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 5:15 PM
Subject: RE: i18n - Escape Codes


> I know of this site...unfortunatly, it seems to freeze half was down, is
> there any other mirrors of this information (the tripod link doesn't work
> either).
>
> Thanks!
> Aaron.
>
> -Original Message-
> From: Drew Sudell [mailto:[EMAIL PROTECTED]]
> Sent: February 25, 2002 8:54 AM
> To: Struts Users Mailing List
> Subject: RE: i18n - Escape Codes
>
>
>
>
> > -Original Message-
> > From: Rustad, Aaron [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, February 24, 2002 4:01 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: i18n - Escape Codes
> >
> >
> > I am trying i18n my application by adding a
> > Resources_ru.properties, and it
> > seems to work. However, I can not get the Unicode characters to work
> > correctly.
> >
> >
> > I have looked at HP's example, and they use unicode escapes for their
> > messagesis there an easy way to convert Strings to
> > Unicode strings?
> >
> http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/native2ascii.html
>
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Multiple submit buttons solution

2002-03-05 Thread Olivier Dinocourt

why not use :

or


olivier

- Original Message -
From: "Peter Severin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 4:10 PM
Subject: Multiple submit buttons solution


> Hi folks,
>
> I've been searching for a solution for multple submit buttons in the
> same form
> and how it can be achieved without using javascript. Summing up
> different suggesstions
> I came with the following solution. We can encode additional parameter
> values into the submit button name and make struts handle this
> parameters transparently for us.
> For example we could have the following html code:
> 
>
> ActionServlet would detect this parameter and auto populate the form
> with parameter 'deleteItemId' and value '10'.
> To extend this idea further we could have the following code:
>
> 
> 
>
> In the action we could test form.getAction() parameter value and to
> dispatch to the coresponding delete/edit method inside which we coule
> use form.getItemId() to execute the operation.
> You've got the point.
> I would like to hear comments and suggestions on this. I am willing to
> post the actual code in the future if the idea proves itself valuable.
>
> Regards,
> Peter.
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: What is the best way to display pictures from a database usin g Struts

2002-01-09 Thread Olivier Dinocourt

There's one important thing to do, too : don't forget to set the mime-type,
else it will be text/plain or text/html, and your browser will display your
byte stream as text
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, January 09, 2002 6:40 PM
Subject: Re: What is the best way to display pictures from a database usin g
Struts


> It surely does help,  I shall put it to work now!
>
> Cheers
>
> Tony
>
> Jesse Alexander (KABS 11) wrote:
>
> > Hi,
> >
> > from an Action's perform() you can do two things:
> > a) do something (usefull) and return an ActionForward-object
> > b) do somthing (usefull), write the desired output (html, pdf-stream,
> >image-bytes,...) to the response-objects output (just like standard
> >servlet-programming!) and return a NULL-object (return null)
> > in this case you want to use b). Important is returning null to indicate
> > that the Action did complete the processing. Else ActionServlet will
pass
> > on to the returned ActionForward-object...
> >
> > hope this helps
> > Alexander Jesse
> >
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re:

2002-01-10 Thread Olivier Dinocourt



hope I'm not wrong :)

- Original Message -
From: "Rubens Gama" <[EMAIL PROTECTED]>
To: "Struts-User" <[EMAIL PROTECTED]>
Sent: Thursday, January 10, 2002 2:52 PM
Subject: 


> How can i write an object's property that belongs to an 'ArrayList' object
> using the clause ?
>
> Thanks in advance
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re:

2002-01-10 Thread Olivier Dinocourt

I thought you wanted to display an indexed property of a bean.

Next time, I'll take time to read.

- Original Message -
From: "Rubens Gama" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 10, 2002 3:08 PM
Subject: RES: 


> thanks for the fast reply but...
> for example:
> listClients - collection of client's objects(ArrayList for example)
> client - object
> code - client object property
>
> i want write code in html form.
> how can i do it?
>
> -Mensagem original-
> De: Olivier Dinocourt [mailto:[EMAIL PROTECTED]]
> Enviada em: quinta-feira, 10 de janeiro de 2002 11:56
> Para: Struts Users Mailing List
> Assunto: Re: 
>
>
> 
>
> hope I'm not wrong :)
>
> - Original Message -
> From: "Rubens Gama" <[EMAIL PROTECTED]>
> To: "Struts-User" <[EMAIL PROTECTED]>
> Sent: Thursday, January 10, 2002 2:52 PM
> Subject: 
>
>
> > How can i write an object's property that belongs to an 'ArrayList'
object
> > using the clause ?
> >
> > Thanks in advance
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




width & height attributes for html:image tag

2002-01-11 Thread Olivier Dinocourt

Hello list

It seems that it's not possible (using Struts 1.0) to specify width & height
attributes with the html:image tag. Does someone know if this feature has
been added in some nightly build / future release ?

--
olivier dinocourt
--



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




can't use local forwards with html:link tag ?

2002-01-11 Thread Olivier Dinocourt

Hello list

I'm trying to use local forwards with the html:link Struts tag, and I get
the following exception :
--
javax.servlet.jsp.JspException: Cannot create rewrite URL:
java.net.MalformedURLException: Cannot retrive ActionForward named
RechercherProfils
at
org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:343)
at
jsp_servlet._jsp.__p_bureau_employeur._jspService(__p_bureau_employeur.java:
234)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:304)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:215)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1758)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:215)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1758)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2456)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
--

I tried putting the desired forwards in the global-forward section. It
works, but I'd prefer them as local forwards. Is it simply not possible, or
am I missing something ?

Any clue welcome

olivier



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: First try using Tiles -> what appends ?

2002-01-11 Thread Olivier Dinocourt

If the tiles taglib works in the same manner as the template taglib, then
there must be an attribute to specify whether the "value" attribute refers
to a file or a message to be displayed as is. The template taglib uses the
"direct" attribute, set to "true" if you want the value to be treated as is.

HTH (although it's quite vague...)

olivier
- Original Message -
From: "DUPRAT Alexandre" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 11, 2002 4:06 PM
Subject: First try using Tiles -> what appends ?


Hi,

I'm trying using tiles for the first time in order to mix struts-menu and
tiles (or template with is similar if i understand the good way).

my first try is using the classicLayout.jsp for tiles tutorial and my index
page lookin like :

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









i this exception i do not understand cause im not familiair with tiles :

org.apache.jasper.compiler.CompileException:
D:\Tomcat\jakarta-tomcat-3.2.3\webapps\tiles-tutor\index_tiles.jsp(3,1)
Impossible de convertir une chaîne (String) à java.lang.Object pour
l'attribut value
at
org.apache.jasper.compiler.TagBeginGenerator.convertString(TagBeginGenerator
.java:268)
at
org.apache.jasper.compiler.TagBeginGenerator.generateSetters(TagBeginGenerat
or.java, Compiled Code)
at
org.apache.jasper.compiler.TagBeginGenerator.generateServiceMethodStatements
(TagBeginGenerator.java:288)
at
org.apache.jasper.compiler.TagBeginGenerator.generate(TagBeginGenerator.java
:357)
at
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J
spParseEventListener.java, Compiled Code)
at
org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi
stener.java, Compiled Code)
at
org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE
ventListener.java:175)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java,
Compiled Code)
at
org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:258)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:268)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
at java.lang.Thread.run(Thread.java:479)


Need help if somebody ever saw such an error.
Thanks in advance.

Alexandre Duprat
SOPRA. Direction France Sud. Bordeaux
tel : 05 57 26 00 91
[EMAIL PROTECTED]


++
| Ce courrier ainsi que les fichiers joints sont confidentiels.  |
| Si vous avez recu ce courrier par erreur, veuillez en informer |
| l'administrateur du systeme : [EMAIL PROTECTED]   |
|  - |
| Ce message confirme que le courrier a passe le controle|
| antivirus du relais de messagerie Internet avec succes.|
++

--
To unsubscribe, e-mail:

For additional commands, e-mail:





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Session size management with Struts

2002-01-14 Thread Olivier Dinocourt

Hello list

Since I've been developing webapps, I've always been told that the HTTP
session should be kept as small as possible. IBM suggests a size of 4kb.
Struts seems to put form beans into the HTTP session, and one often needs
more than one form bean for a webapp. After browsing the Struts docs, it
seems that there is no mechanism to automatically or manually clean the
session once a form bean isn't needed anymore.

Does someone have any feedback on the subject ? Is session size so
important, or may I simply ignore it (although it doesn't like a good idea)
? Does Struts include (or is it planned to include) some feature to clean
the session's content easily ?

olivier


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: session id appearing

2002-01-16 Thread Olivier Dinocourt

use cookies
- Original Message -
From: "Henrik Chua" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 2:12 AM
Subject: session id appearing


> Hi folks...
>
> I have a problem.  What should i do so that the session ids do not appear
in
> the hyperlinks or in the address bar when you execute a link or an action?
> coz right now, here is what comes out on my address bar.
>
>
http://devbox/Project/logon.do;jsessionid=abdev995-3%3A3c44d1fc%3A8bc344f1fe
> edf33a
>
> I don't want the jsessionid to appear.
>
> thanx in advance...
>
>
> regards,
> henrik
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: ActionForm and JSP

2002-01-17 Thread Olivier Dinocourt

there do I say : RTFM !
- Original Message -
From: "Antoine Gibson" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 12:50 AM
Subject: ActionForm and JSP


> Dear all,
>
> I would like to know how my jsp page knows what ActionForm bean to use?
>
> For exemple:
> I've got a JSP page : PersonInformation.jsp
> ActionForm: UserInformationForm
>
> Thanks in advance,
>
> Antoine
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: WebLogic 6.1 SP1 and the /do/* uri-pattern

2002-01-18 Thread Olivier Dinocourt

IMHO, it should rather be
 (assuming the actionMapping in yous
struts-config is /action1)

olivier
- Original Message -
From: "Eduardo Borges" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2002 4:09 PM
Subject: Re: WebLogic 6.1 SP1 and the /do/* uri-pattern


> Hi Eric,
>
> Try 
>
> HTH
> Borges
>
> - Original Message -
> From: "Eric Ma" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, January 18, 2002 12:44 PM
> Subject: WebLogic 6.1 SP1 and the /do/* uri-pattern
>
>
> > 
> >
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: HELP REQUIRED FOR TOMCAT 4.0.1

2002-01-21 Thread Olivier Dinocourt

why don't you ask on the tomcat-users mailing list, if you know there is one
?

you'll probably find people who use tomcat and can answer your questions
much more easily than here...

olivier
- Original Message -
From: "Amitkumar J Malhotra" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 3:06 PM
Subject: HELP REQUIRED FOR TOMCAT 4.0.1


>
>
> I have a few difficulties/ doubts in installing application, passing
params from
> the web.xml file to the servlets...is any one ready to volunteer so that
> i ask him/her the questions directly without disturbing the mailing list
any
> furtherany replies will be appreciated...
> ( i know that there is already a mailing list for tomcat -users  so please
do
> not give me this as an answer)
>
> rgds
> amit
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: html:link inserts an & to separate params

2002-01-21 Thread Olivier Dinocourt

> "That's what the standard requires to separate parameters in the href
attribute of an  tag."

The ampersand is used to separate parameters, but it's used as "&" rather
than "&", which is used to render an ampersand on-screen.

Mathieu's code seems right to me... Is it a bug (as it seems to be), or has
someone a better understanding of this ?

olivier



- Original Message -
From: "Peter Hunter" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2002 9:46 PM
Subject: Re: html:link inserts an & to separate params


>
> On Friday, January 18, 2002, at 07:34 PM, Mathieu Frenette wrote:
> >
> > Which gets rendered this way:
> >
> > ...
> > ^
> >
> > Is this a bug? or a feature? :-) or a misunderstanding! ;-)
>
> It's a misunderstanding. On your part. That's what the standard requires
> to separate parameters in the href attribute of an  tag. If your
> browser doesn't like it, download a better browser.
>
> Cheers,
>
> Peter
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Things that use Struts

2002-01-21 Thread Olivier Dinocourt

is it me or do all web developers drink beer ?

has anyone made a beer-related web site using Struts ? (which would bring us
back to the subject of this thread...)

- Original Message -
From: "Keith Bacon" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 2:18 PM
Subject: RE: Things that use Struts


> is this abuse of this list - had it better stop?
> Belgian beer - Rochefort 10, English beer - Youngs Winter Warmer yumm -
sorry I got caught up in
> it now.
> --- "Robert J. Sanford, Jr." <[EMAIL PROTECTED]> wrote:
> > hmm, beer.
> >
> > bass, guiness, newcastle brown ale, harp...
> >
> > yummy!
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, January 18, 2002 12:09 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: Things that use Struts
> > >
> > >
> > >
> > >
> > > Sorry...I think you'll find the real beer is only to be found in
> > > the United
> > > Kingdom!
> > >
> > > D.
> > >
> > >
> > >
> > >
> > >
> > > Arron <[EMAIL PROTECTED]> on 01/18/2002
> > > 07:35:53 AM
> > >
> > > Please respond to "Struts Users Mailing List"
> > >   <[EMAIL PROTECTED]>
> > >
> > > To:   Struts Users Mailing List
> > >   <[EMAIL PROTECTED]>
> > > cc:(bcc: David Hay/Lex/Lexmark)
> > > Subject:  Re: Things that use Struts
> > >
> > >
> > >
> > > Go to www.JBoss.org
> > > Apparently they're starting to give the larger boys a stir!
> > >
> > > More importantly, I need to comment on the beer issue. The foster's
you
> > > have up there is a US company with an AUS label. The only real beer,
is
> > > the beer down here!
> > >
> > >
> > > Arron.
> > >
> > > Mark Galbreath wrote:
> > >
> > > >My point was more towards the issue of Tomcat not being an EJB
> > > container and
> > > >the apparent scope of the company would make EJBs mandatory for
handling
> > > >data access.
> > > >
> > > >But I know what you mean about a company getting cheap on you.
> > > I am forced
> > > >to used JRun (chosen solely based on the price), arguablly the worst
app
> > > >server on the planet.
> > > >
> > > >And stop sending that Foster's crap up here - we want real beer!
> > > >
> > > >Cheers!
> > > >Mark
> > > >
> > > >-Original Message-
> > > >From: Dan Washusen [mailto:[EMAIL PROTECTED]]
> > > >Sent: Thursday, January 17, 2002 10:50 PM
> > > >To: Struts Users Mailing List
> > > >Subject: RE: Things that use Struts
> > > >
> > > >
> > > >Like I said, it's only a proof of concept.  The company in
> > > question is used
> > > >to paying a LOT of money for it's application servers, apparently
they
> > > >almost jumped at the chance at cutting that cost to near
> > > nothing... I'm only
> > > >a lowly dev on the project and don't really know any of the politics
> > > >associated.  At the moment the only technical issues I am aware of
with
> > > >tomcat is it's comparably ineffective method of session
> > > management and fail
> > > >over (being restricted to one apache instance for the tomcat sticky
> > > >sessions).
> > > >
> > > >Anyway, I just thought you might like to know about it.  We are
> > > definitely
> > > >using Struts, Tomcat may change due to the above issue.
> > > >
> > > >-Original Message-
> > > >From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
> > > >Sent: Friday, 18 January 2002 12:23 PM
> > > >To: Struts Users Mailing List
> > > >Subject: Re: Things that use Struts
> > > >
> > > >
> > > >"One of Australias' biggest sites?"  How are you going to that
> > > with Tomcat?
> > > >
> > > >Cheers!
> > > >Mark
> > > >
> > > >- Original Message -
> > > >From: "Dan Washusen" <[EMAIL PROTECTED]>
> > > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > > >Sent: Thursday, January 17, 2002 8:02 PM
> > > >Subject: RE: Things that use Struts
> > > >
> > > >
> > > >>Hey everyone,
> > > >>I'm currently working on a proof of concept for a re-write of one of
> > > >>Australia's biggest sites (just under a million searches a month).
The
> > > >>proof of concept runs the front end (presentation layer) on Linux
with
> > > >>Tomcat 4 and Struts.  I'll keep you posted on how it goes (so far so
> > > >>
> > > >good).
> > > >
> > > >>There is even some talk of Lucene being used.
> > > >>
> > > >>Needless to say, we are very impressed with both Tomcat and Struts.
> > > >>
> > > >>Cheers,
> > > >>Dan
> > > >>
> > > >>-Original Message-
> > > >>From: Stuart Charlton [mailto:[EMAIL PROTECTED]]
> > > >>Sent: Friday, 18 January 2002 10:01 AM
> > > >>To: '[EMAIL PROTECTED]'
> > > >>Subject: Things that use Struts
> > > >>
> > > >>
> > > >>Hi everyone,
> > > >>
> > > >>I've been a Struts developer and lurker since 1.0 was first released
and
> > > >>have been pushing it in a big way within my company... Just wanted
to
> > > >>
> > > >throw
> > > >
> > > >>in my two cents about where we're using Struts for people who are
> > > >>
> > > >wondering
> > > >
> > > >>whether Struts is rig

ActionError parameters syntax

2002-01-22 Thread Olivier Dinocourt

hello list


I want to include parameters in my ActionError messages, and I'm wondering
which syntax I should use.

I have a key/value pair for the error message in my
ApplicationResources.properties. Should I use the MessageFormat syntax (blah
{0} blah {1} blah) for the value, or another Struts-specific syntax ?

olivier


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: HIPAA

2002-01-22 Thread Olivier Dinocourt

btw, what is HIPAA ?

- Original Message -
From: "Rakesh" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, January 22, 2002 11:23 AM
Subject: Re: HIPAA


>
> There are three major parts to the  HIPAA guidelines:
>
> I. Privacy
> II. Administrative Simplifications (Transactions and Code Sets)
> III. Security
>
>
> --Rakesh
> [EMAIL PROTECTED]
> www.ayilliath.8m.com
>
> ---
>
> - Original Message -
> From: "Robert D. Morse" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Monday, January 21, 2002 9:54 PM
> Subject: RE: HIPAA
>
>
> > How does Struts, Expresso (or any technology for that matter) relate to
> > compliance with HIPAA?
> >
> > -Original Message-
> > From: Rakesh [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, January 21, 2002 7:51 AM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: HIPAA
> >
> >
> > Hi All,
> >
> > I've been entitled with the work of upgrading a Medical Intranet done in
> > Struts - Expresso to make it HIPAA compliant. Even though it does not
seem
> > to me to be a major task... just wanted to know if anyone in the list
had
> > done something similar.
> >
> > Thanks
> >
> > -Rakesh
> > [EMAIL PROTECTED]
> > www.ayilliath.8m.com
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> 
> > For additional commands, e-mail:
> 
> >
> >
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Apostrophes in ApplicationResources.properties

2002-01-22 Thread Olivier Dinocourt

double the apostrophe. I just ran into this problem (a few hours ago), and
found this workaround. It seems to be a normal behaviour of the java
properties API.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 22, 2002 2:52 PM
Subject: Apostrophes in ApplicationResources.properties


> I tried to setup this message in ApplicationResources.properties:
>
> help.whatsThis=What's This?
>
> But the apostrophe does not appear when I retrieve this message in my JSP.
> Any ideas on how to make the apostrophe appear?   I tried   What\'s
> What/'s   and   What"'"s , but no luck.
>
> -curt
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Problems with getting the Oracle thin JDBC drivers loaded with Struts 1.0.1 under Tomcat 3.3a

2002-01-28 Thread Olivier Dinocourt

I think it is because Tomcat searches for *.jar files in specific
directories, and it ignores all other files, even though they are valid
class libraries
- Original Message -
From: "Thorbjørn Ravn Andersen" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 2:22 PM
Subject: Re: Problems with getting the Oracle thin JDBC drivers loaded with
Struts 1.0.1 under Tomcat 3.3a



mandag januar 28 2002 kl. 02:58 AM skrev Jack Zakarian:

> Hi
>
> Try renaming it to classes12.jar.

This did the trick!  Thank you.  This proves that it is on the eyes you
get blind first.

Is this a bug?
--
   Thorbjørn Ravn Andersen
   Scandiatransplant, c/o Christian Mondrup
   89 49 53 01
   http://biobase.dk/~tra


--
To unsubscribe, e-mail:

For additional commands, e-mail:





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Non-Struts Related JS Question

2002-01-30 Thread Olivier Dinocourt

not really Struts-related, but here's an answer :

...

or (much better) :

...
- Original Message -
From: "John M. Corro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 3:31 PM
Subject: Non-Struts Related JS Question


Does anyone know how to call a javascript function from an html link w/o
causing the parent page to reload, but still having the cursor change to a
pointing finger when it goes over the link?

I'm trying to implement the following basic situationuser clicks on a
link, a child window pops up w/ a listing of widgets, user clicks on a
widget, and a value is passed back to the parent page.  I've been able to
get everything working (popup window, widget listing, return value, etc) w/
an anchor tag like this...
Click here to see a listing of Widgets

However, one thing w/ this is that the mouse cursor doesn't change to a
pointing finger when it goes over the link because I don't have the href
attribute set.  I can manipulate the stylesheet settings so that it "looks"
like a regular link (underline, same color as all links), but the cursor
never changes to a pointing finger to indicate to the user that it's just a
plain old link to click on.  When I try putting in the href attribute, the
page tries to reload (don't want that happening).  I've tried a variety of
dummy values for the href (pound sign '#', blank, etc), but every value I've
tried seems to make the page reload.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Transactional Control Tokens?

2002-01-31 Thread Olivier Dinocourt

both
- Original Message -
From: "Greg Hess" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 5:15 PM
Subject: RE: Transactional Control Tokens?


> Could you describe how a user would submit a form twice? By clicking fast?
> or by going back after the first submit?
>
> -Original Message-
> From: Afshartous, Nick [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 31, 2002 11:00 AM
> To: Struts Users Mailing List
> Subject: RE: Transactional Control Tokens?
>
>
>
> I believe the transactional token is used to validate that
> the user does not submit the same form twice.  A common
> problem is web applications.
>
>Nick
>
> > -Original Message-
> > From: Greg Hess [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 31, 2002 10:47 AM
> > To: Struts Users Mailing List
> > Subject: Transactional Control Tokens?
> >
> >
> > In the struts-example application in
> > (SaveRegistrationAction.java:190, :161)
> > the author calls the method saveToken(request) and then
> > isTokenValid() and
> > resetToken(). What does this use of transactional control
> > tokens provide?
> >
> >
> > --
> > To unsubscribe, e-mail:
> > 
> > For additional commands, e-mail:
> > 
> >
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Strange behaviour of the logic:equal tag

2002-01-31 Thread Olivier Dinocourt

Hello list

I've found what seems to be a bug with the logic:equa tag :

I've tested the following struts code in a JSP :
...

 est
egale à 9F



 est
egale à 9C



 est
egale à 9

...

The "paysCandidat" property is of type java.lang.String
I assume the value attribute is also a String.

The JSP displays the following result :
...
09 est egale à 9F
09 est egale à 9
...

Which means that, for logic:equal, the Strings "09" and "9F" are equal, and
idem for "09" and "9"

Is this a known bug, or am I missing something ?

TIA

olivier


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Java Trivia

2002-02-01 Thread Olivier Dinocourt

yes and no.

the point is not really whether arguments are passed by reference or value.
It is rather whether a chang to the argument inside the method will be
reflected outside. In the case of Objects, it will. In the case of
primitives (including Strings, if I am not wrong), it won't.

olivier (hoping he has not just written bullshit... :)

- Original Message -
From: "Galbreath, Mark" <[EMAIL PROTECTED]>
To: "'Mikkel Bruun'" <[EMAIL PROTECTED]>; "Struts (E-mail)"
<[EMAIL PROTECTED]>
Sent: Friday, February 01, 2002 2:48 PM
Subject: RE: Java Trivia


> Obviously, the first is passed by value, but the second?  We know p will
> reference the same object it referenced before the method invocation - the
> memory location it points to is the same.  Because p will always point to
> the same memory location, is it not also passed by value?
>
> ;-)
>
> -Original Message-
> From: Mikkel Bruun [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 01, 2002 8:44 AM
>
>  Ehh...
>
> primitives vs ojbects???
>
> by value or by ref...
>
> whats the point??
>
> -Original Message-
> From: Galbreath, Mark
> To: Struts (E-mail); J2ee (E-mail)
>
> What's the difference between
>
> int i = 3;
> someMethod( i);
>
> and
>
> Point p = new Point( 3, 3);
> someOtherMethod( p);
>
> ?
>
> Mark
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: