RE: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Andrew Hill
Which one?

-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 15:59
To: Struts Users Mailing List
Subject: Re: [FRIDAY]Re: Just let me be the first to say...


:)

I look forward to the weekends where I can read the struts book I just 
bought. 

Scott Barr wrote:

I think its under all that vodka and ice ?!

On Fri, 2003-03-28 at 18:06, Affan Qureshi wrote:

  

I can't see the [FRIDAY] prefix in the subject headers

- Original Message - 
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 12:24 PM
Subject: RE: Just let me be the first to say...




Yep. Weekends are sweet. :-)
Not so many people in the office so got less distractions.
ahhh the joys of a career in IT...

-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 15:05
To: Struts Users Mailing List
Subject: Re: Just let me be the first to say...


+1

The weekend starts here!  Wooo Hooo!


- Original Message - 
From: Scott Barr [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 7:52 AM
Subject: Just let me be the first to say...


  

TGIF!!

Scott
www.exergonic.com.au




-
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: how to switch of logging with log4j at initialization

2003-03-28 Thread Martin Monsorno
COMPAGNON GUILLAUME [EMAIL PROTECTED] writes:

 according to me (as the simplest way), you need to have a
 commons-logging.propeties file with 
 org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jF
 actory

I tried this already, but it doesn't change anything.

Apparently, log4j is already used by Struts, but my configuration is
ignored.  Like there is an appender configured in the java code, or
so.  But I hope, this is not the case ?


-- 
Martin

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



Re: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Kwok Peng Tuck
Struts in Action.



Andrew Hill wrote:

Which one?

-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 15:59
To: Struts Users Mailing List
Subject: Re: [FRIDAY]Re: Just let me be the first to say...
:)

I look forward to the weekends where I can read the struts book I just 
bought. 

Scott Barr wrote:

 

I think its under all that vodka and ice ?!

On Fri, 2003-03-28 at 18:06, Affan Qureshi wrote:



   

I can't see the [FRIDAY] prefix in the subject headers

- Original Message - 
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 12:24 PM
Subject: RE: Just let me be the first to say...

  

 

Yep. Weekends are sweet. :-)
Not so many people in the office so got less distractions.
ahhh the joys of a career in IT...
-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 15:05
To: Struts Users Mailing List
Subject: Re: Just let me be the first to say...
+1

The weekend starts here!  Wooo Hooo!

- Original Message - 
From: Scott Barr [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 7:52 AM
Subject: Just let me be the first to say...



   

TGIF!!

Scott
www.exergonic.com.au
  

 

-
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: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Emmanuel Feller
Best one ...
i read it more than two times and it is still the book on my night table ...

- Original Message -
From: Kwok Peng Tuck [EMAIL PROTECTED]


 Struts in Action.



 Andrew Hill wrote:

 Which one?
 
 -Original Message-
 From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
 Sent: Friday, 28 March 2003 15:59
 To: Struts Users Mailing List
 Subject: Re: [FRIDAY]Re: Just let me be the first to say...
 
 
 :)
 
 I look forward to the weekends where I can read the struts book I just
 bought.
 
 Scott Barr wrote:
 
 
 
 I think its under all that vodka and ice ?!
 
 On Fri, 2003-03-28 at 18:06, Affan Qureshi wrote:
 
 
 
 
 
 I can't see the [FRIDAY] prefix in the subject headers
 
 - Original Message -
 From: Andrew Hill [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 12:24 PM
 Subject: RE: Just let me be the first to say...
 
 
 
 
 
 
 Yep. Weekends are sweet. :-)
 Not so many people in the office so got less distractions.
 ahhh the joys of a career in IT...
 
 -Original Message-
 From: Simon Kelly [mailto:[EMAIL PROTECTED]
 Sent: Friday, 28 March 2003 15:05
 To: Struts Users Mailing List
 Subject: Re: Just let me be the first to say...
 
 
 +1
 
 The weekend starts here!  Wooo Hooo!
 
 
 - Original Message -
 From: Scott Barr [EMAIL PROTECTED]
 To: 'Struts Users Mailing List' [EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 7:52 AM
 Subject: Just let me be the first to say...
 
 
 
 
 
 
 TGIF!!
 
 Scott
 www.exergonic.com.au
 
 
 
 
 
 
 -
 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: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Andrew Hill
Yep. My favourite too.

-Original Message-
From: Emmanuel Feller [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 16:15
To: Struts Users Mailing List
Subject: Re: [FRIDAY]Re: Just let me be the first to say...


Best one ...
i read it more than two times and it is still the book on my night table ...

- Original Message -
From: Kwok Peng Tuck [EMAIL PROTECTED]


 Struts in Action.



 Andrew Hill wrote:

 Which one?
 
 -Original Message-
 From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
 Sent: Friday, 28 March 2003 15:59
 To: Struts Users Mailing List
 Subject: Re: [FRIDAY]Re: Just let me be the first to say...
 
 
 :)
 
 I look forward to the weekends where I can read the struts book I just
 bought.
 
 Scott Barr wrote:
 
 
 
 I think its under all that vodka and ice ?!
 
 On Fri, 2003-03-28 at 18:06, Affan Qureshi wrote:
 
 
 
 
 
 I can't see the [FRIDAY] prefix in the subject headers
 
 - Original Message -
 From: Andrew Hill [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 12:24 PM
 Subject: RE: Just let me be the first to say...
 
 
 
 
 
 
 Yep. Weekends are sweet. :-)
 Not so many people in the office so got less distractions.
 ahhh the joys of a career in IT...
 
 -Original Message-
 From: Simon Kelly [mailto:[EMAIL PROTECTED]
 Sent: Friday, 28 March 2003 15:05
 To: Struts Users Mailing List
 Subject: Re: Just let me be the first to say...
 
 
 +1
 
 The weekend starts here!  Wooo Hooo!
 
 
 - Original Message -
 From: Scott Barr [EMAIL PROTECTED]
 To: 'Struts Users Mailing List' [EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 7:52 AM
 Subject: Just let me be the first to say...
 
 
 
 
 
 
 TGIF!!
 
 Scott
 www.exergonic.com.au
 
 
 
 
 
 
 -
 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]


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



RE: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Daniel Joshua
Struts in Action.
Bad pun :(

Regards,
Daniel


-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March, 2003 4:12 PM
To: Struts Users Mailing List
Subject: Re: [FRIDAY]Re: Just let me be the first to say...


Struts in Action.



Andrew Hill wrote:

Which one?

-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 15:59
To: Struts Users Mailing List
Subject: Re: [FRIDAY]Re: Just let me be the first to say...


:)

I look forward to the weekends where I can read the struts book I just 
bought. 

Scott Barr wrote:

  

I think its under all that vodka and ice ?!

On Fri, 2003-03-28 at 18:06, Affan Qureshi wrote:

 



I can't see the [FRIDAY] prefix in the subject headers

- Original Message - 
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 12:24 PM
Subject: RE: Just let me be the first to say...


   

  

Yep. Weekends are sweet. :-)
Not so many people in the office so got less distractions.
ahhh the joys of a career in IT...

-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 15:05
To: Struts Users Mailing List
Subject: Re: Just let me be the first to say...


+1

The weekend starts here!  Wooo Hooo!


- Original Message - 
From: Scott Barr [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 7:52 AM
Subject: Just let me be the first to say...


 



TGIF!!

Scott
www.exergonic.com.au


   

  

-
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: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Simon Kelly
I preferred the subtle nuances of  Programming Jakarta Struts, to the
simplicity of Struts in Action myself.

However, House at Pooh Corner is still my volume of choice, with a nice
cup of coco.

=]:0) Simon

- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 9:14 AM
Subject: RE: [FRIDAY]Re: Just let me be the first to say...


 Yep. My favourite too.

 -Original Message-
 From: Emmanuel Feller [mailto:[EMAIL PROTECTED]
 Sent: Friday, 28 March 2003 16:15
 To: Struts Users Mailing List
 Subject: Re: [FRIDAY]Re: Just let me be the first to say...


 Best one ...
 i read it more than two times and it is still the book on my night table
...

 - Original Message -
 From: Kwok Peng Tuck [EMAIL PROTECTED]


  Struts in Action.
 
 
 
  Andrew Hill wrote:
 
  Which one?
  
  -Original Message-
  From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
  Sent: Friday, 28 March 2003 15:59
  To: Struts Users Mailing List
  Subject: Re: [FRIDAY]Re: Just let me be the first to say...
  
  
  :)
  
  I look forward to the weekends where I can read the struts book I just
  bought.
  
  Scott Barr wrote:
  
  
  
  I think its under all that vodka and ice ?!
  
  On Fri, 2003-03-28 at 18:06, Affan Qureshi wrote:
  
  
  
  
  
  I can't see the [FRIDAY] prefix in the subject headers
  
  - Original Message -
  From: Andrew Hill [EMAIL PROTECTED]
  To: Struts Users Mailing List [EMAIL PROTECTED]
  Sent: Friday, March 28, 2003 12:24 PM
  Subject: RE: Just let me be the first to say...
  
  
  
  
  
  
  Yep. Weekends are sweet. :-)
  Not so many people in the office so got less distractions.
  ahhh the joys of a career in IT...
  
  -Original Message-
  From: Simon Kelly [mailto:[EMAIL PROTECTED]
  Sent: Friday, 28 March 2003 15:05
  To: Struts Users Mailing List
  Subject: Re: Just let me be the first to say...
  
  
  +1
  
  The weekend starts here!  Wooo Hooo!
  
  
  - Original Message -
  From: Scott Barr [EMAIL PROTECTED]
  To: 'Struts Users Mailing List' [EMAIL PROTECTED]
  Sent: Friday, March 28, 2003 7:52 AM
  Subject: Just let me be the first to say...
  
  
  
  
  
  
  TGIF!!
  
  Scott
  www.exergonic.com.au
  
  
  
  
  
  
 
-
  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]


 -
 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: Questions concerning Tiles

2003-03-28 Thread Cedric Dumoulin
 Hi Guillaume,

 It is hard to say, I have never evaluated the cost of creation of a 
new Date object.
 You need to evaluate this cost, and compare it against a solution 
where you cache the object. Maybe the Date implementation already do a 
kind of caching !
 If not, it should be simple to create a singleton class(a static one) 
with one method: getDate(). This method cache the real object, and take 
care of updating it daily :-).

 Cedric

COMPAGNON GUILLAUME wrote:

Cédric,
is that make sense to define a bean type for printing the today date with
the scope of the application ( in order not to instanciate the Date each
time) ?
Thx!
Guillaume

Ce message et toutes les pieces jointes (ci-apres le message) sont confidentiels et 
etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.Tout message electronique 
est susceptible d'alteration.
Le CREDIT DU NORD et ses filiales declinent toute responsabilite au titre de ce 
message s'il a ete altere, deforme ou falsifie.
This message and any attachments ( the message) are confidential and intended solely 
for the addressees.
Any unauthorised use or dissemination is prohibited.E-mails are susceptible to 
alteration.
Neither CREDIT DU NORD nor any of its subsidiaries or affiliates shall be liable for 
the message if altered, changed or falsified.

-
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: take over an existing HttpSession

2003-03-28 Thread Johan Wasserman
You might have found your solution already, but I just got the same type
of requirement.  I found, and is looking at, the
org.apache.catalina.session.PersistentManagerBase class (in
catalina.jar) and hopefully this will do the trick for me.  Also look at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/manager.html on
how to set up the manager and state store.  I'm thinking in the lines of
saving the session ID in the user's logon database. So if the user logs
on to another terminal and he already has an session id, then I'll try
to use the state store to retrieve the old session and loading its
contents into the new session before invalidating the old one.

If anyone has worked with the PersistentManagerBase before, helpful
hints will be appreciated.

Happy coding.
Johan Wasserman

-Original Message-
From: Dmitri Ilyin [mailto:[EMAIL PROTECTED] 
Sent: 24 March 2003 20:01
To: [EMAIL PROTECTED]
Subject: Re: take over an existing HttpSession


Dan Tran [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
 With this  design idea, I am sure you will need to place a collection
to
 store all active sessions. Vector collection type will to do job to
protect
 multi threaded situation.

 You will  need a SessionListener to remove the expired session from
servlet
 context.

 You will need to know what to copy from old session to new session.
This
is
 the hardest one I beleive since struts do lots of this stuff behind
the
 scene, you may need to know struts code to do this work.

 Are you sure you want to do this? sound like a mantainent nightmare
for me
 ;-)
Sure I don't. But i probably must ...
I'm not using Struts a lot, so the last issue must not be critical for
me.
My application will be ported to Struts later and then i will have to
see if
it will also work for Struts but later


 -D
 - Original Message -
 From: Dmitri Ilyin [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, March 24, 2003 9:23 AM
 Subject: Re: take over an existing HttpSession


  Thank you Dan.
 
  I will try it this way. I don't see any problem with multithreading
here.
 I
  will not change the old session i will invalidate it. What do you
 think??
 
  Dan Tran [EMAIL PROTECTED] schrieb im Newsbeitrag
  news:[EMAIL PROTECTED]
   Just an idea!!
  
   Store all your sessions's reference  in the servelt context and
when a
 new
   session is create, check against the session list in the servelt
 context,
   copy over data from old session to new session, and destroy the
old
  session
  
   Then You have to deal with all kind of multithreaded  and
usibility
  issues.
   Sound scary ;-)
  
   Good luck
  
   - Original Message -
   From: Dmitri Ilyin [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Monday, March 24, 2003 5:59 AM
   Subject: Re: take over an existing HttpSession
  
  
   
Stephen Smithstone [EMAIL PROTECTED] schrieb im
 Newsbeitrag
news:[EMAIL PROTECTED]
 Use the servlet context to store the details in instead of the
 session
context
 and the label it via a the users username or something
Thank you Stephen, that's Ok but i also have to invalidate an
old
   session,
so the user can only have one session at time.
   



 On Monday 24 March 2003 12:40 pm, Dmitri Ilyin wrote:
  Hi,
 
  i'm may be out of topic. But i think there are a lot of
gurus
here
   they
  could help me.
 
  I have to implement one feature in my application for that
there
 is
   may
be
  already a solution here.
 
  Szenario:
  A user logged on in application. He dose some  work, dosn't
 logged
   out
and
  goes to another workstation. In new workstation he logged in
   application
  again with the same userID. The user must get in the
application
 an
exactly
  the same place and have the same data from his last
workstation
 and
   his
  last session must be invalidated.  So the user must take
over
his
  last
  session.
 
  any ideas??
 
  thanks for any advise
 
  regards Dmitri
 
 
 
 

  
-
  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 

Re: Questions concerning Tiles

2003-03-28 Thread Simon Kelly
You may also want to have a look at the Calendar class as a method of
generating your Date objects.  There are several methods that are very
useful for getting Locale times, so users would get there local time, not
the time where you app is located.

If you have the Calendar in a Static class as Cedric sugested and write your
own methods for standard getDate() and getDate(Locale l), you will find the
time complexity around the 2-5 millisecond maker for the first, and 10-12
milliseconds for the second. Not too costly :-)

Cheers

Simon


- Original Message -
From: Cedric Dumoulin [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 9:48 AM
Subject: Re: Questions concerning Tiles



   Hi Guillaume,

   It is hard to say, I have never evaluated the cost of creation of a
 new Date object.
   You need to evaluate this cost, and compare it against a solution
 where you cache the object. Maybe the Date implementation already do a
 kind of caching !
   If not, it should be simple to create a singleton class(a static one)
 with one method: getDate(). This method cache the real object, and take
 care of updating it daily :-).

   Cedric

 COMPAGNON GUILLAUME wrote:

 Cédric,
 is that make sense to define a bean type for printing the today date with
 the scope of the application ( in order not to instanciate the Date each
 time) ?
 
 Thx!
 Guillaume
 
 
 
 Ce message et toutes les pieces jointes (ci-apres le message) sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
 Toute utilisation ou diffusion non autorisee est interdite.Tout message
electronique est susceptible d'alteration.
 Le CREDIT DU NORD et ses filiales declinent toute responsabilite au titre
de ce message s'il a ete altere, deforme ou falsifie.
 This message and any attachments ( the message) are confidential and
intended solely for the addressees.
 Any unauthorised use or dissemination is prohibited.E-mails are
susceptible to alteration.
 Neither CREDIT DU NORD nor any of its subsidiaries or affiliates shall be
liable for the message if altered, changed or falsified.
 
 
 
 -
 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: [ANN] New York Struts Group - Manchester UK

2003-03-28 Thread Paul Thomas
On 26/03/2003 10:26 Chris May wrote:
Maybe, if it was south Manchester (I'm based in the Midlands). Any
takers?
Chris
I'm in the Midlands too - just north of Brum.

 David Bolsover [EMAIL PROTECTED] 03/25/03 11:10pm 
New York a bit far for me on a regular basis
Any interest in somthing similar in Manchester UK - has distinct benefit
of better beer =:o)
V. true. And reasonably sensible prices too :)

--
Paul Thomas
+--+-+
| Thomas Micro Systems Limited | Software Solutions for the Smaller 
Business |
| Computer Consultants | 
http://www.tmsl.demon.co.uk |
+--+-+

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


[OT] reusing existing user accounts in a webapp that are stored in a DB table....

2003-03-28 Thread Butt, Dudley
Hi all,

I have another brain teaser for you all...
Currently we have DB tables that hold user account info. What we want to do is use 
Weblogic Security, but we dont want to recapture all the users into
weblogic. Is there a way we can use the user accounts stored in a DB with Weblogic's 
built in security/authentication mechanism? We dont want double
lists of users to maintain. One on the DB and another on weblogic, security..

many thanx
dudley


NOTICE: 

This message contains privileged and confidential information intended 
only for the person or entity to which it is addressed. 
Any review, retransmission, dissemination, copy 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 message in error, please notify the sender 
immediately by e-mail, facsimile or telephone and thereafter delete the 
material from any computer. 

The New Africa Capital Group, its subsidiaries or associates do not 
accept liability for any personal views expressed in this message.

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



Test

2003-03-28 Thread Kwok Peng Tuck
Ignore.

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


MessageResources problem ?

2003-03-28 Thread Eric Chow
Hello,

For use multiple message-resources,

I set the following in struts-config.xml

message-resources parameter=eric.mymessage null=false/
message-resources key=country parameter=eric.countrylist null=false/


Right?  The eric.mymessage is use by default.


Anyway, If I want to retrieve the default(eric.mymessage) in some area, such as 
ActionForm or Actions.

I will use the following statement to get the MessageResources that store in the 
REQUEST.

=
MessageResources messages = 
(MessageResources)request.getAttribute(Globals.MESSAGES_KEY);
=

But the above statement will only return the default message resources.

How can I get the MesageResource of the bundle country ?



Best regards,
Eric





==
If you know what you are doing, 
it is not called RESEARCH!
==

[OT] Library files interfering with each other!?!

2003-03-28 Thread Simon Kelly
Hi all,

Has anyone seen a problem like this before?

I have two jar files containing the same structure. xmlparserv2.jar from
oracle and j2sdkee.jar both have the javax.xml.transform paths.  The oracle
one is causing a problem with my application, but I need certain parts in
the rest of the structure for my business logic.

Does anyone know how to compile with just the required sections of a jar and
not the whole thing??

Cheers

Simon



Institut fuer
Prozessdatenverarbeitung
und Elektronik,
Forschungszentrum Karlsruhe GmbH,
Postfach 3640,
D-76021 Karlsruhe,
Germany.

Tel: (+49)/7247 82-4042
E-mail : [EMAIL PROTECTED]


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



Re: Test

2003-03-28 Thread Puneet Agarwal

What if I don't...?






   

Kwok Peng  

Tuck To: Struts Users Mailing List [EMAIL 
PROTECTED]
[EMAIL PROTECTED]cc:  
 
mal.net Subject: Test 

   

03/28/03   

04:04 PM   

Please 

respond to 

Struts Users  

Mailing List  

   

   





Ignore.


-
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: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Rasputin


Check the website for errata though - I read the first chapter 4 times 
and still couldn't understand it. Then corrected the typos and it all
clicked :)

* Emmanuel Feller [EMAIL PROTECTED] [0311 08:11]:
 Best one ...
 i read it more than two times and it is still the book on my night table ...
 
 - Original Message -
 From: Kwok Peng Tuck [EMAIL PROTECTED]
 
 
  Struts in Action.
 
 
 
  Andrew Hill wrote:
 
  Which one?

-- 
Yeah, but you're taking the universe out of context.
Rasputin :: Jack of All Trades - Master of Nuns

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



Re: MessageResources problem ?

2003-03-28 Thread Simon Kelly
You should really have the bundles named like this.

myresource
myresource_de (Germany)
myresourse_ko (Korea)
etc

One of the struts book will have a good line on this, or the i18n page at
the main web site.

Cheers

Simon
- Original Message -
From: Eric Chow [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 11:30 AM
Subject: MessageResources problem ?


Hello,

For use multiple message-resources,

I set the following in struts-config.xml

message-resources parameter=eric.mymessage null=false/
message-resources key=country parameter=eric.countrylist null=false/


Right?  The eric.mymessage is use by default.


Anyway, If I want to retrieve the default(eric.mymessage) in some area, such
as ActionForm or Actions.

I will use the following statement to get the MessageResources that store in
the REQUEST.


=
MessageResources messages =
(MessageResources)request.getAttribute(Globals.MESSAGES_KEY);

=

But the above statement will only return the default message resources.

How can I get the MesageResource of the bundle country ?



Best regards,
Eric





==
If you know what you are doing,
it is not called RESEARCH!
==


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



Re: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Becky Norum
On Fri, 2003-03-28 at 03:41, Simon Kelly wrote:
 However, House at Pooh Corner is still my volume of choice, with a nice
 cup of coco.
 
 =]:0) Simon

Now that's a smiley I've never seen before.. care to enlighten, Simon?

Becky


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



Re: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Simon Kelly
Was just lookin for something that was close to a top-hat.  I get bored
easily ;-) and I don't have my teddy bear to play with :-(


- Original Message -
From: Becky Norum [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 11:46 AM
Subject: Re: [FRIDAY]Re: Just let me be the first to say...


 On Fri, 2003-03-28 at 03:41, Simon Kelly wrote:
  However, House at Pooh Corner is still my volume of choice, with a
nice
  cup of coco.
 
  =]:0) Simon

 Now that's a smiley I've never seen before.. care to enlighten, Simon?

 Becky


 -
 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: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Emmanuel Feller
Yes I know what you mean ...
I check the website and everythings are all right but every time i read this
book i add some requirements and i want to evolve my point of view on
struts and advanced features ...

so i retake it almost one or two times a week ;))


- Original Message -
From: Rasputin [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 11:39 AM
Subject: Re: [FRIDAY]Re: Just let me be the first to say...




 Check the website for errata though - I read the first chapter 4 times
 and still couldn't understand it. Then corrected the typos and it all
 clicked :)

 * Emmanuel Feller [EMAIL PROTECTED] [0311 08:11]:
  Best one ...
  i read it more than two times and it is still the book on my night table
...
 
  - Original Message -
  From: Kwok Peng Tuck [EMAIL PROTECTED]
 
 
   Struts in Action.
  
  
  
   Andrew Hill wrote:
  
   Which one?

 --
 Yeah, but you're taking the universe out of context.
 Rasputin :: Jack of All Trades - Master of Nuns

 -
 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: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Becky Norum
On Fri, 2003-03-28 at 05:50, Simon Kelly wrote:
 Was just lookin for something that was close to a top-hat.  I get bored
 easily ;-) and I don't have my teddy bear to play with :-(

awww.. I have a voodoo doll at my desk that keeps me entertained.
Great for getting out all sorts of frustrations.. :D

Becky


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



RE: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Angelo . Andreetto
Anybody outta there who know how to fix my voodoo doll configuration? 
She doesn't link with the boss so the best part of it is simply useless
;-]

 -Original Message-
 From: Becky Norum [SMTP:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 12:01 PM
 To:   Struts Users Mailing List
 Subject:  Re: [FRIDAY]Re: Just let me be the first to say...
 
 On Fri, 2003-03-28 at 05:50, Simon Kelly wrote:
  Was just lookin for something that was close to a top-hat.  I get bored
  easily ;-) and I don't have my teddy bear to play with :-(
 
 awww.. I have a voodoo doll at my desk that keeps me entertained.
 Great for getting out all sorts of frustrations.. :D
 
 Becky
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
IMPORTANT: 
This e-mail transmission is intended for the named addressee(s) only. 
Its contents are private, confidential and protected from disclosure and
should not be read, copied or disclosed by any other person. 
If you are not the intended recipient, we kindly ask you to notify the
sender immediately by telephone (+41-91-612 26 11), 
to redirect the message to the account [EMAIL PROTECTED] and to delete this
e-mail. 
E-mail transmissions may be intercepted, altered or read by unauthorized
persons and may contain viruses. Therefore, it is recommended that you use
regular mail or courier services for any information intended to be
confidential. However, by sending us messages through e-mail, you authorize
and instruct us to correspond by e-mail in the relevant matter. 
Thank you. 


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



RE: [OT] reusing existing user accounts in a webapp that are stored i n a DB table....

2003-03-28 Thread Butt, Dudley
does anyone know of, or able to point me in the right direction with regards to single 
sign on...is there any software or articles that anyone knows
of?
thx

-Original Message-
From: Butt, Dudley 
Sent: Friday, March 28, 2003 12:00 PM
To: '[EMAIL PROTECTED]'
Subject: [OT] reusing existing user accounts in a webapp that are stored
i n a DB table


Hi all,

I have another brain teaser for you all...
Currently we have DB tables that hold user account info. What we want to do is use 
Weblogic Security, but we dont want to recapture all the users into
weblogic. Is there a way we can use the user accounts stored in a DB with Weblogic's 
built in security/authentication mechanism? We dont want double
lists of users to maintain. One on the DB and another on weblogic, security..

many thanx
dudley


NOTICE: 

This message contains privileged and confidential information intended 
only for the person or entity to which it is addressed. 
Any review, retransmission, dissemination, copy 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 message in error, please notify the sender 
immediately by e-mail, facsimile or telephone and thereafter delete the 
material from any computer. 

The New Africa Capital Group, its subsidiaries or associates do not 
accept liability for any personal views expressed in this message.

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


NOTICE: 

This message contains privileged and confidential information intended 
only for the person or entity to which it is addressed. 
Any review, retransmission, dissemination, copy 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 message in error, please notify the sender 
immediately by e-mail, facsimile or telephone and thereafter delete the 
material from any computer. 

The New Africa Capital Group, its subsidiaries or associates do not 
accept liability for any personal views expressed in this message.

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



RE: [OT] Library files interfering with each other!?!

2003-03-28 Thread shirishchandra.sakhare
Try putting the problematic jar(xmlparserv2.jar) after the j2sdkee.jar in the 
classpath.

In that case , the classes in your application wil first get the classes from 
j2sdkee.jar ..
And as for the rest which need classes from second jar , they will get it from the 
second jar provided they are not in first jar..

-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 11:27 AM
To: Struts Users Mailing List
Subject: [OT] Library files interfering with each other!?!


Hi all,

Has anyone seen a problem like this before?

I have two jar files containing the same structure. xmlparserv2.jar from
oracle and j2sdkee.jar both have the javax.xml.transform paths.  The oracle
one is causing a problem with my application, but I need certain parts in
the rest of the structure for my business logic.

Does anyone know how to compile with just the required sections of a jar and
not the whole thing??

Cheers

Simon



Institut fuer
Prozessdatenverarbeitung
und Elektronik,
Forschungszentrum Karlsruhe GmbH,
Postfach 3640,
D-76021 Karlsruhe,
Germany.

Tel: (+49)/7247 82-4042
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: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Simon Kelly
Ah yes ... that voodoo that you do .

Worst joke I could come up with on 14 cups of coffee and two apples.  I need
more inspiration ...


- Original Message -
From: Becky Norum [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 12:00 PM
Subject: Re: [FRIDAY]Re: Just let me be the first to say...


 On Fri, 2003-03-28 at 05:50, Simon Kelly wrote:
  Was just lookin for something that was close to a top-hat.  I get bored
  easily ;-) and I don't have my teddy bear to play with :-(

 awww.. I have a voodoo doll at my desk that keeps me entertained.
 Great for getting out all sorts of frustrations.. :D

 Becky


 -
 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] reusing existing user accounts in a webapp that are stor ed i n a DB table....

2003-03-28 Thread Stephen Smithstone
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html

is for a tomcat setup not sure on the weblogic stuff


On Friday 28 March 2003 11:06 am, Butt, Dudley wrote:
 does anyone know of, or able to point me in the right direction with
 regards to single sign on...is there any software or articles that anyone
 knows of?
 thx

 -Original Message-
 From: Butt, Dudley
 Sent: Friday, March 28, 2003 12:00 PM
 To: '[EMAIL PROTECTED]'
 Subject: [OT] reusing existing user accounts in a webapp that are stored
 i n a DB table


 Hi all,

 I have another brain teaser for you all...
 Currently we have DB tables that hold user account info. What we want to do
 is use Weblogic Security, but we dont want to recapture all the users into
 weblogic. Is there a way we can use the user accounts stored in a DB with
 Weblogic's built in security/authentication mechanism? We dont want double
 lists of users to maintain. One on the DB and another on weblogic,
 security..

 many thanx
 dudley


 NOTICE:

 This message contains privileged and confidential information intended
 only for the person or entity to which it is addressed.
 Any review, retransmission, dissemination, copy 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 message in error, please notify the sender
 immediately by e-mail, facsimile or telephone and thereafter delete the
 material from any computer.

 The New Africa Capital Group, its subsidiaries or associates do not
 accept liability for any personal views expressed in this message.

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


 NOTICE:

 This message contains privileged and confidential information intended
 only for the person or entity to which it is addressed.
 Any review, retransmission, dissemination, copy 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 message in error, please notify the sender
 immediately by e-mail, facsimile or telephone and thereafter delete the
 material from any computer.

 The New Africa Capital Group, its subsidiaries or associates do not
 accept liability for any personal views expressed in this message.

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


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



[OT] Query design question

2003-03-28 Thread Becky Norum
My database schema references a number of lookup tables.

For example,

DATA:
  id primary key
  category   references lookup_category(key)
  upload_loc references lookup_upload_location(key)
  (etc)

LOOKUP_CATEGORY:
  key   primary key
  name  
  description

LOOKUP_UPLOAD_LOCATION:
  key   primary key
  url
  description


When doing a search, I create an ArrayList DATA beans to hold the
search results.  I want the results to display the long name rather than
key for various lookup tables, etc.  e.g., Acousto-Photonic Imaging
rather than api.

Is it a better design to design the query to handle this, e.g.

SELECT a.id, b.name from data a, lookup_category b 
 WHERE a.category = b.key;

Even though an instance of the data bean doesn't now correspond directly
to a DATA table entry?

or to conduct separate queries.

The first obviously seems faster.

I'm sure this is handled by some design pattern.. but I'm not sure where
to look.

TIA,

Becky


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



Re: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Rachel
At 15:58 28/03/2003 +0800, you wrote:
:)

I look forward to the weekends where I can read the struts book I just 
bought.
I now have Programming Jakarta Struts and Struts in Action, and it's only 
at the weekend that my clients stop asking me to write ASP long enough for 
me to do any work on my endeavor to learn how to use Struts... its slowly 
starting to make sense :)

Rachel

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


Re: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Stephen Smithstone
i really feel for you using ASP in regards with how easy you could make your 
life if you totally dropped it and used Struts :-)


On Friday 28 March 2003 11:58 am, Rachel wrote:
 At 15:58 28/03/2003 +0800, you wrote:
 :)
 
 I look forward to the weekends where I can read the struts book I just
 bought.

 I now have Programming Jakarta Struts and Struts in Action, and it's only
 at the weekend that my clients stop asking me to write ASP long enough for
 me to do any work on my endeavor to learn how to use Struts... its slowly
 starting to make sense :)

 Rachel


 -
 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: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Alexandre Jaquet
I have a stock of inspiration near me how much do you want ,
and with wich flavor ? ananas, apple, chery ?

lol


- Original Message -
From: Simon Kelly [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 12:12 PM
Subject: Re: [FRIDAY]Re: Just let me be the first to say...


 Ah yes ... that voodoo that you do .

 Worst joke I could come up with on 14 cups of coffee and two apples.  I
need
 more inspiration ...


 - Original Message -
 From: Becky Norum [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 12:00 PM
 Subject: Re: [FRIDAY]Re: Just let me be the first to say...


  On Fri, 2003-03-28 at 05:50, Simon Kelly wrote:
   Was just lookin for something that was close to a top-hat.  I get
bored
   easily ;-) and I don't have my teddy bear to play with :-(
 
  awww.. I have a voodoo doll at my desk that keeps me entertained.
  Great for getting out all sorts of frustrations.. :D
 
  Becky
 
 
  -
  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] Query design question

2003-03-28 Thread Simon Kelly
Not sure if this is what your looking for, but I have a similar problem
where I have keys and long names for db lookup.  When my app starts up, one
of the first things that happens is that the first user in triggers a method
that creates an xml file pulling all the keys in and their related long
names and storing them in the context somewhere, so then the keys can be
used for the db searches, and the xml file can be used to get the long names
when they are required.

Cheers

Simon

(];o)  = Very poor attempt at a bald man!!

- Original Message -
From: Becky Norum [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 12:28 PM
Subject: [OT] Query design question


 My database schema references a number of lookup tables.

 For example,

 DATA:
   id primary key
   category   references lookup_category(key)
   upload_loc references lookup_upload_location(key)
   (etc)

 LOOKUP_CATEGORY:
   key   primary key
   name
   description

 LOOKUP_UPLOAD_LOCATION:
   key   primary key
   url
   description


 When doing a search, I create an ArrayList DATA beans to hold the
 search results.  I want the results to display the long name rather than
 key for various lookup tables, etc.  e.g., Acousto-Photonic Imaging
 rather than api.

 Is it a better design to design the query to handle this, e.g.

 SELECT a.id, b.name from data a, lookup_category b
  WHERE a.category = b.key;

 Even though an instance of the data bean doesn't now correspond directly
 to a DATA table entry?

 or to conduct separate queries.

 The first obviously seems faster.

 I'm sure this is handled by some design pattern.. but I'm not sure where
 to look.

 TIA,

 Becky


 -
 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: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Simon Kelly
Rocky-road would be my first choice, but double-choc-chip is nice second



- Original Message -
From: Alexandre Jaquet [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 12:50 PM
Subject: Re: [FRIDAY]Re: Just let me be the first to say...


 I have a stock of inspiration near me how much do you want ,
 and with wich flavor ? ananas, apple, chery ?

 lol


 - Original Message -
 From: Simon Kelly [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 12:12 PM
 Subject: Re: [FRIDAY]Re: Just let me be the first to say...


  Ah yes ... that voodoo that you do .
 
  Worst joke I could come up with on 14 cups of coffee and two apples.  I
 need
  more inspiration ...
 
 
  - Original Message -
  From: Becky Norum [EMAIL PROTECTED]
  To: Struts Users Mailing List [EMAIL PROTECTED]
  Sent: Friday, March 28, 2003 12:00 PM
  Subject: Re: [FRIDAY]Re: Just let me be the first to say...
 
 
   On Fri, 2003-03-28 at 05:50, Simon Kelly wrote:
Was just lookin for something that was close to a top-hat.  I get
 bored
easily ;-) and I don't have my teddy bear to play with :-(
  
   awww.. I have a voodoo doll at my desk that keeps me entertained.
   Great for getting out all sorts of frustrations.. :D
  
   Becky
  
  
   -
   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: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Becky Norum
On Fri, 2003-03-28 at 06:12, Simon Kelly wrote:
 Ah yes ... that voodoo that you do .
 
 Worst joke I could come up with on 14 cups of coffee and two apples.  I need
 more inspiration ...

I do hope you are kidding.  Or do you have stock in some antacid
company?  =)

I need coffee badly.. but Dunkin Donuts doesn't open for 30 minutes and
the other coffee shop's coffee tastes like used motor oil.  Really.

Becky


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



Re: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Rachel
At 11:43 28/03/2003 +, you wrote:
i really feel for you using ASP in regards with how easy you could make your
life if you totally dropped it and used Struts :-)
it's actually quite good, because I am always finding things out and it's 
like 'wow ... I don't have to write masses of crazy code to do this', I 
might have given up on learning this had I not been able to see how good it 
is in contrast to other technologies that I have been using for years.

I'm getting fewer requests for ASP stuff these days (which is good!) I made 
the decision to move to Java rather than go for .NET (didn't want to be 
tied to Windows) and so learning Struts is part of that plan ... I'm just 
finding there is an awful lot to learn!

Rachel

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


Re: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Becky Norum
On Fri, 2003-03-28 at 07:18, Rachel wrote:
  I'm just 
 finding there is an awful lot to learn!
 
 Rachel

That's the best and worst thing!  Sometimes I feel like my head is gonna
explode.. but it's fun.  Frustrating sometimes, but fun.  =)

Becky


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



RE: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Andrew Hill
hehe ... and JSF just around the corner too :-)

-Original Message-
From: Rachel [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 20:19
To: Struts Users Mailing List
Subject: Re: [FRIDAY]Re: Just let me be the first to say...


At 11:43 28/03/2003 +, you wrote:
i really feel for you using ASP in regards with how easy you could make
your
life if you totally dropped it and used Struts :-)

it's actually quite good, because I am always finding things out and it's
like 'wow ... I don't have to write masses of crazy code to do this', I
might have given up on learning this had I not been able to see how good it
is in contrast to other technologies that I have been using for years.

I'm getting fewer requests for ASP stuff these days (which is good!) I made
the decision to move to Java rather than go for .NET (didn't want to be
tied to Windows) and so learning Struts is part of that plan ... I'm just
finding there is an awful lot to learn!

Rachel


-
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] Query design question

2003-03-28 Thread Becky Norum
Simon,

Thanks for the suggestion - that's a good idea with less OH.  Also makes
me think of just storing them in a application level Hashmap bean or
something loaded at application startup, which is how I handle form
collections..  Hmmm..

Becky

Bald man looks more like a lady with a bouffant cuz of the parenthesis
;)

On Fri, 2003-03-28 at 06:48, Simon Kelly wrote:
 Not sure if this is what your looking for, but I have a similar problem
 where I have keys and long names for db lookup.  When my app starts up, one
 of the first things that happens is that the first user in triggers a method
 that creates an xml file pulling all the keys in and their related long
 names and storing them in the context somewhere, so then the keys can be
 used for the db searches, and the xml file can be used to get the long names
 when they are required.
 
 Cheers
 
 Simon
 
 (];o)  = Very poor attempt at a bald man!!


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



Re: [OT] Query design question

2003-03-28 Thread Simon Kelly
Damn ... keyboard just don't offer enough options ... well to the coffee
room for more of the columbian magic ... M a truely dark roast!!


- Original Message -
From: Becky Norum [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 1:06 PM
Subject: Re: [OT] Query design question


 Simon,

 Thanks for the suggestion - that's a good idea with less OH.  Also makes
 me think of just storing them in a application level Hashmap bean or
 something loaded at application startup, which is how I handle form
 collections..  Hmmm..

 Becky

 Bald man looks more like a lady with a bouffant cuz of the parenthesis
 ;)

 On Fri, 2003-03-28 at 06:48, Simon Kelly wrote:
  Not sure if this is what your looking for, but I have a similar problem
  where I have keys and long names for db lookup.  When my app starts up,
one
  of the first things that happens is that the first user in triggers a
method
  that creates an xml file pulling all the keys in and their related long
  names and storing them in the context somewhere, so then the keys can be
  used for the db searches, and the xml file can be used to get the long
names
  when they are required.
 
  Cheers
 
  Simon
 
  (];o)  = Very poor attempt at a bald man!!


 -
 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] Library files interfering with each other!?!

2003-03-28 Thread Simon Kelly
Nope.  Didn't work, still getting the same problem.

Do you know if it is possable to cut up a jar and extract parts and ditch
the rest??

Cheers

Simon


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 12:13 PM
Subject: RE: [OT] Library files interfering with each other!?!


Try putting the problematic jar(xmlparserv2.jar) after the j2sdkee.jar in
the classpath.

In that case , the classes in your application wil first get the classes
from j2sdkee.jar ..
And as for the rest which need classes from second jar , they will get it
from the second jar provided they are not in first jar..

-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 11:27 AM
To: Struts Users Mailing List
Subject: [OT] Library files interfering with each other!?!


Hi all,

Has anyone seen a problem like this before?

I have two jar files containing the same structure. xmlparserv2.jar from
oracle and j2sdkee.jar both have the javax.xml.transform paths.  The oracle
one is causing a problem with my application, but I need certain parts in
the rest of the structure for my business logic.

Does anyone know how to compile with just the required sections of a jar and
not the whole thing??

Cheers

Simon



Institut fuer
Prozessdatenverarbeitung
und Elektronik,
Forschungszentrum Karlsruhe GmbH,
Postfach 3640,
D-76021 Karlsruhe,
Germany.

Tel: (+49)/7247 82-4042
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]



Too many session scoped form beans!

2003-03-28 Thread Jorge Mascena
I'd like to know if it's possible to avoid using to many session scoped
form beans.

I have a bean that contains a collection and I use nested:iterate to
display entry fields on my html:form. When the form is submitted, I get
an error in BeanUtils.populate(), because the new bean (when the bean is
request scoped) contains an empty collection and populate() tries to set
the properties of the elements that existed on the bean of the previous
request.

If I change the bean to session scope, everything works fine (because
now the bean is the same for both requests), but I think it's kind of
messy to have lots of session scoped beans.

I'd appreciate to have any comments on this subject.

Thanks

Jorge Mascena


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



Re: [OT] Library files interfering with each other!?!

2003-03-28 Thread Nicolas De Loof
Unjar the archive to a temp directory. Select the needed files an create a new jar 
with it. Use an explicit name so
that you will remember what is inside, like xmlparserv2-without-org_w3_dom.jar !

You can use winzip for this as .jar and .zip are compatible formats.

Nico.


 Nope.  Didn't work, still getting the same problem.

 Do you know if it is possable to cut up a jar and extract parts and ditch
 the rest??

 Cheers

 Simon


 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 12:13 PM
 Subject: RE: [OT] Library files interfering with each other!?!


 Try putting the problematic jar(xmlparserv2.jar) after the j2sdkee.jar in
 the classpath.

 In that case , the classes in your application wil first get the classes
 from j2sdkee.jar ..
 And as for the rest which need classes from second jar , they will get it
 from the second jar provided they are not in first jar..

 -Original Message-
 From: Simon Kelly [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 11:27 AM
 To: Struts Users Mailing List
 Subject: [OT] Library files interfering with each other!?!


 Hi all,

 Has anyone seen a problem like this before?

 I have two jar files containing the same structure. xmlparserv2.jar from
 oracle and j2sdkee.jar both have the javax.xml.transform paths.  The oracle
 one is causing a problem with my application, but I need certain parts in
 the rest of the structure for my business logic.

 Does anyone know how to compile with just the required sections of a jar and
 not the whole thing??

 Cheers

 Simon



 Institut fuer
 Prozessdatenverarbeitung
 und Elektronik,
 Forschungszentrum Karlsruhe GmbH,
 Postfach 3640,
 D-76021 Karlsruhe,
 Germany.

 Tel: (+49)/7247 82-4042
 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] Library files interfering with each other!?!

2003-03-28 Thread Becky Norum
On Fri, 2003-03-28 at 07:44, Simon Kelly wrote:
 Nope.  Didn't work, still getting the same problem.
 
 Do you know if it is possable to cut up a jar and extract parts and ditch
 the rest??
 
 Cheers
 
 Simon

yup.

jar xvf xxx.jar   expands it (like tar)

you can then delete the appropriate files, edit the Manifest file to
reflect the deleted files, and re-jar it using something like:

jar cvf xxx.jar path/*

See: http://java.sun.com/docs/books/tutorial/jar/index.html

for info about the jar format and how to manipulate it.

Becky


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



Re: Too many session scoped form beans!

2003-03-28 Thread Nicolas De Loof
I think you can use something like this in a request scoped form-bean :


protected List item;

public void setItem(int index, Object obj) {
if (this.item == null) {
this.item = new ArrayList(index);
} else {
this.item.ensureCapacity(index);
}
this.item.add(index, obj);
}

This way, when form-bean population occurs, you will get a new Collection when needed.

Nico.


 I'd like to know if it's possible to avoid using to many session scoped
 form beans.
 
 I have a bean that contains a collection and I use nested:iterate to
 display entry fields on my html:form. When the form is submitted, I get
 an error in BeanUtils.populate(), because the new bean (when the bean is
 request scoped) contains an empty collection and populate() tries to set
 the properties of the elements that existed on the bean of the previous
 request.
 
 If I change the bean to session scope, everything works fine (because
 now the bean is the same for both requests), but I think it's kind of
 messy to have lots of session scoped beans.
 
 I'd appreciate to have any comments on this subject.
 
 Thanks
 
 Jorge Mascena
 
 
 -
 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 books

2003-03-28 Thread Butt, Dudley
Hi,

Just wanted to ask how current the struts books are, as listed on the struts jakarta 
page, with respect to the latest version of struts???

thanx


NOTICE: 

This message contains privileged and confidential information intended 
only for the person or entity to which it is addressed. 
Any review, retransmission, dissemination, copy 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 message in error, please notify the sender 
immediately by e-mail, facsimile or telephone and thereafter delete the 
material from any computer. 

The New Africa Capital Group, its subsidiaries or associates do not 
accept liability for any personal views expressed in this message.

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



Re: [OT] Library files interfering with each other!?!

2003-03-28 Thread Simon Kelly
Becky and Nico,

Thanks for that, most helpful.

Cheers

Simon

°(|:§)  = Man with bad handle-bar mustache in bobble hat !!


- Original Message -
From: Becky Norum [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 2:02 PM
Subject: Re: [OT] Library files interfering with each other!?!


 On Fri, 2003-03-28 at 07:44, Simon Kelly wrote:
  Nope.  Didn't work, still getting the same problem.
 
  Do you know if it is possable to cut up a jar and extract parts and
ditch
  the rest??
 
  Cheers
 
  Simon

 yup.

 jar xvf xxx.jar   expands it (like tar)

 you can then delete the appropriate files, edit the Manifest file to
 reflect the deleted files, and re-jar it using something like:

 jar cvf xxx.jar path/*

 See: http://java.sun.com/docs/books/tutorial/jar/index.html

 for info about the jar format and how to manipulate it.

 Becky


 -
 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: Too many session scoped form beans!

2003-03-28 Thread Nicolas De Loof
Reading my own post I realize this code will throw an IndexOutOfBoundsException 

You need to put 'empty' datas on the List as needed :

protected List item;

public void setItem(int index, Object obj) {
if (this.item == null) {
this.item = new ArrayList(index);
}
for (int i = this.item.size(); i  index; i++) {
this.item.add();
}
this.item.add(index, obj);
}

Nico.

 I think you can use something like this in a request scoped form-bean :
 
 
 protected List item;
 
 public void setItem(int index, Object obj) {
 if (this.item == null) {
 this.item = new ArrayList(index);
 } else {
 this.item.ensureCapacity(index);
 }
 this.item.add(index, obj);
 }
 
 This way, when form-bean population occurs, you will get a new Collection when 
 needed.
 
 Nico.
 
 
  I'd like to know if it's possible to avoid using to many session scoped
  form beans.
  
  I have a bean that contains a collection and I use nested:iterate to
  display entry fields on my html:form. When the form is submitted, I get
  an error in BeanUtils.populate(), because the new bean (when the bean is
  request scoped) contains an empty collection and populate() tries to set
  the properties of the elements that existed on the bean of the previous
  request.
  
  If I change the bean to session scope, everything works fine (because
  now the bean is the same for both requests), but I think it's kind of
  messy to have lots of session scoped beans.
  
  I'd appreciate to have any comments on this subject.
  
  Thanks
  
  Jorge Mascena
  
  
  -
  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: how to switch of logging with log4j at initialization

2003-03-28 Thread Edgar Dollin
In commons-logging.properties (somewhere on the classpath) I have these two
lines


org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JCategory
Log

org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jF
actory

I forget what they are both for but commons-logging always seems to find the
log4j configuration.

Edgar

 -Original Message-
 From: Martin Monsorno [mailto:[EMAIL PROTECTED] 
 Sent: Friday, March 28, 2003 3:04 AM
 To: 'Struts Users Mailing List'
 Subject: Re: how to switch of logging with log4j at initialization
 
 
 COMPAGNON GUILLAUME [EMAIL PROTECTED] writes:
 
  according to me (as the simplest way), you need to have a 
  commons-logging.propeties file with 
  
 org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.
  Log4jF
  actory
 
 I tried this already, but it doesn't change anything.
 
 Apparently, log4j is already used by Struts, but my 
 configuration is ignored.  Like there is an appender 
 configured in the java code, or so.  But I hope, this is not 
 the case ?
 
 
 -- 
 Martin
 

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



RE: struts books

2003-03-28 Thread Mark Galbreath
1.1b-1, but I'm developing an app right now using 1.1rc1 and still find
Chuck Cavaness' Programming Jakarta Struts (O'Reilly 2003) extremely
useful.  In fact, it's opened on my desk right now.

Mark

-Original Message-
From: Butt, Dudley [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 28, 2003 8:06 AM
To: '[EMAIL PROTECTED]'
Subject: struts books


Hi,

Just wanted to ask how current the struts books are, as listed on the struts
jakarta page, with respect to the latest version of struts???

thanx


NOTICE: 

This message contains privileged and confidential information intended 
only for the person or entity to which it is addressed. 
Any review, retransmission, dissemination, copy 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 message in error, please notify the sender 
immediately by e-mail, facsimile or telephone and thereafter delete the 
material from any computer. 

The New Africa Capital Group, its subsidiaries or associates do not 
accept liability for any personal views expressed in this message.

-
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: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Mark Galbreath
Not a very good reason for not choosing to learn .NET, but at least you
didn't choose some pinko-fascist AI language like LISP.

Mark

C/Fast CGI Rulez!!!

-Original Message-
From: Rachel [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 28, 2003 7:19 AM

I'm getting fewer requests for ASP stuff these days (which is good!) I made 
the decision to move to Java rather than go for .NET (didn't want to be 
tied to Windows) and so learning Struts is part of that plan ... I'm just 
finding there is an awful lot to learn!

Rachel



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



RE: [OT] Contract Work: Going Rate?

2003-03-28 Thread Sterin, Ilya
I'm still not understanding why you are having problems believing those
rates?

Here, an average IT employee salary for full time staff employee, is
$30+/hour.  An employer, spends about another 20% on benefits, madical,
dental, etc...  So the employer, really faces about a $36-$40 average
expense on an employee.  Now, if this contract is say 1 year or less, then
there is a drawback of having someone stay, when they are not needed after
the work is done.

Now, $40 dollars, is just per employee expense.  Now, each employer has to
pay FICA tax, for each on staff employee, which is about 15% more.  So now
were are up to about the $50 round about figure per hour.  Lets see, then
there is office expenses, etc... so the figure is getting higher and higher
and that's just the average.

Now, an average rate for a contractor is about $50, which actually saves the
company money, for outsourcing it, then also allows them to only be billed
for hours as needed, so if one week there is a break, and no work is done,
there is no bill, at least some of the time, since as we know, consultants
always find ways to bill:-)

Now, getting to higher figures of say $75/hour-$150/hour, those are usually
for expert consultants.  Say, I know people who've written books on the
subject, and they have the credibility to charge that much, etc...  Also
past experience, thorough knowledge of technology, being a core team
developer of this particular technology or similar ranking.  Also, most of
those rates are for shorter term projects.

I hope this helps you understand this a bit better.  An averag McDonald's
employee is costing the company about $25/hour, so if the burger flipper was
smart, he or she would break a deal of $20/hour and call it a day:-)

Ilya


-Original Message-
From: Andrew Hill
To: Struts Users Mailing List
Sent: 3/27/03 9:02 PM
Subject: RE: [OT] Contract Work: Going Rate?

Half right. :-)

I guess low is a distinctly relative term. Especially when comparing
apples  oranges (or salary  contract) ;-.

Rates here may be low compared to US or UK contract rates (are they
really so high?  - still have trouble believing those figures!), but as
for those in India, Russia, etc... they would get a fraction of the
going rate here, and there are probably folk doing the same stuff
elsewhere who get even less. 

-Original Message-
From: Scott Barr [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 07:44
To: Struts Users Mailing List
Subject: RE: [OT] Contract Work: Going Rate?



Yeah, but we both (i think Andrew is an Aussie) live in Australia. Land
of low wages 

Scott
www.exergonic.com.au

On Fri, 2003-03-28 at 06:26, Sterin, Ilya wrote: 
30*3000 is more than your whole entire career earnings?  Where are you
from?
India? Russia?

In US that's an average developer contract salary, and $30/hour is a
charge
that most contractors will laugh at here.

Ilya

-Original Message-
From: Andrew Hill
To: Struts Users Mailing List
Sent: 3/27/03 1:32 AM
Subject: RE: [OT] Contract Work: Going Rate?

These are USD per HOUR?

Crikey! You could retire after a couple of years on that!
Nah that cant be right. I did a bit under 3000 hours last year, multiply
by
30 and convert to local currency adds up to more than Ive earned in my
whole
working life (4+ years). A lot more...

Are those fair dinkum rates or are you just having us on?

Five weeks holiday??? OT pay???

Yeh. Thought so. Its a joke. hehe. You had me going there mate!

-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]
Sent: Thursday, 27 March 2003 16:08
To: Struts Users Mailing List
Subject: Re: [OT] Contract Work: Going Rate?


These are some going full time rates for a London based e-learning
company,
for an average of 1880 hrs worked in one year (Five weeks holiday not
included in the figures, but you'd get the same rate).  The company pays
OT
on projects that need it, but actually limit the number of hours in a
week
that an employee can be in the office. (Something about a work/life
balance,
whatver than means :-)

All in US dollars (converted from blighty pounds)

Grade one (Whipping boy) - 30$
Grade two (Code monkey) - 40$
Grade three (Designer) - 55$
Grade four (Architect) - 90$
Grade five (Senior Architect) - 150$

These don't include the options and bonuses (last xmas bonus ranged from
500$ to 6000$) and the OT isn't in there (Usually 1.5*hourly
week-day/sat --
2*hourly sun).

Contractor have to pay all the insurance and stuff, so I'd dap about
22-40%
on top of each of these + a little extra if your gonna have to live in
an
expensive part of town.

NOTE to the lawer.  It only becomes illegal if it can be proven that we
have
set a level of pay *and* have all agreed to follow this level.  If
you've
been on here long enough, you'd know *noone* ever agrees about
anything!!
=]:0)

Good luck with the job, I hear California is nice this time of year!!

Cheers

Simon


-
To 

Re: struts books

2003-03-28 Thread Jamesey
Ted Husted.. Struts in Action..

by far the best of all the books


Butt, Dudley [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

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



RE: [OT] Contract Work: Going Rate?

2003-03-28 Thread Brian Lee
An employer's FICA contribution is only 7.5% (the employee pays the other 
7.5%).

BAL

From: Sterin, Ilya [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Andrew Hill ' [EMAIL PROTECTED], 'Struts Users Mailing 
List ' [EMAIL PROTECTED]
Subject: RE: [OT] Contract Work: Going Rate?
Date: Fri, 28 Mar 2003 07:03:58 -0700

I'm still not understanding why you are having problems believing those
rates?
Here, an average IT employee salary for full time staff employee, is
$30+/hour.  An employer, spends about another 20% on benefits, madical,
dental, etc...  So the employer, really faces about a $36-$40 average
expense on an employee.  Now, if this contract is say 1 year or less, then
there is a drawback of having someone stay, when they are not needed after
the work is done.
Now, $40 dollars, is just per employee expense.  Now, each employer has to
pay FICA tax, for each on staff employee, which is about 15% more.  So now
were are up to about the $50 round about figure per hour.  Lets see, then
there is office expenses, etc... so the figure is getting higher and higher
and that's just the average.
Now, an average rate for a contractor is about $50, which actually saves 
the
company money, for outsourcing it, then also allows them to only be billed
for hours as needed, so if one week there is a break, and no work is done,
there is no bill, at least some of the time, since as we know, consultants
always find ways to bill:-)

Now, getting to higher figures of say $75/hour-$150/hour, those are usually
for expert consultants.  Say, I know people who've written books on the
subject, and they have the credibility to charge that much, etc...  Also
past experience, thorough knowledge of technology, being a core team
developer of this particular technology or similar ranking.  Also, most of
those rates are for shorter term projects.
I hope this helps you understand this a bit better.  An averag McDonald's
employee is costing the company about $25/hour, so if the burger flipper 
was
smart, he or she would break a deal of $20/hour and call it a day:-)

Ilya

-Original Message-
From: Andrew Hill
To: Struts Users Mailing List
Sent: 3/27/03 9:02 PM
Subject: RE: [OT] Contract Work: Going Rate?
Half right. :-)

I guess low is a distinctly relative term. Especially when comparing
apples  oranges (or salary  contract) ;-.
Rates here may be low compared to US or UK contract rates (are they
really so high?  - still have trouble believing those figures!), but as
for those in India, Russia, etc... they would get a fraction of the
going rate here, and there are probably folk doing the same stuff
elsewhere who get even less.
-Original Message-
From: Scott Barr [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 07:44
To: Struts Users Mailing List
Subject: RE: [OT] Contract Work: Going Rate?


Yeah, but we both (i think Andrew is an Aussie) live in Australia. Land
of low wages
Scott
www.exergonic.com.au
On Fri, 2003-03-28 at 06:26, Sterin, Ilya wrote:
30*3000 is more than your whole entire career earnings?  Where are you
from?
India? Russia?
In US that's an average developer contract salary, and $30/hour is a
charge
that most contractors will laugh at here.
Ilya

-Original Message-
From: Andrew Hill
To: Struts Users Mailing List
Sent: 3/27/03 1:32 AM
Subject: RE: [OT] Contract Work: Going Rate?
These are USD per HOUR?

Crikey! You could retire after a couple of years on that!
Nah that cant be right. I did a bit under 3000 hours last year, multiply
by
30 and convert to local currency adds up to more than Ive earned in my
whole
working life (4+ years). A lot more...
Are those fair dinkum rates or are you just having us on?

Five weeks holiday??? OT pay???

Yeh. Thought so. Its a joke. hehe. You had me going there mate!

-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]
Sent: Thursday, 27 March 2003 16:08
To: Struts Users Mailing List
Subject: Re: [OT] Contract Work: Going Rate?
These are some going full time rates for a London based e-learning
company,
for an average of 1880 hrs worked in one year (Five weeks holiday not
included in the figures, but you'd get the same rate).  The company pays
OT
on projects that need it, but actually limit the number of hours in a
week
that an employee can be in the office. (Something about a work/life
balance,
whatver than means :-)
All in US dollars (converted from blighty pounds)

Grade one (Whipping boy) - 30$
Grade two (Code monkey) - 40$
Grade three (Designer) - 55$
Grade four (Architect) - 90$
Grade five (Senior Architect) - 150$
These don't include the options and bonuses (last xmas bonus ranged from
500$ to 6000$) and the OT isn't in there (Usually 1.5*hourly
week-day/sat --
2*hourly sun).
Contractor have to pay all the insurance and stuff, so I'd dap about
22-40%
on top of each of these + a little extra if your gonna have to live in
an
expensive part of town.
NOTE to the lawer.  It only becomes illegal if it can be proven 

Re: Actions based on Role

2003-03-28 Thread Mark Zeltser
Mike,

I have it up and running. The link to source was provided by Dan:
http://securityfilter.sourceforge.net/, click on Files link on the bottom.

Search archives, there is an example of setting it up using catalina
JDBCRealm. Very little work is required to get it up and running and makes
it tables driven and container independant.

Mark.

Mike Duffy wrote:

 Mark,

 Do you have experience with security filter?  Have you examined the
 source code?

 I went to SourceForge to get the download.  There was a JAR but no
 source except for a limited implementation class.

 I would not want to implement a security filter without seeing the
 source.

 Can anyone tell me where to find the source?

 Mike

 --- Mark Zeltser [EMAIL PROTECTED] wrote:
  Siva,
 
  Take a look at authentication provided by web container. One of the
  reasons to
  use your own authentication is to make it deployable on any
  container. However,
  you can use securityfilter to make this transparent.
 
  Suggestion: search the archives on security/securityfilter. Spend
  some time
  understanding provided authentication mechanism. Usually, there is
  no need to
  reinvent the wheel.
 
  Mark.
 
 
  Jagadeesan,Sivakumar wrote:
 
   Mark:
  
   It is a very simple system. The user logs into the system. The
  user role is
   based on the what kind of membership that user is in. So the role
  for a user
   will keep changing. So the only place I thought I could map the
  user to role
   is in database. So it will be pure business logic rather then
  something I do
   in deployment time.
  
   If I am wrong in my approach pls let me know how I could do this
  thanx
  
   --Siva Jagadeesan
  
   -Original Message-
   From: Mark Zeltser [mailto:[EMAIL PROTECTED]
   Sent: Thursday, March 27, 2003 5:02 PM
   To: Struts Users Mailing List
   Subject: Re: Actions based on Role
  
   Why do you want to have your own authentication system?
  
   Mark.
  
   Jagadeesan,Sivakumar wrote:
  
I guess I have to do that way
So I have manually chk every time whether that user is
  authorized to
   access
this Action, rather then having it in struts-config.xml which
  is more
configurable
   
-Original Message-
From: Edgar Dollin [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 4:55 PM
To: 'Struts Users Mailing List'
Subject: RE: Actions based on Role
   
If you use a filter, to filter actions based on role, the
  action wouldn't
have to know about security.  If your authentication sticks the
  user
information into the session, the action could make decisions
  based on the
user information.
   
Edgar
   
 -Original Message-
 From: Jagadeesan,Sivakumar
 [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 27, 2003 3:50 PM
 To: 'Struts Users Mailing List'
 Subject: Actions based on Role


 I have web application where users could of three types
  (Roles)

 1) Basic User
 2) Silver User
 3) Gold User

 According to Type / Role of user some actions could be
 performed or not performed.

 I could set in my stuts-config.xml, the role based access in
 Action Element

 I am having my own authentication System that uses the
 database . The User table has the userName and also the Role.

 I am not sure how could I create a Role that the Action is
 expecting , if I am using my own authentication

 Thanx
 --Siva Jagadeesan

   
   
 
 -
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]
  
   --
   NOTICE: If received in error, please destroy and notify sender.
  Sender does
   not waive confidentiality or privilege, and use is prohibited.
  
  
 
 -
   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]
 
  --
  NOTICE: If received in error, please destroy and notify sender.
  Sender does not
  waive confidentiality or privilege, and use is prohibited.
 
 
 
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
 

 __
 Do you Yahoo!?
 Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
 http://platinum.yahoo.com

 -
 To 

Generic Centralized Login System

2003-03-28 Thread Navjot Singh
Hi Guys,

I have implemented the solution for my app the way i wanted. This is little
bit tightly integrated into Struts but if am using Struts only then who is
worried :-)

However, i have also looked into Contained managed security after looking at
the suggestions as posted by some good guys. This seems to be pretty good
solution but i will keep it as a reserver for admin operations.

At Frontend, i need to have little more information in HttpSession than just
Principal.

Anyway, i will try to look into JAAS sometime. That seems to be quite a
solution.

regards
Navjt Singh

 | Hi List,
 |
 | I want to build some kind of generic login system for my app and I am
 | thinking on these lines
 |
 | Request Flow
 | ==
 | test.jsp - TestAction - login.jsp - LoginAction - test.jsp
 |  |
 |  AuthCheck
 |
 | Problem
 | ==
 | test.jsp and login.jsp and under **different modules**. When
 | TestAction.class return ActionForward for login.jsp,
 | Struts generate an error Action Not Found for /Login.  [ This is
action
 | defined in login.jsp]
 |
 | Which is genuinely right from Struts perspective as request is till
under
 | test module so
 | it tried to find **/Login action mapping** from that **test-config.xml**
 | file.
 |
 | + Have someone faced any problem like this before?
 | + If you think there is better solution, pls let me know.
 |
 | + I am thinking of going RequestDisptacher way on top of Struts
 | ActionForward. Will that be OK?
 |When AuthCheck returns __login failure__ , i can use request
disptacher
 | to forward request to login.jsp.
 |
 | regards
 | Navjot Singh
 |
 |
 | -
 | 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: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Rachel
At 09:05 28/03/2003 -0500, you wrote:
Not a very good reason for not choosing to learn .NET
its mainly a business decision as the majority of clients I have and new 
requests coming in are stating that they do not wish to use MS technology, 
this has increased in the last year. Also, as whichever way I chose meant 
learning something new, moving to Java simply appealed more than to .NET 
(and I've had experience of both now and think I made the right choice .. 
for me anyway)

not wanting to start an OS war ;) I have Solaris, Linux and Windows boxes 
here and they all have their uses ...

Rachel







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


Re: Imbeding a struts tag in another ?

2003-03-28 Thread Jean-Michel Auguste
Thanks for your help. This is exactly what I was looking for (but I could
not found because I was using Struts 1.0)

- Original Message -
From: apachep2 [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 18:38
Subject: RE: Imbeding a struts tag in another ?


 idName is the name of that bean

 html:radio idName=obj value=prop property=selection/

 -Original Message-
 From: Jean-Michel Auguste [mailto:[EMAIL PROTECTED]
 Sent: March 27, 2003 12:25 PM
 To: [EMAIL PROTECTED]
 Subject: Imbeding a struts tag in another ?

 Hi,

 I'm having the following problem.
 I need to display a radio button in a Jsp but the attribute value of
 this radio button must be set with the property of a bean located in the
 request.
 How can I code that using struts tags only ?

 I tried the following but does not work.

 html:radio property=selection value=bean:write name=obj
 property=prop  /  /

 Any idea ?
 Thanks

 Jean-Michel Auguste

 -
 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] Contract Work: Going Rate?

2003-03-28 Thread apachep2
Have you guys ever think of a situation, when a developer loses his job
for a while, he will take whatever contract it is and being paid
whatever the employer will offer? In this economy condition, supply of
developers always exceeds demanding. I see seniors applying for an entry
level job.

-Original Message-
From: Sterin, Ilya [mailto:[EMAIL PROTECTED] 
Sent: March 28, 2003 9:04 AM
To: 'Andrew Hill '; 'Struts Users Mailing List '
Subject: RE: [OT] Contract Work: Going Rate?

I'm still not understanding why you are having problems believing those
rates?

Here, an average IT employee salary for full time staff employee, is
$30+/hour.  An employer, spends about another 20% on benefits, madical,
dental, etc...  So the employer, really faces about a $36-$40 average
expense on an employee.  Now, if this contract is say 1 year or less,
then
there is a drawback of having someone stay, when they are not needed
after
the work is done.

Now, $40 dollars, is just per employee expense.  Now, each employer has
to
pay FICA tax, for each on staff employee, which is about 15% more.  So
now
were are up to about the $50 round about figure per hour.  Lets see,
then
there is office expenses, etc... so the figure is getting higher and
higher
and that's just the average.

Now, an average rate for a contractor is about $50, which actually saves
the
company money, for outsourcing it, then also allows them to only be
billed
for hours as needed, so if one week there is a break, and no work is
done,
there is no bill, at least some of the time, since as we know,
consultants
always find ways to bill:-)

Now, getting to higher figures of say $75/hour-$150/hour, those are
usually
for expert consultants.  Say, I know people who've written books on the
subject, and they have the credibility to charge that much, etc...  Also
past experience, thorough knowledge of technology, being a core team
developer of this particular technology or similar ranking.  Also, most
of
those rates are for shorter term projects.

I hope this helps you understand this a bit better.  An averag
McDonald's
employee is costing the company about $25/hour, so if the burger flipper
was
smart, he or she would break a deal of $20/hour and call it a day:-)

Ilya


-Original Message-
From: Andrew Hill
To: Struts Users Mailing List
Sent: 3/27/03 9:02 PM
Subject: RE: [OT] Contract Work: Going Rate?

Half right. :-)

I guess low is a distinctly relative term. Especially when comparing
apples  oranges (or salary  contract) ;-.

Rates here may be low compared to US or UK contract rates (are they
really so high?  - still have trouble believing those figures!), but as
for those in India, Russia, etc... they would get a fraction of the
going rate here, and there are probably folk doing the same stuff
elsewhere who get even less. 

-Original Message-
From: Scott Barr [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 07:44
To: Struts Users Mailing List
Subject: RE: [OT] Contract Work: Going Rate?



Yeah, but we both (i think Andrew is an Aussie) live in Australia. Land
of low wages 

Scott
www.exergonic.com.au

On Fri, 2003-03-28 at 06:26, Sterin, Ilya wrote: 
30*3000 is more than your whole entire career earnings?  Where are you
from?
India? Russia?

In US that's an average developer contract salary, and $30/hour is a
charge
that most contractors will laugh at here.

Ilya

-Original Message-
From: Andrew Hill
To: Struts Users Mailing List
Sent: 3/27/03 1:32 AM
Subject: RE: [OT] Contract Work: Going Rate?

These are USD per HOUR?

Crikey! You could retire after a couple of years on that!
Nah that cant be right. I did a bit under 3000 hours last year, multiply
by
30 and convert to local currency adds up to more than Ive earned in my
whole
working life (4+ years). A lot more...

Are those fair dinkum rates or are you just having us on?

Five weeks holiday??? OT pay???

Yeh. Thought so. Its a joke. hehe. You had me going there mate!

-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]
Sent: Thursday, 27 March 2003 16:08
To: Struts Users Mailing List
Subject: Re: [OT] Contract Work: Going Rate?


These are some going full time rates for a London based e-learning
company,
for an average of 1880 hrs worked in one year (Five weeks holiday not
included in the figures, but you'd get the same rate).  The company pays
OT
on projects that need it, but actually limit the number of hours in a
week
that an employee can be in the office. (Something about a work/life
balance,
whatver than means :-)

All in US dollars (converted from blighty pounds)

Grade one (Whipping boy) - 30$
Grade two (Code monkey) - 40$
Grade three (Designer) - 55$
Grade four (Architect) - 90$
Grade five (Senior Architect) - 150$

These don't include the options and bonuses (last xmas bonus ranged from
500$ to 6000$) and the OT isn't in there (Usually 1.5*hourly
week-day/sat --
2*hourly sun).

Contractor have to pay all the insurance and stuff, so I'd dap about
22-40%

Re: struts books

2003-03-28 Thread Puneet Agarwal

I too have been reading Struts in Action for some time now, but at some
places the language is too bad...but the errata on manning.com helps ...

I have also read O'Reilly Struts, and think undoubtably Struts in Aciton
is much much better.

Another popular one of the lot is Struts Kick Start


Regards,
Puneet Agarwal
Ext: 1031

Struts ... Action ... Struts in Action ... Action in Struts ... Action
with Struts ...


   
  
Jamesey  
  
[EMAIL PROTECTED]To: [EMAIL PROTECTED]

tmail.com cc: 
  
   Subject: Re: struts books   
  
03/28/03 07:33 
  
PM 
  
Please respond 
  
to Struts 
  
Users Mailing  
  
List  
  
   
  
   
  




Ted Husted.. Struts in Action..

by far the best of all the books


Butt, Dudley [EMAIL PROTECTED] wrote in message
news:[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] Contract Work: Going Rate?

2003-03-28 Thread Andrew Hill
Thats very much the case over here.

People with several years experience elbowing out grads for the $2000 to
$3000 a month (Thats 1100 - 1700 $USD approx (which is more than it was last
week hehe)) positions (that used to be entry positions - but theres none of
those now) and not just in IT...

And one in two taxi drivers I meet seems to have been an engineer only a few
months before...
(The other one usually being some old codger whose been driving cabs since
Model T's were all the rage)

-Original Message-
From: apachep2 [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 22:51
To: 'Struts Users Mailing List'
Subject: RE: [OT] Contract Work: Going Rate?


Have you guys ever think of a situation, when a developer loses his job
for a while, he will take whatever contract it is and being paid
whatever the employer will offer? In this economy condition, supply of
developers always exceeds demanding. I see seniors applying for an entry
level job.

-Original Message-
From: Sterin, Ilya [mailto:[EMAIL PROTECTED]
Sent: March 28, 2003 9:04 AM
To: 'Andrew Hill '; 'Struts Users Mailing List '
Subject: RE: [OT] Contract Work: Going Rate?

I'm still not understanding why you are having problems believing those
rates?

Here, an average IT employee salary for full time staff employee, is
$30+/hour.  An employer, spends about another 20% on benefits, madical,
dental, etc...  So the employer, really faces about a $36-$40 average
expense on an employee.  Now, if this contract is say 1 year or less,
then
there is a drawback of having someone stay, when they are not needed
after
the work is done.

Now, $40 dollars, is just per employee expense.  Now, each employer has
to
pay FICA tax, for each on staff employee, which is about 15% more.  So
now
were are up to about the $50 round about figure per hour.  Lets see,
then
there is office expenses, etc... so the figure is getting higher and
higher
and that's just the average.

Now, an average rate for a contractor is about $50, which actually saves
the
company money, for outsourcing it, then also allows them to only be
billed
for hours as needed, so if one week there is a break, and no work is
done,
there is no bill, at least some of the time, since as we know,
consultants
always find ways to bill:-)

Now, getting to higher figures of say $75/hour-$150/hour, those are
usually
for expert consultants.  Say, I know people who've written books on the
subject, and they have the credibility to charge that much, etc...  Also
past experience, thorough knowledge of technology, being a core team
developer of this particular technology or similar ranking.  Also, most
of
those rates are for shorter term projects.

I hope this helps you understand this a bit better.  An averag
McDonald's
employee is costing the company about $25/hour, so if the burger flipper
was
smart, he or she would break a deal of $20/hour and call it a day:-)

Ilya


-Original Message-
From: Andrew Hill
To: Struts Users Mailing List
Sent: 3/27/03 9:02 PM
Subject: RE: [OT] Contract Work: Going Rate?

Half right. :-)

I guess low is a distinctly relative term. Especially when comparing
apples  oranges (or salary  contract) ;-.

Rates here may be low compared to US or UK contract rates (are they
really so high?  - still have trouble believing those figures!), but as
for those in India, Russia, etc... they would get a fraction of the
going rate here, and there are probably folk doing the same stuff
elsewhere who get even less.

-Original Message-
From: Scott Barr [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 07:44
To: Struts Users Mailing List
Subject: RE: [OT] Contract Work: Going Rate?



Yeah, but we both (i think Andrew is an Aussie) live in Australia. Land
of low wages

Scott
www.exergonic.com.au

On Fri, 2003-03-28 at 06:26, Sterin, Ilya wrote:
30*3000 is more than your whole entire career earnings?  Where are you
from?
India? Russia?

In US that's an average developer contract salary, and $30/hour is a
charge
that most contractors will laugh at here.

Ilya

-Original Message-
From: Andrew Hill
To: Struts Users Mailing List
Sent: 3/27/03 1:32 AM
Subject: RE: [OT] Contract Work: Going Rate?

These are USD per HOUR?

Crikey! You could retire after a couple of years on that!
Nah that cant be right. I did a bit under 3000 hours last year, multiply
by
30 and convert to local currency adds up to more than Ive earned in my
whole
working life (4+ years). A lot more...

Are those fair dinkum rates or are you just having us on?

Five weeks holiday??? OT pay???

Yeh. Thought so. Its a joke. hehe. You had me going there mate!

-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]
Sent: Thursday, 27 March 2003 16:08
To: Struts Users Mailing List
Subject: Re: [OT] Contract Work: Going Rate?


These are some going full time rates for a London based e-learning
company,
for an average of 1880 hrs worked in one year (Five weeks holiday not
included in the figures, but 

tags within tags i18n

2003-03-28 Thread Vivian, Nigel (N.)
Hi all

Im trying to i18n an application and am using the standard 
bean:message key=myKey/ tag.  Everything works OK

but

i want to write something like
html:link title=bean:message key='myKey'/...forward= ... /

and this just put in the quoted string without any substitution (ive tried a few 
variants on the quotation marks but often get messages about the bean not being found)

I ve tried
bean:define name=MessageResources id=myVar property=myKey 
type=java.lang.String.../
and then
html:link title=%=myVar%...forward= ... /

but all I get is an exception saying that the MessageResources bean 
cannot be found in any scope

and

bean:define id=myVar type java.lang.String
bean:message key=myKey/
/bean:define

now I get hashmap is null (essentially)

So can anyone think of a method that works using any of these 
methods or something else or do I have to resort to getting the 
MessageResources bundle myself in scriptlet?

Oh and if I do that *how* do I do that?

I'm using iPlanet 6.0 service pack 1
jdk 1.2.2
struts 1.0.2

I may be able to change to struts 1.1 but its not known yet. I cannot change the 
server - I think that means that I cant use struts-el whatever that is because of the 
Sevlet specification level.

Nigel Vivian


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



RE: how to switch of logging with log4j at initialization

2003-03-28 Thread Niesen, Nathan

There is a bug in commons-logging 1.0.2+ that causes log4j to be used if
it's found in the classpath.  Just remove the log4j jar from your webapps
lib dir.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17561

There is also a bug in the commons-logging nightly build, which is what the
current Struts build uses, that causes the commons-logging.properties to be
ignored.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17894

Nathan.

 -Original Message-
From:   Edgar Dollin [mailto:[EMAIL PROTECTED] 
Sent:   Friday, March 28, 2003 7:39 AM
To: 'Martin Monsorno'; 'Struts Users Mailing List'
Subject:RE: how to switch of logging with log4j at initialization

In commons-logging.properties (somewhere on the classpath) I have these two
lines


org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JCategory
Log

org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jF
actory

I forget what they are both for but commons-logging always seems to find the
log4j configuration.

Edgar

 -Original Message-
 From: Martin Monsorno [mailto:[EMAIL PROTECTED] 
 Sent: Friday, March 28, 2003 3:04 AM
 To: 'Struts Users Mailing List'
 Subject: Re: how to switch of logging with log4j at initialization
 
 
 COMPAGNON GUILLAUME [EMAIL PROTECTED] writes:
 
  according to me (as the simplest way), you need to have a 
  commons-logging.propeties file with 
  
 org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.
  Log4jF
  actory
 
 I tried this already, but it doesn't change anything.
 
 Apparently, log4j is already used by Struts, but my 
 configuration is ignored.  Like there is an appender 
 configured in the java code, or so.  But I hope, this is not 
 the case ?
 
 
 -- 
 Martin
 

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



question about logic:equal

2003-03-28 Thread Eugene Volynskiy
Hi,

I have question about usage logic:equal inside logic:iterate. I am
trying to do the following:
...
 logic:iterate id=currency
collection=%=hashData.get(currency)%
   logic:equal name=instrument property=currency
value='bean:write name=currency property=code/'
...
   /logic:equal
 ...
/logic:iterate
...

I definitely have value in bean:write name=currency property=code/,
but logic:equal refuses to work when value there is set with
bean:write, however it works fine if ve have some constant or jsp variable
there, but I need it to be work with value from the loop presented by
logic:iterate. 
Your suggestions will be deeply appreciated.

Thanks,

Eugene


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



RE: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Chen, Gin
Pinko-Fascist?

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 9:06 AM
To: 'Struts Users Mailing List'
Subject: RE: [FRIDAY]Re: Just let me be the first to say...


Not a very good reason for not choosing to learn .NET, but at least you
didn't choose some pinko-fascist AI language like LISP.

Mark

C/Fast CGI Rulez!!!

-Original Message-
From: Rachel [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 28, 2003 7:19 AM

I'm getting fewer requests for ASP stuff these days (which is good!) I made 
the decision to move to Java rather than go for .NET (didn't want to be 
tied to Windows) and so learning Struts is part of that plan ... I'm just 
finding there is an awful lot to learn!

Rachel



-
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: question about logic:equal

2003-03-28 Thread Eugene Volynskiy
Could you please provide me with more details:

if I define variable with bean:define id=x value=SELECTED/
Do we have any other way to call this x except bean:write name=x/ ?

Thank you

-Original Message-
From: apachep2 [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 10:42 AM
To: 'Struts Users Mailing List'
Subject: RE: question about logic:equal


Can we embed struts tag inside struts tag? No. So try struts-el or
bean:define

-Original Message-
From: Eugene Volynskiy [mailto:[EMAIL PROTECTED] 
Sent: March 28, 2003 10:10 AM
To: 'Struts Users Mailing List'
Subject: question about logic:equal

Hi,

I have question about usage logic:equal inside logic:iterate. I am
trying to do the following:
...
 logic:iterate id=currency
collection=%=hashData.get(currency)%
   logic:equal name=instrument property=currency
value='bean:write name=currency property=code/'
...
   /logic:equal
 ...
/logic:iterate
...

I definitely have value in bean:write name=currency
property=code/,
but logic:equal refuses to work when value there is set with
bean:write, however it works fine if ve have some constant or jsp
variable
there, but I need it to be work with value from the loop presented by
logic:iterate. 
Your suggestions will be deeply appreciated.

Thanks,

Eugene


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



Accessing query string parameter

2003-03-28 Thread Pat Young
I need to be able to access a parameter from a query
string.  

My url looks like...
http://localhost:8080/myApp/reports/summaryReport.jsp?reportType=print

I need to be able to access the reportType parameter
from this URL.  What is the best way to do this?

Pat Young

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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



RE: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Bueno Carlos M
I have Solaris, Linux and Windows boxes here and they all have their uses
...
Me too: expense write-off, real work, and doorstop, respectively.

-Original Message-
From: Rachel [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 9:50 AM
To: Struts Users Mailing List
Subject: RE: [FRIDAY]Re: Just let me be the first to say...


At 09:05 28/03/2003 -0500, you wrote:
Not a very good reason for not choosing to learn .NET

its mainly a business decision as the majority of clients I have and new 
requests coming in are stating that they do not wish to use MS technology, 
this has increased in the last year. Also, as whichever way I chose meant 
learning something new, moving to Java simply appealed more than to .NET 
(and I've had experience of both now and think I made the right choice .. 
for me anyway)

not wanting to start an OS war ;) I have Solaris, Linux and Windows boxes 
here and they all have their uses ...

Rachel








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


Re: [Tiles-Definitions] can't find bean in request.

2003-03-28 Thread Joel Wickard


Cedric Dumoulin wrote:

 Hi,

 The definition from the tiles file are stored in the factory.
 You should use the following to insert a definition:
tiles:insert name=admin /
the above method of trying to insert the predefined defs results in the 
following exception when I try to view the page.

java.lang.NullPointerException
at org.apache.struts.taglib.tiles.InsertTag.processName(InsertTag.java:527)
at 
org.apache.struts.taglib.tiles.InsertTag.createTagHandler(InsertTag.java:486)
at org.apache.struts.taglib.tiles.InsertTag.doStartTag(InsertTag.java:444)
at 
org.apache.jsp.employeeLanding_jsp._jspx_meth_tiles_insert_0(employeeLanding_jsp.java:75)
at org.apache.jsp.employeeLanding_jsp._jspService(employeeLanding_jsp.java:54)


 Check the tag syntax :-)

 Cedric

Joel Wickard wrote:

Here's the first few lines of the root cause of the exception I'm 
getting:

root cause

javax.servlet.ServletException: Error - Tag Insert : No value defined 
for bean 'admin' with property 'null' in scope 'request'.
at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:494) 

at 
org.apache.jsp.employeeLanding_jsp._jspService(employeeLanding_jsp.java:59) 

at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

Here's my web.xml entries:

 taglib
   taglib-uri/WEB-INF/struts-tiles/taglib-uri
   taglib-location/WEB-INF/struts-tiles.tld/taglib-location
 /taglib
Here's my struts-config entries:

 plug-in className=org.apache.struts.tiles.TilesPlugin 
   set-property property=definitions-config 
value=/WEB-INF/tiles-defs.xml /
   set-property property=definitions-debug value=2 /
 /plug-in

Here's my tiles-defs.xml entries:

tiles-definitions
   definition name=admin 
path=/admin/templates/backendMain.jsp   put 
name=page-title value=QuatraData :: Default /
   put name=logo-content value=/logoDefault.jsp /
   put name=menu-layout value=/menuBar.jsp / /definition
/tiles-definitions



Here's the page I'm trying to use the template in:

[EMAIL PROTECTED] contentType=text/html%
%@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles %
tiles:insert beanName=admin beanScope=request/

( what I'm trying to do is just have a page that uses all the 
defaults specified in tiles-defs, that's why I have no put tags )

Here's the template itself:

[EMAIL PROTECTED] contentType=text/html%
%@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles %
html
head
titletiles:getAsString name=page-title //title
   script language=Javascript
function launchTimeClock(){
   window.open( ./timeclock/timeClock.jsp, puchClock, 
resizeable=no, height=170, width=230);
   }

   /script
/head
body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 
bgcolor=#CC onLoad=launchTimeClock();
table cellspacing=0 cellpadding=0 border=0
tr
td width=300
!-- Logo Content --
   tiles:insert name=logo-content /
/td
td valign=top
tiles:insert name=menu-layout /
/td /tr
/table
/body
/html



Here's the pages that should be inserted:

logoDefault.jsp:

I am a logo

menuBar.jsp:

My Menu Bar



If I don't use definition, if I just use a template and then manually 
use tiles:put, it works fine.

Any help would be great,  I can supply any other requested information.





-
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: Accessing query string parameter

2003-03-28 Thread James Mitchell
On Fri, 2003-03-28 at 10:57, Pat Young wrote:
 I need to be able to access a parameter from a query
 string.  
 
 My url looks like...
 http://localhost:8080/myApp/reports/summaryReport.jsp?reportType=print
 
 I need to be able to access the reportType parameter
 from this URL.  What is the best way to do this?

http://jakarta.apache.org/struts/userGuide/struts-bean.html#parameter

 
 Pat Young
 
 __
 Do you Yahoo!?
 Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
 http://platinum.yahoo.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org




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



RE: question about logic:equal

2003-03-28 Thread Wendy Smoak
Eugene wrote:
 Could you please provide me with more details:
 if I define variable with bean:define id=x value=SELECTED/
 Do we have any other way to call this x except bean:write name=x/ ?
 
 logic:iterate id=currency collection=%=hashData.get(currency)%
   logic:equal name=instrument property=currency value='bean:write
name=currency property=code/'
 ...
   /logic:equal
 ...
 /logic:iterate

If I've got it right... 

c:forEach items=${hashData.currency} var=curr
   c:if test=${curr.code == instrument.currency}
  ...display something...
   /c:if
/c:forEach

Once you start needing tags-within-tags, switching to Struts-EL and JSTL
makes life *much* easier!

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management



Re: Accessing query string parameter

2003-03-28 Thread julian green
Try this

String productName = request.getParameter(reportType);

Julian

Pat Young wrote:

I need to be able to access a parameter from a query
string.  

My url looks like...
http://localhost:8080/myApp/reports/summaryReport.jsp?reportType=print
I need to be able to access the reportType parameter
from this URL.  What is the best way to do this?
Pat Young

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.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: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Rasputin

Oi! Political trolling is on the *midweek* Off-topic thread,
not the weekend one! :)

* Chen, Gin [EMAIL PROTECTED] [0320 15:20]:
 Pinko-Fascist?
 
 -Original Message-
 From: Mark Galbreath [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 9:06 AM
 To: 'Struts Users Mailing List'
 Subject: RE: [FRIDAY]Re: Just let me be the first to say...
 
 
 Not a very good reason for not choosing to learn .NET, but at least you
 didn't choose some pinko-fascist AI language like LISP.
 
 Mark
 
 C/Fast CGI Rulez!!!

-- 
Frisbeetarianism, n.:
   The belief that when you die, your soul goes up on the roof and
gets stuck.
Rasputin :: Jack of All Trades - Master of Nuns

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



scaffold ProcessBean returning errors

2003-03-28 Thread Kirby Vandivort
Hello,

I'm using a recent nightly build of struts along with scaffolding and
the struts/contrib scaffolding code.

I've got a process bean that is responsible for updating a user's
password and if the user doesn't enter the same new password twice,
I want to return an error and go back to the same page.

I've tried ProcessResult.addMessage() but that doesn't add an error..
Just a message.

From looking at the code for BaseAction and ProcessAction, the only way
that I'm seeing to actually add an error message is for it to be struts
1.0 and the saveErrors() method being called.

What's the proper procedure for saving an error message for struts 1.1?
Basically, I'm wanting BaseAction.isErrors() to get called in the 
execute() method after executeLogic, but I'm not clear on the proper
way to do this via scaffolding.

Thanks in advance,

-- 

Kirby Vandivort  Theoretical and Computational Biophysics 
Email: [EMAIL PROTECTED]  3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/University of Illinois
Phone: (217) 244-5711405 N. Mathews Ave
Fax  : (217) 244-6078Urbana, IL  61801, USA

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



RE: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Andrew Hill
Hate mail! What are we going to do?
Only pop music can save us now!

-Original Message-
From: Rasputin [mailto:[EMAIL PROTECTED]
Sent: Saturday, 29 March 2003 00:51
To: Struts Users Mailing List
Subject: Re: [FRIDAY]Re: Just let me be the first to say...



Oi! Political trolling is on the *midweek* Off-topic thread,
not the weekend one! :)

* Chen, Gin [EMAIL PROTECTED] [0320 15:20]:
 Pinko-Fascist?
 
 -Original Message-
 From: Mark Galbreath [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 9:06 AM
 To: 'Struts Users Mailing List'
 Subject: RE: [FRIDAY]Re: Just let me be the first to say...
 
 
 Not a very good reason for not choosing to learn .NET, but at least you
 didn't choose some pinko-fascist AI language like LISP.
 
 Mark
 
 C/Fast CGI Rulez!!!

-- 
Frisbeetarianism, n.:
   The belief that when you die, your soul goes up on the roof and
gets stuck.
Rasputin :: Jack of All Trades - Master of Nuns

-
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: Too many session scoped form beans!

2003-03-28 Thread Dan Tran
Nicolas,

Your great suggestion makes me nervous ... It is possible for a hacker to
change the index so big that it can hog the CPU, which busy creating empty
node, for each request.

However, I cant come up with another solution

Any comments? anyone?

-D
- Original Message -
From: Nicolas De Loof [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 5:19 AM
Subject: Re: Too many session scoped form beans!


 Reading my own post I realize this code will throw an
IndexOutOfBoundsException

 You need to put 'empty' datas on the List as needed :

 protected List item;

 public void setItem(int index, Object obj) {
 if (this.item == null) {
 this.item = new ArrayList(index);
 }
 for (int i = this.item.size(); i  index; i++) {
 this.item.add();
 }
 this.item.add(index, obj);
 }

 Nico.

  I think you can use something like this in a request scoped form-bean :
 
 
  protected List item;
 
  public void setItem(int index, Object obj) {
  if (this.item == null) {
  this.item = new ArrayList(index);
  } else {
  this.item.ensureCapacity(index);
  }
  this.item.add(index, obj);
  }
 
  This way, when form-bean population occurs, you will get a new
Collection when needed.
 
  Nico.
 
 
   I'd like to know if it's possible to avoid using to many session
scoped
   form beans.
  
   I have a bean that contains a collection and I use nested:iterate to
   display entry fields on my html:form. When the form is submitted, I
get
   an error in BeanUtils.populate(), because the new bean (when the bean
is
   request scoped) contains an empty collection and populate() tries to
set
   the properties of the elements that existed on the bean of the
previous
   request.
  
   If I change the bean to session scope, everything works fine (because
   now the bean is the same for both requests), but I think it's kind of
   messy to have lots of session scoped beans.
  
   I'd appreciate to have any comments on this subject.
  
   Thanks
  
   Jorge Mascena
  
  
   -
   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]



html:form tag - specify rendered action

2003-03-28 Thread Kuntz, Tim
Is it possible to manually control the rendered form action attribute? 

I am migrating and existing MVC framework to Struts and have the requirement
that the two frameworks run in tandem. The existing framework has a front
servlet that is responsible for user initialization, security, etc... It
then modifies the path and forwards to a view which in my case will be the
Struts application. So the user submits to /legacy/struts.do but Struts
receives /root/legacy/struts.do and the page is /root/legacy/struts.jsp.


The html:form tag  with an action of /struts.do currently sets the action
to /root/legacy/struts.do and I need it to be /legacy/struts.do.

Has anyone else dealt with this issue?

thanks,
tim

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



RE: question about logic:equal

2003-03-28 Thread apachep2
Sorry, not bean:define, you might have to use struts-el or JSTL.

-Original Message-
From: Eugene Volynskiy [mailto:[EMAIL PROTECTED] 
Sent: March 28, 2003 10:49 AM
To: 'Struts Users Mailing List'
Subject: RE: question about logic:equal

Could you please provide me with more details:

if I define variable with bean:define id=x value=SELECTED/
Do we have any other way to call this x except bean:write name=x/
?

Thank you

-Original Message-
From: apachep2 [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 10:42 AM
To: 'Struts Users Mailing List'
Subject: RE: question about logic:equal


Can we embed struts tag inside struts tag? No. So try struts-el or
bean:define

-Original Message-
From: Eugene Volynskiy [mailto:[EMAIL PROTECTED] 
Sent: March 28, 2003 10:10 AM
To: 'Struts Users Mailing List'
Subject: question about logic:equal

Hi,

I have question about usage logic:equal inside logic:iterate. I am
trying to do the following:
...
 logic:iterate id=currency
collection=%=hashData.get(currency)%
   logic:equal name=instrument property=currency
value='bean:write name=currency property=code/'
...
   /logic:equal
 ...
/logic:iterate
...

I definitely have value in bean:write name=currency
property=code/,
but logic:equal refuses to work when value there is set with
bean:write, however it works fine if ve have some constant or jsp
variable
there, but I need it to be work with value from the loop presented by
logic:iterate. 
Your suggestions will be deeply appreciated.

Thanks,

Eugene


-
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: tags within tags i18n

2003-03-28 Thread Dan Tran
try this

snippet
  bean:define id=myVar 
bean:message key=myKey /
  /bean
   html:link title=%=myVar % forward= ... /
/snippet

-D

- Original Message -
From: Vivian, Nigel (N.) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 7:04 AM
Subject: tags within tags i18n


 Hi all

 Im trying to i18n an application and am using the standard
 bean:message key=myKey/ tag.  Everything works OK

 but

 i want to write something like
 html:link title=bean:message key='myKey'/...forward= ... /

 and this just put in the quoted string without any substitution (ive tried
a few variants on the quotation marks but often get messages about the bean
not being found)

 I ve tried
 bean:define name=MessageResources id=myVar property=myKey
 type=java.lang.String.../
 and then
 html:link title=%=myVar%...forward= ... /

 but all I get is an exception saying that the MessageResources bean
 cannot be found in any scope

 and

 bean:define id=myVar type java.lang.String
 bean:message key=myKey/
 /bean:define

 now I get hashmap is null (essentially)

 So can anyone think of a method that works using any of these
 methods or something else or do I have to resort to getting the
 MessageResources bundle myself in scriptlet?

 Oh and if I do that *how* do I do that?

 I'm using iPlanet 6.0 service pack 1
 jdk 1.2.2
 struts 1.0.2

 I may be able to change to struts 1.1 but its not known yet. I cannot
change the server - I think that means that I cant use struts-el whatever
that is because of the Sevlet specification level.

 Nigel Vivian


 -
 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: question about logic:equal

2003-03-28 Thread James Mitchell
On Fri, 2003-03-28 at 12:20, apachep2 wrote:
 Sorry, not bean:define, you might have to use struts-el or JSTL.

No, you had it right the first time (almost).

try this...

 logic:iterate id=currency collection=%=hashData.get(currency)%
   bean:define id=currency_code 
  name=currency 
  property=code/

   logic:equal name=instrument 
property=currency 
   value=%=currency_code%
...
   /logic:equal
...
 /logic:iterate



 
 -Original Message-
 From: Eugene Volynskiy [mailto:[EMAIL PROTECTED] 
 Sent: March 28, 2003 10:49 AM
 To: 'Struts Users Mailing List'
 Subject: RE: question about logic:equal
 
 Could you please provide me with more details:
 
 if I define variable with bean:define id=x value=SELECTED/
 Do we have any other way to call this x except bean:write name=x/
 ?
 
 Thank you
 
 -Original Message-
 From: apachep2 [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 10:42 AM
 To: 'Struts Users Mailing List'
 Subject: RE: question about logic:equal
 
 
 Can we embed struts tag inside struts tag? No. So try struts-el or
 bean:define
 
 -Original Message-
 From: Eugene Volynskiy [mailto:[EMAIL PROTECTED] 
 Sent: March 28, 2003 10:10 AM
 To: 'Struts Users Mailing List'
 Subject: question about logic:equal
 
 Hi,
 
 I have question about usage logic:equal inside logic:iterate. I am
 trying to do the following:
 ...
logic:iterate id=currency
 collection=%=hashData.get(currency)%
  logic:equal name=instrument property=currency
 value='bean:write name=currency property=code/'
   ...
  /logic:equal
...
   /logic:iterate
 ...
 
 I definitely have value in bean:write name=currency
 property=code/,
 but logic:equal refuses to work when value there is set with
 bean:write, however it works fine if ve have some constant or jsp
 variable
 there, but I need it to be work with value from the loop presented by
 logic:iterate. 
 Your suggestions will be deeply appreciated.
 
 Thanks,
 
 Eugene
 
 
 -
 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]
-- 
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org




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



Re: [OT] Contract Work: Going Rate?

2003-03-28 Thread Robert Leland
FYI:

I have contracted twice once was for 4 months
full time at $100/hr. The other was as a consultant
at $110/hr, which was only for about 20 hours.
This may be atypical, but a
business will charge another company,goverment,
for an regular employee that would be paid only 40%-50% of that,
so $40/hr.
-Rob



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


Re: html:form tag - specify rendered action

2003-03-28 Thread James Mitchell
On Fri, 2003-03-28 at 12:16, Kuntz, Tim wrote:
 Is it possible to manually control the rendered form action attribute? 
 
 I am migrating and existing MVC framework to Struts and have the requirement
 that the two frameworks run in tandem. The existing framework has a front
 servlet that is responsible for user initialization, security, etc... It
 then modifies the path and forwards to a view which in my case will be the
 Struts application. So the user submits to /legacy/struts.do but Struts
 receives /root/legacy/struts.do and the page is /root/legacy/struts.jsp.
 
 
 The html:form tag  with an action of /struts.do currently sets the action
 to /root/legacy/struts.do and I need it to be /legacy/struts.do.
 
 Has anyone else dealt with this issue?

The framework is only prepending the context (request.getContextPath()).

Are you sure it's 'root' and not 'ROOT'?


 
 thanks,
 tim
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org




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



[sslExt] tags not picking up port # change

2003-03-28 Thread Robert Taylor
I apologize if this double posts, but I sent it a while ago and haven't seen
it yet, so I'm sending again:



I just downloaded sslext-struts1.1RC1-2-src.zip and am trying to run the web
app that comes with it. I changed the entries in the plug-in to reflect port
80 for http and port 443 for https.

plug-in className=org.apache.struts.action.SecurePlugIn
set-property property=httpPort value=80/
set-property property=httpsPort value=443/
set-property property=enable value=true/
  /plug-in

I deployed the web app as a .war file. All links on the true.jsp page have
http port as 8080 and https port as 8443.

Am I missing something here? It seems like these tags should reflect the
port values defined in the plug-in.

robert


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



[OT] Taglib reference and IntelliJ

2003-03-28 Thread Steve
I am having probems resolving my taglib uri reference in my .jsp Can
anyone that uses IntelliJ shed some light on this for me? I am running
3.0.2 build #696. I have enabled web support with the document root as:

C:\jakarta-tomcat-4.0.4\webapps\test

and the snip from my web.xml is :

taglib
taglib-uri/WEB-INF/tlds/struts-bean.tld/taglib-uri
taglib-location/WEB-INF/tlds/struts-bean.tld/taglib-location
/taglib

Now from my .jsp I have the following:

%@ taglib uri=/WEB-INF/tlds/struts-bean.tld  prefix=bean %

The reference is not resolving in the IDE and therefore my .jsp (however
the page does ultimately working as expected)appears with error flags.
Can anyone point me in the right direction.
Thanks.

steve


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



Check user login pre validation

2003-03-28 Thread Ken Pelletier
I have been using an base action subclass in my application which 
checks whether a user is logged in for those actions that require a 
login.

When the login requirement isn't met, it raises an exception which is 
globally configured to bounce to a globally-configured login forward.

I now realize that deferring the login check to the action has a hole 
in it:

I keep the logged-innes in the session in the form of a property within 
a user container, which gets cleaned up on session timeout; it 
implements HttpSessionBindingListener.

Hitting any action after a timeout does indeed bounce the user to a 
login, using the above mechanism in the base action.

However, if a form which was presented prior to session timeout is 
posted *after* a timeout, its validation is processed prior to the 
action being called, and any errors are presented back to the user.

In my case, the input page for those forms have chrome (implemented 
using Tiles) which relies on the user container, which has since been 
cleaned out, but my action hasn't had a chance to intercede and bounce 
to the login.  So, the view gets called w/o the supporting user 
information.  :-(

I appears that I ought to be extending the RequestProcessor check login 
state instead.  I'd like a way to be able to declaratively ( in the 
config ) express which actions require a login and have the 
RequestProcessor subclass enforce this in the same manner as my base 
action is now doing it - raising an exception which is globaly 
configured to forward to the login.

Any thoughts on the best way to go about this?  Particularly, how can I 
get the per-action login requirement setting into the RequestProcessor. 
 I'm already using the 'parameter' on many actions for something else, 
btw.

This question seems to have been typically answered with the suggestion 
to use the method I have been using ( base action subclass ) or a 
servlet filter.  I'd prefer not to use a servlet filter because I want 
to continue using the struts global-exception/global-forward.





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


RE: [OT] Taglib reference and IntelliJ

2003-03-28 Thread Sri Sankaran
I have had that happen to me in the past.  After verifying that the TLDs are indeed at 
c:\jakarta-tomcat-4.0.4\webapps\test\WEB-INF\tlds, I suggest re-starting IDEA.  I 
think that's what fixed it for me.

Sri

-Original Message-
From: Steve [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 28, 2003 1:08 PM
To: Struts Users Mailing List
Subject: [OT] Taglib reference and IntelliJ


I am having probems resolving my taglib uri reference in my .jsp Can anyone that uses 
IntelliJ shed some light on this for me? I am running 3.0.2 build #696. I have enabled 
web support with the document root as:

C:\jakarta-tomcat-4.0.4\webapps\test

and the snip from my web.xml is :

taglib
taglib-uri/WEB-INF/tlds/struts-bean.tld/taglib-uri
taglib-location/WEB-INF/tlds/struts-bean.tld/taglib-location
/taglib

Now from my .jsp I have the following:

%@ taglib uri=/WEB-INF/tlds/struts-bean.tld  prefix=bean %

The reference is not resolving in the IDE and therefore my .jsp (however the page does 
ultimately working as expected)appears with error flags. Can anyone point me in the 
right direction. Thanks.

steve


-
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] Contract Work: Going Rate?

2003-03-28 Thread Sterin, Ilya
Not sure about why all are ranting about this economy, but there are more
than enough jobs available in IT.  It's qualifications what set the ones
with a job apart from the ones without.  There are still over 100,000
reported unfilled jobs in the IT sector, as well as if you go to
monster.com, jobs.perl.org, and many other sites, you'll see daily postings
of jobs.  So there are jobs, I guess the question is whether the developers
we are speaking of are qualified for those jobs.

Ilya

-Original Message-
From: apachep2
To: 'Struts Users Mailing List'
Sent: 3/28/03 7:50 AM
Subject: RE: [OT] Contract Work: Going Rate?

Have you guys ever think of a situation, when a developer loses his job
for a while, he will take whatever contract it is and being paid
whatever the employer will offer? In this economy condition, supply of
developers always exceeds demanding. I see seniors applying for an entry
level job.

-Original Message-
From: Sterin, Ilya [mailto:[EMAIL PROTECTED] 
Sent: March 28, 2003 9:04 AM
To: 'Andrew Hill '; 'Struts Users Mailing List '
Subject: RE: [OT] Contract Work: Going Rate?

I'm still not understanding why you are having problems believing those
rates?

Here, an average IT employee salary for full time staff employee, is
$30+/hour.  An employer, spends about another 20% on benefits, madical,
dental, etc...  So the employer, really faces about a $36-$40 average
expense on an employee.  Now, if this contract is say 1 year or less,
then
there is a drawback of having someone stay, when they are not needed
after
the work is done.

Now, $40 dollars, is just per employee expense.  Now, each employer has
to
pay FICA tax, for each on staff employee, which is about 15% more.  So
now
were are up to about the $50 round about figure per hour.  Lets see,
then
there is office expenses, etc... so the figure is getting higher and
higher
and that's just the average.

Now, an average rate for a contractor is about $50, which actually saves
the
company money, for outsourcing it, then also allows them to only be
billed
for hours as needed, so if one week there is a break, and no work is
done,
there is no bill, at least some of the time, since as we know,
consultants
always find ways to bill:-)

Now, getting to higher figures of say $75/hour-$150/hour, those are
usually
for expert consultants.  Say, I know people who've written books on the
subject, and they have the credibility to charge that much, etc...  Also
past experience, thorough knowledge of technology, being a core team
developer of this particular technology or similar ranking.  Also, most
of
those rates are for shorter term projects.

I hope this helps you understand this a bit better.  An averag
McDonald's
employee is costing the company about $25/hour, so if the burger flipper
was
smart, he or she would break a deal of $20/hour and call it a day:-)

Ilya


-Original Message-
From: Andrew Hill
To: Struts Users Mailing List
Sent: 3/27/03 9:02 PM
Subject: RE: [OT] Contract Work: Going Rate?

Half right. :-)

I guess low is a distinctly relative term. Especially when comparing
apples  oranges (or salary  contract) ;-.

Rates here may be low compared to US or UK contract rates (are they
really so high?  - still have trouble believing those figures!), but as
for those in India, Russia, etc... they would get a fraction of the
going rate here, and there are probably folk doing the same stuff
elsewhere who get even less. 

-Original Message-
From: Scott Barr [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 07:44
To: Struts Users Mailing List
Subject: RE: [OT] Contract Work: Going Rate?



Yeah, but we both (i think Andrew is an Aussie) live in Australia. Land
of low wages 

Scott
www.exergonic.com.au

On Fri, 2003-03-28 at 06:26, Sterin, Ilya wrote: 
30*3000 is more than your whole entire career earnings?  Where are you
from?
India? Russia?

In US that's an average developer contract salary, and $30/hour is a
charge
that most contractors will laugh at here.

Ilya

-Original Message-
From: Andrew Hill
To: Struts Users Mailing List
Sent: 3/27/03 1:32 AM
Subject: RE: [OT] Contract Work: Going Rate?

These are USD per HOUR?

Crikey! You could retire after a couple of years on that!
Nah that cant be right. I did a bit under 3000 hours last year, multiply
by
30 and convert to local currency adds up to more than Ive earned in my
whole
working life (4+ years). A lot more...

Are those fair dinkum rates or are you just having us on?

Five weeks holiday??? OT pay???

Yeh. Thought so. Its a joke. hehe. You had me going there mate!

-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]
Sent: Thursday, 27 March 2003 16:08
To: Struts Users Mailing List
Subject: Re: [OT] Contract Work: Going Rate?


These are some going full time rates for a London based e-learning
company,
for an average of 1880 hrs worked in one year (Five weeks holiday not
included in the figures, but you'd get the same rate).  The company 

RE: [OT] Taglib reference and IntelliJ

2003-03-28 Thread Steve
Thanks Sri. Unfortunately they are there. Its seems so straightforward I
figured I was missing something obvious. Any other suggestions?

Steve


-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 28, 2003 1:32 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: [OT] Taglib reference and IntelliJ


I have had that happen to me in the past.  After verifying that the TLDs
are indeed at c:\jakarta-tomcat-4.0.4\webapps\test\WEB-INF\tlds, I
suggest re-starting IDEA.  I think that's what fixed it for me.

Sri

-Original Message-
From: Steve [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 28, 2003 1:08 PM
To: Struts Users Mailing List
Subject: [OT] Taglib reference and IntelliJ


I am having probems resolving my taglib uri reference in my .jsp Can
anyone that uses IntelliJ shed some light on this for me? I am running
3.0.2 build #696. I have enabled web support with the document root as:

C:\jakarta-tomcat-4.0.4\webapps\test

and the snip from my web.xml is :

taglib
taglib-uri/WEB-INF/tlds/struts-bean.tld/taglib-uri
taglib-location/WEB-INF/tlds/struts-bean.tld/taglib-location
/taglib

Now from my .jsp I have the following:

%@ taglib uri=/WEB-INF/tlds/struts-bean.tld  prefix=bean %

The reference is not resolving in the IDE and therefore my .jsp (however
the page does ultimately working as expected)appears with error flags.
Can anyone point me in the right direction. Thanks.

steve


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



Artimus example Struts app - working with WebLogic 7

2003-03-28 Thread Jeff Sumner
Hello,

I'm trying to get Ted Husted's Artimus Struts-example application to 
work on Weblogic 7.0 and Oracle 9i.  I'm new to Struts, so I thought 
I'd try asking here.

The first page comes up fine, I've set the data source in the web.xml 
with appropriate values.  However, when I hit the LOGON link, I get 
an immediate 10.4.4 403 Forbidden error page.  Nothing is printed 
to the WebLogic's console.

If anyone has any insight or ideas, I'd appreciate hearing them.  I'm 
trying to get this application to work so I can use it as an example 
for creating my own Struts/Tiles application.

Thanks.

- Jeff


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



Re: [sslExt] tags not picking up port # change

2003-03-28 Thread Tim Shadel
Did you change the ports in both the main struts config file and the one 
for the subapplication?

Robert Taylor wrote:
*This message was transferred with a trial version of CommuniGate(tm) Pro*
I apologize if this double posts, but I sent it a while ago and haven't seen
it yet, so I'm sending again:


I just downloaded sslext-struts1.1RC1-2-src.zip and am trying to run the web
app that comes with it. I changed the entries in the plug-in to reflect port
80 for http and port 443 for https.
plug-in className=org.apache.struts.action.SecurePlugIn
set-property property=httpPort value=80/
set-property property=httpsPort value=443/
set-property property=enable value=true/
  /plug-in
I deployed the web app as a .war file. All links on the true.jsp page have
http port as 8080 and https port as 8443.
Am I missing something here? It seems like these tags should reflect the
port values defined in the plug-in.
robert

-
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] Taglib reference and IntelliJ

2003-03-28 Thread Sri Sankaran
Have you re-started the editor since adding web support?

Sri

-Original Message-
From: Steve [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 28, 2003 1:38 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Taglib reference and IntelliJ


Thanks Sri. Unfortunately they are there. Its seems so straightforward I figured I was 
missing something obvious. Any other suggestions?

Steve


-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 28, 2003 1:32 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: [OT] Taglib reference and IntelliJ


I have had that happen to me in the past.  After verifying that the TLDs are indeed at 
c:\jakarta-tomcat-4.0.4\webapps\test\WEB-INF\tlds, I suggest re-starting IDEA.  I 
think that's what fixed it for me.

Sri

-Original Message-
From: Steve [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 28, 2003 1:08 PM
To: Struts Users Mailing List
Subject: [OT] Taglib reference and IntelliJ


I am having probems resolving my taglib uri reference in my .jsp Can anyone that uses 
IntelliJ shed some light on this for me? I am running 3.0.2 build #696. I have enabled 
web support with the document root as:

C:\jakarta-tomcat-4.0.4\webapps\test

and the snip from my web.xml is :

taglib
taglib-uri/WEB-INF/tlds/struts-bean.tld/taglib-uri
taglib-location/WEB-INF/tlds/struts-bean.tld/taglib-location
/taglib

Now from my .jsp I have the following:

%@ taglib uri=/WEB-INF/tlds/struts-bean.tld  prefix=bean %

The reference is not resolving in the IDE and therefore my .jsp (however the page does 
ultimately working as expected)appears with error flags. Can anyone point me in the 
right direction. Thanks.

steve


-
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: html:form tag - specify rendered action

2003-03-28 Thread Kuntz, Tim
Sorry, the framework refers to my legacy MVC framework and we use a
sub-directory named /root to store the views (jsps). So while my page is
/root/legacy/struts.jsp, I want the form to post back to
/legacy/struts.tpc so my legacy servlet will setup the request prior to
handing it off to Struts.

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 11:42 AM
To: Struts Users Mailing List
Subject: Re: html:form tag - specify rendered action


On Fri, 2003-03-28 at 12:16, Kuntz, Tim wrote:
 Is it possible to manually control the rendered form action attribute? 
 
 I am migrating and existing MVC framework to Struts and have the
requirement
 that the two frameworks run in tandem. The existing framework has a front
 servlet that is responsible for user initialization, security, etc... It
 then modifies the path and forwards to a view which in my case will be the
 Struts application. So the user submits to /legacy/struts.do but Struts
 receives /root/legacy/struts.do and the page is
/root/legacy/struts.jsp.
 
 
 The html:form tag  with an action of /struts.do currently sets the
action
 to /root/legacy/struts.do and I need it to be /legacy/struts.do.
 
 Has anyone else dealt with this issue?

The framework is only prepending the context (request.getContextPath()).

Are you sure it's 'root' and not 'ROOT'?


 
 thanks,
 tim
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org




-
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] Contract Work: Going Rate?

2003-03-28 Thread James Mitchell
On Fri, 2003-03-28 at 13:34, Sterin, Ilya wrote:
 Not sure about why all are ranting about this economy, but there are more
 than enough jobs available in IT.  It's qualifications what set the ones
 with a job apart from the ones without.  There are still over 100,000
 reported unfilled jobs in the IT sector, as well as if you go to
 monster.com, jobs.perl.org, and many other sites, you'll see daily postings
 of jobs.  So there are jobs, I guess the question is whether the developers
 we are speaking of are qualified for those jobs.

Oh, well that must explain why I can't find a job in Atlanta.  I'm not
qualifiedI see.

 
 Ilya
 
 -Original Message-
 From: apachep2
 To: 'Struts Users Mailing List'
 Sent: 3/28/03 7:50 AM
 Subject: RE: [OT] Contract Work: Going Rate?
 
 Have you guys ever think of a situation, when a developer loses his job
 for a while, he will take whatever contract it is and being paid
 whatever the employer will offer? In this economy condition, supply of
 developers always exceeds demanding. I see seniors applying for an entry
 level job.
 
 -Original Message-
 From: Sterin, Ilya [mailto:[EMAIL PROTECTED] 
 Sent: March 28, 2003 9:04 AM
 To: 'Andrew Hill '; 'Struts Users Mailing List '
 Subject: RE: [OT] Contract Work: Going Rate?
 
 I'm still not understanding why you are having problems believing those
 rates?
 
 Here, an average IT employee salary for full time staff employee, is
 $30+/hour.  An employer, spends about another 20% on benefits, madical,
 dental, etc...  So the employer, really faces about a $36-$40 average
 expense on an employee.  Now, if this contract is say 1 year or less,
 then
 there is a drawback of having someone stay, when they are not needed
 after
 the work is done.
 
 Now, $40 dollars, is just per employee expense.  Now, each employer has
 to
 pay FICA tax, for each on staff employee, which is about 15% more.  So
 now
 were are up to about the $50 round about figure per hour.  Lets see,
 then
 there is office expenses, etc... so the figure is getting higher and
 higher
 and that's just the average.
 
 Now, an average rate for a contractor is about $50, which actually saves
 the
 company money, for outsourcing it, then also allows them to only be
 billed
 for hours as needed, so if one week there is a break, and no work is
 done,
 there is no bill, at least some of the time, since as we know,
 consultants
 always find ways to bill:-)
 
 Now, getting to higher figures of say $75/hour-$150/hour, those are
 usually
 for expert consultants.  Say, I know people who've written books on the
 subject, and they have the credibility to charge that much, etc...  Also
 past experience, thorough knowledge of technology, being a core team
 developer of this particular technology or similar ranking.  Also, most
 of
 those rates are for shorter term projects.
 
 I hope this helps you understand this a bit better.  An averag
 McDonald's
 employee is costing the company about $25/hour, so if the burger flipper
 was
 smart, he or she would break a deal of $20/hour and call it a day:-)
 
 Ilya
 
 
 -Original Message-
 From: Andrew Hill
 To: Struts Users Mailing List
 Sent: 3/27/03 9:02 PM
 Subject: RE: [OT] Contract Work: Going Rate?
 
 Half right. :-)
 
 I guess low is a distinctly relative term. Especially when comparing
 apples  oranges (or salary  contract) ;-.
 
 Rates here may be low compared to US or UK contract rates (are they
 really so high?  - still have trouble believing those figures!), but as
 for those in India, Russia, etc... they would get a fraction of the
 going rate here, and there are probably folk doing the same stuff
 elsewhere who get even less. 
 
 -Original Message-
 From: Scott Barr [mailto:[EMAIL PROTECTED]
 Sent: Friday, 28 March 2003 07:44
 To: Struts Users Mailing List
 Subject: RE: [OT] Contract Work: Going Rate?
 
 
 
 Yeah, but we both (i think Andrew is an Aussie) live in Australia. Land
 of low wages 
 
 Scott
 www.exergonic.com.au
 
 On Fri, 2003-03-28 at 06:26, Sterin, Ilya wrote: 
 30*3000 is more than your whole entire career earnings?  Where are you
 from?
 India? Russia?
 
 In US that's an average developer contract salary, and $30/hour is a
 charge
 that most contractors will laugh at here.
 
 Ilya
 
 -Original Message-
 From: Andrew Hill
 To: Struts Users Mailing List
 Sent: 3/27/03 1:32 AM
 Subject: RE: [OT] Contract Work: Going Rate?
 
 These are USD per HOUR?
 
 Crikey! You could retire after a couple of years on that!
 Nah that cant be right. I did a bit under 3000 hours last year, multiply
 by
 30 and convert to local currency adds up to more than Ive earned in my
 whole
 working life (4+ years). A lot more...
 
 Are those fair dinkum rates or are you just having us on?
 
 Five weeks holiday??? OT pay???
 
 Yeh. Thought so. Its a joke. hehe. You had me going there mate!
 
 -Original Message-
 From: Simon Kelly [mailto:[EMAIL PROTECTED]
 Sent: Thursday, 27 March 2003 16:08
 To: 

Struts Pager Tag Library

2003-03-28 Thread Susmita Pati
 Hi All
I was planning to implement Pager Tag Library with my Struts application. 
Can any1 pass me on some example / sample code / links to the sample code.

Thanks in advance

Susmita

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



RE: html:form tag - specify rendered action

2003-03-28 Thread James Mitchell
On Fri, 2003-03-28 at 13:43, Kuntz, Tim wrote:
 Sorry, the framework refers to my legacy MVC framework and we use a
 sub-directory named /root to store the views (jsps). So while my page is
 /root/legacy/struts.jsp, I want the form to post back to
 /legacy/struts.tpc so my legacy servlet will setup the request prior to
 handing it off to Struts.

I see.  What is your legacy servlet doing to the request?  It appears to
be confusing Struts.

 
 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 11:42 AM
 To: Struts Users Mailing List
 Subject: Re: html:form tag - specify rendered action
 
 
 On Fri, 2003-03-28 at 12:16, Kuntz, Tim wrote:
  Is it possible to manually control the rendered form action attribute? 
  
  I am migrating and existing MVC framework to Struts and have the
 requirement
  that the two frameworks run in tandem. The existing framework has a front
  servlet that is responsible for user initialization, security, etc... It
  then modifies the path and forwards to a view which in my case will be the
  Struts application. So the user submits to /legacy/struts.do but Struts
  receives /root/legacy/struts.do and the page is
 /root/legacy/struts.jsp.
  
  
  The html:form tag  with an action of /struts.do currently sets the
 action
  to /root/legacy/struts.do and I need it to be /legacy/struts.do.
  
  Has anyone else dealt with this issue?
 
 The framework is only prepending the context (request.getContextPath()).
 
 Are you sure it's 'root' and not 'ROOT'?
 
 
  
  thanks,
  tim
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 -- 
 James Mitchell
 Software Developer/Struts Evangelist
 http://www.open-tools.org
 
 
 
 
 -
 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]
-- 
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org




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



Errors/Messages on Redirect

2003-03-28 Thread Brian K Bonner
Has anyone else run into this scenario before?  I've searched the archives 
and couldn't find much on the topic of errors and redirect.

During an action, I want may encounter an error condition and I want to 
REDIRECT the user back to the page where they came from and pass along the 
error.  I need to do a redirect to get the URL of the browser to reflect 
the page where they came from (in case they bookmark the link).  If I 
don't do a redirect then the page being displayed reflects the action they 
were trying to perform and they are out of synch.

The problem with this is that I can't pass the ActionErrors / 
ActionMessages on the request as they are lost with the redirect.

One option I've thought of is to put the data on the session and then 
strip it off in the jsp--each request in a session would need to put data 
in via a unique key that's not in the session (in the event of 
simultaneous requests).

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



RE: [OT] Contract Work: Going Rate?

2003-03-28 Thread Eva Sager
Atlanta's job market sucks...  most of the jobs listed on Monster and other
such boards have been there for ages, they aren't filled because the
employer isn't filling them, not due to a lack of qualified developers.  I
know many extremely qualified developers who either aren't working or are
working for far less than they are worth because they have to get a pay
check.  I am glad that your job market is so good Ilya, but I don't think
you can speak for the economy in general.  

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 1:45 PM
To: Struts Users Mailing List
Subject: RE: [OT] Contract Work: Going Rate?


On Fri, 2003-03-28 at 13:34, Sterin, Ilya wrote:
 Not sure about why all are ranting about this economy, but there are more
 than enough jobs available in IT.  It's qualifications what set the ones
 with a job apart from the ones without.  There are still over 100,000
 reported unfilled jobs in the IT sector, as well as if you go to
 monster.com, jobs.perl.org, and many other sites, you'll see daily
postings
 of jobs.  So there are jobs, I guess the question is whether the
developers
 we are speaking of are qualified for those jobs.

Oh, well that must explain why I can't find a job in Atlanta.  I'm not
qualifiedI see.

 
 Ilya
 
 -Original Message-
 From: apachep2
 To: 'Struts Users Mailing List'
 Sent: 3/28/03 7:50 AM
 Subject: RE: [OT] Contract Work: Going Rate?
 
 Have you guys ever think of a situation, when a developer loses his job
 for a while, he will take whatever contract it is and being paid
 whatever the employer will offer? In this economy condition, supply of
 developers always exceeds demanding. I see seniors applying for an entry
 level job.
 
 -Original Message-
 From: Sterin, Ilya [mailto:[EMAIL PROTECTED] 
 Sent: March 28, 2003 9:04 AM
 To: 'Andrew Hill '; 'Struts Users Mailing List '
 Subject: RE: [OT] Contract Work: Going Rate?
 
 I'm still not understanding why you are having problems believing those
 rates?
 
 Here, an average IT employee salary for full time staff employee, is
 $30+/hour.  An employer, spends about another 20% on benefits, madical,
 dental, etc...  So the employer, really faces about a $36-$40 average
 expense on an employee.  Now, if this contract is say 1 year or less,
 then
 there is a drawback of having someone stay, when they are not needed
 after
 the work is done.
 
 Now, $40 dollars, is just per employee expense.  Now, each employer has
 to
 pay FICA tax, for each on staff employee, which is about 15% more.  So
 now
 were are up to about the $50 round about figure per hour.  Lets see,
 then
 there is office expenses, etc... so the figure is getting higher and
 higher
 and that's just the average.
 
 Now, an average rate for a contractor is about $50, which actually saves
 the
 company money, for outsourcing it, then also allows them to only be
 billed
 for hours as needed, so if one week there is a break, and no work is
 done,
 there is no bill, at least some of the time, since as we know,
 consultants
 always find ways to bill:-)
 
 Now, getting to higher figures of say $75/hour-$150/hour, those are
 usually
 for expert consultants.  Say, I know people who've written books on the
 subject, and they have the credibility to charge that much, etc...  Also
 past experience, thorough knowledge of technology, being a core team
 developer of this particular technology or similar ranking.  Also, most
 of
 those rates are for shorter term projects.
 
 I hope this helps you understand this a bit better.  An averag
 McDonald's
 employee is costing the company about $25/hour, so if the burger flipper
 was
 smart, he or she would break a deal of $20/hour and call it a day:-)
 
 Ilya
 
 
 -Original Message-
 From: Andrew Hill
 To: Struts Users Mailing List
 Sent: 3/27/03 9:02 PM
 Subject: RE: [OT] Contract Work: Going Rate?
 
 Half right. :-)
 
 I guess low is a distinctly relative term. Especially when comparing
 apples  oranges (or salary  contract) ;-.
 
 Rates here may be low compared to US or UK contract rates (are they
 really so high?  - still have trouble believing those figures!), but as
 for those in India, Russia, etc... they would get a fraction of the
 going rate here, and there are probably folk doing the same stuff
 elsewhere who get even less. 
 
 -Original Message-
 From: Scott Barr [mailto:[EMAIL PROTECTED]
 Sent: Friday, 28 March 2003 07:44
 To: Struts Users Mailing List
 Subject: RE: [OT] Contract Work: Going Rate?
 
 
 
 Yeah, but we both (i think Andrew is an Aussie) live in Australia. Land
 of low wages 
 
 Scott
 www.exergonic.com.au
 
 On Fri, 2003-03-28 at 06:26, Sterin, Ilya wrote: 
 30*3000 is more than your whole entire career earnings?  Where are you
 from?
 India? Russia?
 
 In US that's an average developer contract salary, and $30/hour is a
 charge
 that most contractors will laugh at here.
 
 Ilya
 
 -Original Message-
 From: Andrew 

RE: [sslExt] tags not picking up port # change

2003-03-28 Thread Robert Taylor
Doh! I hate being stupid.
Spot on Tim. Freakin' spot on.

Thanks,

robert


-Original Message-
From: Tim Shadel [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 1:41 PM
To: Struts Users Mailing List
Subject: Re: [sslExt] tags not picking up port # change


Did you change the ports in both the main struts config file and the one
for the subapplication?

Robert Taylor wrote:
 *This message was transferred with a trial version of CommuniGate(tm) Pro*
 I apologize if this double posts, but I sent it a while ago and haven't
seen
 it yet, so I'm sending again:



 I just downloaded sslext-struts1.1RC1-2-src.zip and am trying to run the
web
 app that comes with it. I changed the entries in the plug-in to reflect
port
 80 for http and port 443 for https.

 plug-in className=org.apache.struts.action.SecurePlugIn
 set-property property=httpPort value=80/
 set-property property=httpsPort value=443/
 set-property property=enable value=true/
   /plug-in

 I deployed the web app as a .war file. All links on the true.jsp page have
 http port as 8080 and https port as 8443.

 Am I missing something here? It seems like these tags should reflect the
 port values defined in the plug-in.

 robert


 -
 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] Contract Work: Going Rate?

2003-03-28 Thread Sterin, Ilya
That's another great fact:-)

Ilya

-Original Message-
From: Robert Leland
To: Struts Users Mailing List
Sent: 3/28/03 10:35 AM
Subject: Re: [OT] Contract Work: Going Rate?

FYI:

I have contracted twice once was for 4 months
full time at $100/hr. The other was as a consultant
at $110/hr, which was only for about 20 hours.
This may be atypical, but a
business will charge another company,goverment,
for an regular employee that would be paid only 40%-50% of that,
so $40/hr.

-Rob



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


String Array as hidden property

2003-03-28 Thread Justin F. Knotzke

   Hello,

   I have a property that is an array of strings. The property will not
be changed by the user. However I need to access it in the JSP in order
to not lose the data upon returning from the JSP.

   Normally I do the following:

  html:hidden property=day value=%=agendaForm.getDay()%/

  I could do the following to keep my array of Strings:

 html:hidden property=ids[1] value=%=agendaForm.getIds(1)%/ 

  ..where in the Form I have a get and set that takes an index and
value.

  But this requires me to write a hidden property for the entire size of
the array (in my case it's 24).

   Is there another more elegant way to do this?

   Thanks

   Justin


-- 
Justin F. Knotzke
[EMAIL PROTECTED]
http://www.shampoo.ca

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



RE: How to upload multiple files??

2003-03-28 Thread Eva Sager
If they can upload the files one at a time, you can use a FormFile[].  That
is what I did...  and I made and interface so that the user can add and
remove files from the array as they wanted.

-Original Message-
From: Jagadeesan,Sivakumar [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 5:20 PM
To: 'Struts Users Mailing List'
Subject: How to upload multiple files??


Hi All:

I have requirement that the user could upload more then one file. Something
like attachments in a mail?

How could I achieve this?

I know I could use
  html:file property=file /

to upload a single file.

I need to extend this for multiple files

--Siva Jagadeesan

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