RE: Primitive type bean property

2003-12-31 Thread Amanpreet
Hi Patrick

Do you want to Map the html:text / to a Beanproperty of type CHAR.?

Regards
Amanpreet 



-Original Message-
From: Patrick Cheng [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 31, 2003 8:26 AM
To: Struts Users Mailing List
Subject: Primitive type bean property

Hi All,

A quick question.
Has anyone tried to write the form with property of a 'char' primitive
type?
That is:

public char getC(){...}
public void setC(char c){...}

Is it supposed to work normally? I was doing it and the value was never
set. 
I just need to know that if anyone had done it this way and get it to
work.

The reason I'm not using Wrapper class Character... Is because the code
is generated by  ejbgen.

Rgds,
Patrick.

-
To unsubscribe, 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: Primitive type bean property

2003-12-31 Thread Patrick Cheng
Yes!! Exactly. Is it Possible?

Rgds,
Patrick.

-Original Message-
From: Amanpreet [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 31, 2002 3:33 PM
To: 'Struts Users Mailing List'
Subject: RE: Primitive type bean property


Hi Patrick

Do you want to Map the html:text / to a Beanproperty of type CHAR.?

Regards
Amanpreet 



-Original Message-
From: Patrick Cheng [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 31, 2003 8:26 AM
To: Struts Users Mailing List
Subject: Primitive type bean property

Hi All,

A quick question.
Has anyone tried to write the form with property of a 'char' primitive
type? That is:

public char getC(){...}
public void setC(char c){...}

Is it supposed to work normally? I was doing it and the value was never
set. 
I just need to know that if anyone had done it this way and get it to
work.

The reason I'm not using Wrapper class Character... Is because the code
is generated by  ejbgen.

Rgds,
Patrick.

-
To unsubscribe, 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: need some sample Tiles definitions usage

2003-12-31 Thread Amanpreets
Hi jim
Javaworld gives a good example of using tiles in struts
http://www.javaworld.com/javaworld/jw-01-2002/jw-0104-tilestrut.html

I guess it will solve the purpose.

Regards.
A

Subject: need some sample Tiles definitions usage

I've taken the Login example from Struts in Action and converted it, 
step by step, to use Tiles. I'm at the point where I've created a 
definition entry in tiles-defs.xml but haven't been able to figure out 
how to invoke it. Although the book is generally pretty good with 
examples, it unfortunately doesn't give one here.

Any examples appreciated!

Thanks,

jim


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


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

R: is there an eta for struts 1.2 beta?

2003-12-31 Thread Grassi Fabio
I have similar concerns and needs. I would like to start using Struts 1.2 (mainly for 
the validwhen validation), but would rather wait for an official beta. I asked the 
same question a few weeks ago, but had no answer.

TIA, Fabio.

 -Messaggio originale-
 Da: John McGrath [mailto:[EMAIL PROTECTED] 
 Inviato: martedì 30 dicembre 2003 21:52
 A: [EMAIL PROTECTED]
 Oggetto: is there an eta for struts 1.2 beta?
 
 
 we've been using a nightly build of 1.2, in order to be be 
 able to more
 easily put ActionMessages into the session object. we're a 
 little leery
 of putting it into production, though, until there's at least an
 official beta... any idea when that might be?
  
 this is our first struts project, and we're excited about it. many
 thanks to the developers.
  
 john
 
Ai sensi della Legge 675/96, si precisa che le informazioni contenute in questo 
messaggio sono riservate ed a uso esclusivo del destinatario. Qualora il messaggio in 
parola Le fosse pervenuto per errore, la preghiamo di eliminarlo senza copiarlo e di 
non inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie.BRBRThis 
message, for the law 675/96 may contain confidential and/or privileged information. If 
you are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose or take any action based on this message or any information 
herein. If you have received this message in error, please advise the sender 
immediately by reply e-mail and delete this message. Thank you for your cooperation.

RE: Problem with action chaining

2003-12-31 Thread shirishchandra.sakhare
Hi ,
As pointed out by Mohan, Action chainning is not a good design practice...
You can forward from one action to another but they should eb performing completely 
independent units of work.If two actions are used to complete only bits of work to 
complete one logical response, then it is a bad design. There is a discussion thread 
about action chainning in mail archive.

Now about your question.

What do u mean by forwarding from action 1 tomaction 2?Because if AgencyAction  says 
mapping.findFOrward(create)
 then this should work as the forward will agin cause the form instance to be created 
or retrieved from session...


But if you are callign execute of the AgencyCreateAction from first action, then it 
will not work.


HTH.
regards,
Shirish



-Original Message-
From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 6:38 AM
To: 'Struts Users Mailing List'
Subject: RE: Problem with action chaining


We use base forms too but we use sub-forms in both action mappings. It works
for us if we use sub-forms with action chaining like this.

  Our action chains are very minimal though because it is not recommended
design practice.
Mohan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 10:26 AM
To: [EMAIL PROTECTED]
Subject: Problem with action chaining


Hi, 

 

I have a problem with action chaining. My action tag 

action path=/producerCreate

type=com.epolicy.arch.brokerage.web.agency.AgencyAction

name=agencyForm

validate=true

parameter=create

scope=request

forward name=create  path=agencyCreate.do/

forward name=find  path=agencyFind.do/

forward name=success path=producerCreate.page/

/action

 

 

forwards control to the following:

 

action path=/agencyCreate

type=com.epolicy.arch.brokerage.web.agency.AgencyCreateAction

name=agencyCreateForm

validate=true

scope=session

forward name=success path=producerCreate.page/

/action

 

Now AgencyCreateForm extends AgencyForm and AgencyCreateAction extends
AgencyAction. 

 

When the derived class AgencyCreateAction tries to type cast the
AgencyCreateForm in the execute() method, it throws a type cast
exception. This is because no instance of AgencyCreateForm is created
and it still persists the instance of AgencyForm. 

 

Can anyone guide me as to how I can resolve this problem. 

 

Regards,

Kavita C. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 31, 2003 10:19 AM
To: Kavita Cardoz
Subject: WELCOME to [EMAIL PROTECTED]

 

Hi! This is the ezmlm program. I'm managing the

[EMAIL PROTECTED] mailing list.

 

I'm working for my owner, who can be reached

at [EMAIL PROTECTED]

 

Acknowledgment: I have added the address

 

   [EMAIL PROTECTED]

 

to the struts-user mailing list.

 

Welcome to [EMAIL PROTECTED]

 

Please save this message so that you know the address you are

subscribed under, in case you later want to unsubscribe or change your

subscription address.

 

 

--- Administrative commands for the struts-user list ---

 

I can handle administrative requests automatically. Please

do not send them to the list address! Instead, send

your message to the correct command address:

 

To subscribe to the list, send a message to:

   [EMAIL PROTECTED]

 

To remove your address from the list, send a message to:

   [EMAIL PROTECTED]

 

Send mail to the following for info and FAQ for this list:

   [EMAIL PROTECTED]

   [EMAIL PROTECTED]

 

Similar addresses exist for the digest list:

   [EMAIL PROTECTED]

   [EMAIL PROTECTED]

 

To get messages 123 through 145 (a maximum of 100 per request), mail:

   [EMAIL PROTECTED]

 

To get an index with subject and author for messages 123-456 , mail:

   [EMAIL PROTECTED]

 

They are always returned as sets of 100, max 2000 per request,

so you'll actually get 100-499.

 

To receive all messages with the same subject as message 12345,

send an empty message to:

   [EMAIL PROTECTED]

 

The messages do not really need to be empty, but I will ignore

their content. Only the ADDRESS you send to is important.

 

You can start a subscription for an alternate address,

for example [EMAIL PROTECTED], just add a hyphen and your

address (with '=' instead of '@') after the command word:

[EMAIL PROTECTED]

 

To stop subscription for this address, mail:

[EMAIL PROTECTED]

 

In both cases, I'll send a confirmation message to that address. When

you receive it, simply reply to it to complete your subscription.

 

If despite following these instructions, you do not get the

desired results, please contact my owner at

[EMAIL PROTECTED] Please be patient, my owner is a

lot slower than I am ;-)

 

--- Enclosed is a copy of the request I received.

 

Return-Path: [EMAIL 

RE: [OT] eclipse and jsp editing

2003-12-31 Thread Todd G. Nist
MyEclipse works well.  It dose cost $30.00, but seems well worth it based on
the features and ease of use and no I am not associated with the company.
For more information look at:

  http://www.myeclipseide.com

Hope that helps.

Regards,
Todd

-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 12:41 AM
To: Struts Users Mailing List
Subject: [OT] eclipse and jsp editing


Hi

is there any good plugin for editing jsp and setting
up a web project, i have tried lomboz but find it very
complicated to use
I find setting web prject in jsp much easy
any comments
(or any free jsp editor will also work)
Ashish

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.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: Problem with action chaining

2003-12-31 Thread Domingo A. Rodriguez S.

Can you post the naughty class source code and the stack trace so we can
check the problem better?

Regards,
Domingo A. Rodriguez S.

 --- [EMAIL PROTECTED] escribió:  Hi, 
 
  
 
 I have a problem with action chaining. My action tag 
 
 action path=/producerCreate
 
 type=com.epolicy.arch.brokerage.web.agency.AgencyAction
 
 name=agencyForm
 
 validate=true
 
 parameter=create
 
 scope=request
 
 forward name=create  path=agencyCreate.do/
 
 forward name=find  path=agencyFind.do/
 
 forward name=success path=producerCreate.page/
 
 /action
 
  
 
  
 
 forwards control to the following:
 
  
 
 action path=/agencyCreate
 
 type=com.epolicy.arch.brokerage.web.agency.AgencyCreateAction
 
 name=agencyCreateForm
 
 validate=true
 
 scope=session
 
 forward name=success path=producerCreate.page/
 
 /action
 
  
 
 Now AgencyCreateForm extends AgencyForm and AgencyCreateAction extends
 AgencyAction. 
 
  
 
 When the derived class AgencyCreateAction tries to type cast the
 AgencyCreateForm in the execute() method, it throws a type cast
 exception. This is because no instance of AgencyCreateForm is created
 and it still persists the instance of AgencyForm. 
 
  
 
 Can anyone guide me as to how I can resolve this problem. 
 
  
 
 Regards,
 
 Kavita C. 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, December 31, 2003 10:19 AM
 To: Kavita Cardoz
 Subject: WELCOME to [EMAIL PROTECTED]
 
  
 
 Hi! This is the ezmlm program. I'm managing the
 
 [EMAIL PROTECTED] mailing list.
 
  
 
 I'm working for my owner, who can be reached
 
 at [EMAIL PROTECTED]
 
  
 
 Acknowledgment: I have added the address
 
  
 
[EMAIL PROTECTED]
 
  
 
 to the struts-user mailing list.
 
  
 
 Welcome to [EMAIL PROTECTED]
 
  
 
 Please save this message so that you know the address you are
 
 subscribed under, in case you later want to unsubscribe or change your
 
 subscription address.
 
  
 
  
 
 --- Administrative commands for the struts-user list ---
 
  
 
 I can handle administrative requests automatically. Please
 
 do not send them to the list address! Instead, send
 
 your message to the correct command address:
 
  
 
 To subscribe to the list, send a message to:
 
[EMAIL PROTECTED]
 
  
 
 To remove your address from the list, send a message to:
 
[EMAIL PROTECTED]
 
  
 
 Send mail to the following for info and FAQ for this list:
 
[EMAIL PROTECTED]
 
[EMAIL PROTECTED]
 
  
 
 Similar addresses exist for the digest list:
 
[EMAIL PROTECTED]
 
[EMAIL PROTECTED]
 
  
 
 To get messages 123 through 145 (a maximum of 100 per request), mail:
 
[EMAIL PROTECTED]
 
  
 
 To get an index with subject and author for messages 123-456 , mail:
 
[EMAIL PROTECTED]
 
  
 
 They are always returned as sets of 100, max 2000 per request,
 
 so you'll actually get 100-499.
 
  
 
 To receive all messages with the same subject as message 12345,
 
 send an empty message to:
 
[EMAIL PROTECTED]
 
  
 
 The messages do not really need to be empty, but I will ignore
 
 their content. Only the ADDRESS you send to is important.
 
  
 
 You can start a subscription for an alternate address,
 
 for example [EMAIL PROTECTED], just add a hyphen and your
 
 address (with '=' instead of '@') after the command word:
 
 [EMAIL PROTECTED]
 
  
 
 To stop subscription for this address, mail:
 
 [EMAIL PROTECTED]
 
  
 
 In both cases, I'll send a confirmation message to that address. When
 
 you receive it, simply reply to it to complete your subscription.
 
  
 
 If despite following these instructions, you do not get the
 
 desired results, please contact my owner at
 
 [EMAIL PROTECTED] Please be patient, my owner is a
 
 lot slower than I am ;-)
 
  
 
 --- Enclosed is a copy of the request I received.
 
  
 
 Return-Path: [EMAIL PROTECTED]
 
 Received: (qmail 38403 invoked from network); 31 Dec 2003 04:49:08 -
 
 Received: from unknown (HELO mumbai2.ezbroadnet.com) (203.124.136.26)
 
   by daedalus.apache.org with SMTP; 31 Dec 2003 04:49:08 -
 
 Received: from ind-spz7gwy003.mastek.com (meghdoot.mastek.com
 [203.124.144.12])
 
 by mumbai2.ezbroadnet.com (8.11.7p1+Sun/8.11.7) with SMTP id
 hBV4k7A06598
 
 for
 [EMAIL PROTECTED]
 ta.apache.org; Wed, 31 Dec 2003 10:16:07 +0530 (IST)
 
 Received: FROM ind-spz7gwy002.mastek.com BY ind-spz7gwy003.mastek.com ;
 Wed Dec 31 10:16:36 2003 +0500
 
 Received: from IND-SPZ7ECL001.mastek.com (unverified) by 
 
 ind-spz7gwy002.mastek.com (Content Technologies SMTPRS 4.3.12) with
 ESMTP 
 
 id [EMAIL PROTECTED] for 
 
  
 [EMAIL PROTECTED]
 ta.apache.org
 
; Wed, 31 Dec 2003 10:16:36 +0530
 
 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
 
 content-class: urn:content-classes:message
 
 MIME-Version: 1.0
 
 

Custom Link Tag

2003-12-31 Thread Duggal, Sanjay
Hi,

I am writing a custom tag: MyLinkTag that extends the
org.apache.struts.taglib.html.LinkTag.

MyLinkTag has two fields. They are 
showAlways : Boolean  alternateLink : String. 

The functionality of the MyLinkTag is captured in the following code
snippet:

***
HttpServletRequest request = pageContext.getRequest();
ActionMappings actionMappings =
(ActionMappings)request.getAttribute(Action.MAPPINGS_KEY); 
String path = getHref();
ActionMapping actionMapping = actionMappings.findMapping(path);
String[] roleNames = actionMapping.getRoleNames();
boolean userInRole = false;
for(int i=0; iroleNames.length(); i++)
{
userInRole = request.isUserInRole(roleNames);
if(!userInRole){
if((alternateLink != null)  !(.equals(alternateLink))){
setHref(alternateLink);
}
else{
if(showAlways){
setDisabled(true);
}
else{
//don't show the link
return SKIP_BODY;
}
}
}//end if !userInRole
}//end for loop

***

The problem is I don't know where to place this code i.e. in which method:
doStartTag() or doEndTag() or doAfterBody() or any other?? 
What method should I override??
And what should be the return [integer] values?? 

Thanks in advance.
Sanjay


This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

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



creating a class that extends Action Mapping...what is the purpose of it?

2003-12-31 Thread deepak saini
Hi,

I was trying one struts example. In that example, it has created one class 
whcih extends ActionMapping class. I was just wondering why we need to 
create this class and when is it used and whether we define this class in 
struts-config or web.xml?

Regards
Deepak Saini
_
Contact brides  grooms FREE! Only on www.shaadi.com. 
http://www.shaadi.com/ptnr.php?ptnr=hmltag Register now!

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


Re: Custom Link Tag

2003-12-31 Thread Nicolas De Loof
Place your code in doStartTag as it can return SKIP_BODY to exclude body from 
resulting HTML.

return EVAL_BODY_INCLUDE if you want the body to be included

Nico.

 Hi,
 
 I am writing a custom tag: MyLinkTag that extends the
 org.apache.struts.taglib.html.LinkTag.
 
 MyLinkTag has two fields. They are 
 showAlways : Boolean  alternateLink : String. 
 
 The functionality of the MyLinkTag is captured in the following code
 snippet:
 
 ***
 HttpServletRequest request = pageContext.getRequest();
 ActionMappings actionMappings =
 (ActionMappings)request.getAttribute(Action.MAPPINGS_KEY); 
 String path = getHref();
 ActionMapping actionMapping = actionMappings.findMapping(path);
 String[] roleNames = actionMapping.getRoleNames();
 boolean userInRole = false;
 for(int i=0; iroleNames.length(); i++)
 {
 userInRole = request.isUserInRole(roleNames);
 if(!userInRole){
 if((alternateLink != null)  !(.equals(alternateLink))){
 setHref(alternateLink);
 }
 else{
 if(showAlways){
 setDisabled(true);
 }
 else{
 //don't show the link
 return SKIP_BODY;
 }
 }
 }//end if !userInRole
 }//end for loop
 
 ***
 
 The problem is I don't know where to place this code i.e. in which method:
 doStartTag() or doEndTag() or doAfterBody() or any other?? 
 What method should I override??
 And what should be the return [integer] values?? 
 
 Thanks in advance.
 Sanjay
 
 
 This message contains information that may be privileged or confidential and
 is the property of the Cap Gemini Ernst  Young Group. It is intended only
 for the person to whom it is addressed. If you are not the intended
 recipient, you are not authorised to read, print, retain, copy, disseminate,
 distribute, or use this message or any part thereof. If you receive this
 message in error, please notify the sender immediately and delete all copies
 of 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: [OT] eclipse and jsp editing

2003-12-31 Thread Patrick Scheuerer
Todd G. Nist wrote:
MyEclipse works well.  It dose cost $30.00, but seems well worth it based on
the features and ease of use and no I am not associated with the company.
For more information look at:
I'm using MyEclipse as well and I'm really happy with it. I tried several 
Eclipse plugins but all of them had some flaws. MyEclipse is the best so far.
If you're willing to spend more than $30.00 you should maybe take a look at 
Struts Studio. It comes as a Eclipse plugin or in a standalone version.

Good luck :-)
Patrick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: creating a class that extends Action Mapping...what is the purpose of it?

2003-12-31 Thread Nicolas De Loof
Sometime we need to add some info to struts mappings, and for this we use a class that 
extends ActionMapping. As an
example, we need for a webapp to add a description to any mapping to build some 
stats.

DescActionMapping defines a description attribute.

every action-mapping in struts-config sets this property :

action-mappings type=DescActionMapping

action path=/login
name=LoginForm
input=error
scope=request
type=ConnexionAction 

set-property property=description value=Authentification/

forward name=success path=/accueil.do /
forward name=error path=tiles:connexion /
/action
(...)

Nico.



 Hi,

 I was trying one struts example. In that example, it has created one class
 whcih extends ActionMapping class. I was just wondering why we need to
 create this class and when is it used and whether we define this class in
 struts-config or web.xml?

 Regards
 Deepak Saini

 _
 Contact brides  grooms FREE! Only on www.shaadi.com.
 http://www.shaadi.com/ptnr.php?ptnr=hmltag Register now!


 -
 To unsubscribe, 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: creating a class that extends Action Mapping...what is the purpose of it?

2003-12-31 Thread Mohan Radhakrishnan
I remember that this is done to use custom properties in your action mapping
in the struts-config.xml file.

action  ... 
  set-property property=foo value=x/
  set-property property=bar value=y/
/action

You can access them in your action.

Mohan

-Original Message-
From: deepak saini [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 6:08 PM
To: [EMAIL PROTECTED]
Subject: creating a class that extends Action Mapping...what is the
purpose of it?


Hi,

I was trying one struts example. In that example, it has created one class
whcih extends ActionMapping class. I was just wondering why we need to
create this class and when is it used and whether we define this class in
struts-config or web.xml?

Regards
Deepak Saini

_
Contact brides  grooms FREE! Only on www.shaadi.com.
http://www.shaadi.com/ptnr.php?ptnr=hmltag Register now!


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


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



Configuration Issue when Splitting up the struts-config.xml file

2003-12-31 Thread Harrison, Joseph
All,

 

I recently brought my struts application to a relatively stable point (no
problems whatsoever).

However, I split apart my struts-config.xml file into 6 sub struts xml
files.  I updated the web.xml file, but it gives me the following error
when trying to parse the resource paths.

[ERROR] ActionServlet - -Parsing error processing resource path
WEB-INF/struts-config.xml

  WEB-INF/struts-arrest.xml
  WEB-INF/struts-history.xml
  WEB-INF/struts-profiles.xml
  WEB-INF/struts-reports.xml
  WEB-INF/struts-subject.xml
  WEB-INF/struts-support.xml java.lang.NullPointerException

My web.xml file looks like this

servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
  param-nameconfig/param-name
param-value
  WEB-INF/struts-config.xml,
  WEB-INF/struts-arrest.xml,
  WEB-INF/struts-history.xml,
  WEB-INF/struts-profiles.xml,
  WEB-INF/struts-reports.xml,
  WEB-INF/struts-subject.xml,
  WEB-INF/struts-support.xml
/param-value
/init-param


Is there some sort of parsing or setup problem that I am unaware of?  If so,
is there a patch that I can download to fix this.  I am using JDeveloper 9i
to build and run my application if it makes a difference.

 

Thanks,

Joe


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



Re: Configuration Issue when Splitting up the struts-config.xml file

2003-12-31 Thread Martin Gainty
Straight from Craig McClanahan

splitting struts-config.xml:

  ?xml version=1.0?
  !DOCTYPE ...  [
!ENTITY part1 SYSTEM form-beans.xml
!ENTITY part2 SYSTEM global-forwards.xml
!ENTITY part3 SYSTEM action-mappings.xml
  ]

  struts-config

form-beans
  part1;
/form-beans

global-forwards
  part2;
/global-forwards

action-mappings
  part3;
/action-mappings

  /struts-config

-Martin
- Original Message -
From: Harrison, Joseph [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 8:18 AM
Subject: Configuration Issue when Splitting up the struts-config.xml file


 All,



 I recently brought my struts application to a relatively stable point (no
 problems whatsoever).

 However, I split apart my struts-config.xml file into 6 sub struts xml
 files.  I updated the web.xml file, but it gives me the following error
 when trying to parse the resource paths.

 [ERROR] ActionServlet - -Parsing error processing resource path
 WEB-INF/struts-config.xml

   WEB-INF/struts-arrest.xml
   WEB-INF/struts-history.xml
   WEB-INF/struts-profiles.xml
   WEB-INF/struts-reports.xml
   WEB-INF/struts-subject.xml
   WEB-INF/struts-support.xml java.lang.NullPointerException

 My web.xml file looks like this

 servlet-classorg.apache.struts.action.ActionServlet/servlet-class
 init-param
   param-nameconfig/param-name
 param-value
   WEB-INF/struts-config.xml,
   WEB-INF/struts-arrest.xml,
   WEB-INF/struts-history.xml,
   WEB-INF/struts-profiles.xml,
   WEB-INF/struts-reports.xml,
   WEB-INF/struts-subject.xml,
   WEB-INF/struts-support.xml
 /param-value
 /init-param


 Is there some sort of parsing or setup problem that I am unaware of?  If
so,
 is there a patch that I can download to fix this.  I am using JDeveloper
9i
 to build and run my application if it makes a difference.



 Thanks,

 Joe


 -
 To unsubscribe, 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: Configuration Issue when Splitting up the struts-config.xml file

2003-12-31 Thread Kris Schneider
Try inserting a leading / in your paths. For example:
/WEB-INF/struts-arrest.xml. Also ensure that each of the config files is valid
with respect to the Struts 1.1 config DTD.

Quoting Harrison, Joseph [EMAIL PROTECTED]:

 All,
 
  
 
 I recently brought my struts application to a relatively stable point (no
 problems whatsoever).
 
 However, I split apart my struts-config.xml file into 6 sub struts xml
 files.  I updated the web.xml file, but it gives me the following error
 when trying to parse the resource paths.
 
 [ERROR] ActionServlet - -Parsing error processing resource path
 WEB-INF/struts-config.xml
 
   WEB-INF/struts-arrest.xml
   WEB-INF/struts-history.xml
   WEB-INF/struts-profiles.xml
   WEB-INF/struts-reports.xml
   WEB-INF/struts-subject.xml
   WEB-INF/struts-support.xml java.lang.NullPointerException
 
 My web.xml file looks like this
 
 servlet-classorg.apache.struts.action.ActionServlet/servlet-class
 init-param
   param-nameconfig/param-name
 param-value
   WEB-INF/struts-config.xml,
   WEB-INF/struts-arrest.xml,
   WEB-INF/struts-history.xml,
   WEB-INF/struts-profiles.xml,
   WEB-INF/struts-reports.xml,
   WEB-INF/struts-subject.xml,
   WEB-INF/struts-support.xml
 /param-value
 /init-param
 
 
 Is there some sort of parsing or setup problem that I am unaware of?  If
 so,
 is there a patch that I can download to fix this.  I am using JDeveloper 9i
 to build and run my application if it makes a difference.
 
  
 
 Thanks,
 
 Joe

-- 
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/

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



Re: Primitive type bean property

2003-12-31 Thread Paulo Rezende
Patrick,

Probabily you'll have problems with null values.


Paulo

- Original Message - 
From: Patrick Cheng [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 12:55 AM
Subject: Primitive type bean property


Hi All,

A quick question.
Has anyone tried to write the form with property of a 'char' primitive
type?
That is:

public char getC(){...}
public void setC(char c){...}

Is it supposed to work normally? I was doing it and the value was never
set. 
I just need to know that if anyone had done it this way and get it to
work.

The reason I'm not using Wrapper class Character... Is because the code
is generated by  ejbgen.

Rgds,
Patrick.

-
To unsubscribe, 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: Configuration Issue when Splitting up the struts-config.xml f ile

2003-12-31 Thread Harrison, Joseph
I added the / and have ensured that my sub config files are Struts 1.1
config DTD compliant.  I am using tiles and am using the definition names in
lieu of the jsp page for my paths.  Would this be a problem?

-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 31, 2003 8:51 AM
To: Struts Users Mailing List
Subject: Re: Configuration Issue when Splitting up the struts-config.xml
file

Try inserting a leading / in your paths. For example:
/WEB-INF/struts-arrest.xml. Also ensure that each of the config files is
valid
with respect to the Struts 1.1 config DTD.

Quoting Harrison, Joseph [EMAIL PROTECTED]:

 All,
 
  
 
 I recently brought my struts application to a relatively stable point (no
 problems whatsoever).
 
 However, I split apart my struts-config.xml file into 6 sub struts xml
 files.  I updated the web.xml file, but it gives me the following error
 when trying to parse the resource paths.
 
 [ERROR] ActionServlet - -Parsing error processing resource path
 WEB-INF/struts-config.xml
 
   WEB-INF/struts-arrest.xml
   WEB-INF/struts-history.xml
   WEB-INF/struts-profiles.xml
   WEB-INF/struts-reports.xml
   WEB-INF/struts-subject.xml
   WEB-INF/struts-support.xml java.lang.NullPointerException
 
 My web.xml file looks like this
 
 servlet-classorg.apache.struts.action.ActionServlet/servlet-class
 init-param
   param-nameconfig/param-name
 param-value
   WEB-INF/struts-config.xml,
   WEB-INF/struts-arrest.xml,
   WEB-INF/struts-history.xml,
   WEB-INF/struts-profiles.xml,
   WEB-INF/struts-reports.xml,
   WEB-INF/struts-subject.xml,
   WEB-INF/struts-support.xml
 /param-value
 /init-param
 
 
 Is there some sort of parsing or setup problem that I am unaware of?  If
 so,
 is there a patch that I can download to fix this.  I am using JDeveloper
9i
 to build and run my application if it makes a difference.
 
  
 
 Thanks,
 
 Joe

-- 
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.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: Configuration Issue when Splitting up the struts-config.xml f ile

2003-12-31 Thread Kris Schneider
Have you tried running the app outside of JDeveloper to make sure it's not an
IDE config issue? Although I'm not that familiar with Tiles, I don't think
that's your problem. 

Quoting Harrison, Joseph [EMAIL PROTECTED]:

 I added the / and have ensured that my sub config files are Struts 1.1
 config DTD compliant.  I am using tiles and am using the definition names
 in
 lieu of the jsp page for my paths.  Would this be a problem?
 
 -Original Message-
 From: Kris Schneider [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, December 31, 2003 8:51 AM
 To: Struts Users Mailing List
 Subject: Re: Configuration Issue when Splitting up the struts-config.xml
 file
 
 Try inserting a leading / in your paths. For example:
 /WEB-INF/struts-arrest.xml. Also ensure that each of the config files is
 valid
 with respect to the Struts 1.1 config DTD.
 
 Quoting Harrison, Joseph [EMAIL PROTECTED]:
 
  All,
  
   
  
  I recently brought my struts application to a relatively stable point (no
  problems whatsoever).
  
  However, I split apart my struts-config.xml file into 6 sub struts xml
  files.  I updated the web.xml file, but it gives me the following error
  when trying to parse the resource paths.
  
  [ERROR] ActionServlet - -Parsing error processing resource path
  WEB-INF/struts-config.xml
  
WEB-INF/struts-arrest.xml
WEB-INF/struts-history.xml
WEB-INF/struts-profiles.xml
WEB-INF/struts-reports.xml
WEB-INF/struts-subject.xml
WEB-INF/struts-support.xml java.lang.NullPointerException
  
  My web.xml file looks like this
  
  servlet-classorg.apache.struts.action.ActionServlet/servlet-class
  init-param
param-nameconfig/param-name
  param-value
WEB-INF/struts-config.xml,
WEB-INF/struts-arrest.xml,
WEB-INF/struts-history.xml,
WEB-INF/struts-profiles.xml,
WEB-INF/struts-reports.xml,
WEB-INF/struts-subject.xml,
WEB-INF/struts-support.xml
  /param-value
  /init-param
  
  
  Is there some sort of parsing or setup problem that I am unaware of?  If
  so,
  is there a patch that I can download to fix this.  I am using JDeveloper
 9i
  to build and run my application if it makes a difference.
  
   
  
  Thanks,
  
  Joe
 
 -- 
 Kris Schneider mailto:[EMAIL PROTECTED]
 D.O.Tech   http://www.dotech.com/

-- 
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/

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



Key words in struts-config.xml

2003-12-31 Thread Swaminathan Rajagopalan
Title: Key words in struts-config.xml






Hi,

I have to specify a URL in the path for an action mapping in struts-config.xml.

The URL has a key word context and on server start up the xml file could not be loaded.

How to overcome the same?

Regards,

Swaminathan Rajagopalan,

Ph : (8520261) Extn: 55955

Mail : [EMAIL PROTECTED] 




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

ConcurrentModificationException on ActionErrors

2003-12-31 Thread Richard Mixon (qwest)
I have a Struts action that is trying to show all of the errors that might occur from 
either or both of two subordinate methods. The
code looks like:

  ...
  ActionErrors errors = new ActionErrors();
  ActionErrors errors1 = null;
  ActionErrors errors2 = null;

  Obj1 obj1 = new Obj1();
  Obj2 obj2 = new Obj2();

  obj1.method1();
  errors1 = obj1.getErrors();
  if (!errors1.isEmpty()) {
  errors.add(errors1);
  }

  obj2.method2();
  errors2 = obj2.getErrors();
  if (!errors2.isEmpty()) {
  errors.add(errors1);
  }
  ...

Problem is I get the ConcurrentModificationException when I try and do either of the 
errors.add methods above. Methods
method1/method2 are pretty vanilla, just doing some database work and accumulating any 
errors in an associated ActionErrors.

I've searched the archives but only found one or two references to 
ConcurrentModificationException and they did not involve
ActionErrors. Any ideas or help is appreciated.

- Richard



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



Re: ConcurrentModificationException on ActionErrors

2003-12-31 Thread Paul-J Woodward

I don't know what is causing the exact error from your code snippet, but a 
ConcurrentModificationException is thrown when you try to modify a list on which you 
have an iterator.

See here: 
http://java.sun.com/j2se/1.4.1/docs/api/java/util/ConcurrentModificationException.html

Paul

Global Equity Derivatives Technology
Deutsche Bank [/]
Office  +44 (0)20 754 55458
Mobile +44 (0)7736 299483
Fax  +44 (0)20 7547 2752



   
   
 
  Richard Mixon   
   
 
  (qwest) To:   Struts Users Mailing List 
[EMAIL PROTECTED]
  
  [EMAIL PROTECTED]cc:
   
  
  iz  Subject:  
ConcurrentModificationException on ActionErrors
   
   
   
 
  31/12/2003 15:36 
   
 
  Please respond to
   
 
  Struts Users
   
 
  Mailing List
   
 
   
   
 
   
   
 




I have a Struts action that is trying to show all of the errors that might occur from 
either or both of two subordinate methods. The
code looks like:

  ...
  ActionErrors errors = new ActionErrors();
  ActionErrors errors1 = null;
  ActionErrors errors2 = null;

  Obj1 obj1 = new Obj1();
  Obj2 obj2 = new Obj2();

  obj1.method1();
  errors1 = obj1.getErrors();
  if (!errors1.isEmpty()) {
  errors.add(errors1);
  }

  obj2.method2();
  errors2 = obj2.getErrors();
  if (!errors2.isEmpty()) {
  errors.add(errors1);
  }
  ...

Problem is I get the ConcurrentModificationException when I try and do either of the 
errors.add methods above. Methods
method1/method2 are pretty vanilla, just doing some database work and accumulating any 
errors in an associated ActionErrors.

I've searched the archives but only found one or two references to 
ConcurrentModificationException and they did not involve
ActionErrors. Any ideas or help is appreciated.

- Richard



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






--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



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



RE: ConcurrentModificationException on ActionErrors

2003-12-31 Thread Richard Mixon (qwest)
Paul,

Thanks I had seen the exception javadoc. An in one of my subordinate methods I do have 
a logging snippet that uses an Iterator to
display ALL of the contents of the ActionErrors. And I imagine that my subsequent use 
of the ActionErrors.add(ActionErrors) method
also uses an Iterator to enumerate the ActionError objects. Is there anyway to close 
the first Iterator so that it does not cause
this conflict?

Thanks again - Richard

-Original Message-
From: Paul-J Woodward [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 8:51 AM
To: Struts Users Mailing List
Subject: Re: ConcurrentModificationException on ActionErrors



I don't know what is causing the exact error from your code snippet, but a 
ConcurrentModificationException is thrown when you try to
modify a list on which you have an iterator.

See here: 
http://java.sun.com/j2se/1.4.1/docs/api/java/util/ConcurrentModificationException.html

Paul

Global Equity Derivatives Technology
Deutsche Bank [/]
Office  +44 (0)20 754 55458
Mobile +44 (0)7736 299483
Fax  +44 (0)20 7547 2752




  Richard Mixon
  (qwest) To:   Struts Users Mailing List 
[EMAIL PROTECTED]
  [EMAIL PROTECTED]cc:
  iz  Subject:  
ConcurrentModificationException on ActionErrors

  31/12/2003 15:36
  Please respond to
  Struts Users
  Mailing List






I have a Struts action that is trying to show all of the errors that might occur from 
either or both of two subordinate methods. The
code looks like:

  ...
  ActionErrors errors = new ActionErrors();
  ActionErrors errors1 = null;
  ActionErrors errors2 = null;

  Obj1 obj1 = new Obj1();
  Obj2 obj2 = new Obj2();

  obj1.method1();
  errors1 = obj1.getErrors();
  if (!errors1.isEmpty()) {
  errors.add(errors1);
  }

  obj2.method2();
  errors2 = obj2.getErrors();
  if (!errors2.isEmpty()) {
  errors.add(errors1);
  }
  ...

Problem is I get the ConcurrentModificationException when I try and do either of the 
errors.add methods above. Methods
method1/method2 are pretty vanilla, just doing some database work and accumulating any 
errors in an associated ActionErrors.

I've searched the archives but only found one or two references to 
ConcurrentModificationException and they did not involve
ActionErrors. Any ideas or help is appreciated.

- Richard



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






--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this
e-mail in error) please notify the sender immediately and destroy this e-mail. Any 
unauthorized copying, disclosure or distribution
of the material in this e-mail is strictly forbidden.



-
To unsubscribe, 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: ConcurrentModificationException on ActionErrors

2003-12-31 Thread Kris Schneider
It almost sounds like your code isn't handling errors1 and/or errors2 in a
thread-safe manner. ConcurrentModificationException will be thrown if one thread
is in the proces of iterating over a collection and another thread modifies that
collection. ActionMessages.add(ActionMessages) will iterate over both the arg's
properties and the messages for each property, so there's certainly the
potential for the error you're seeing. Can you provide some more detail on how
your code is organized?

BTW, not sure if it's a c/p error, but you've got:

if (!errors2.isEmpty()) {
  errors.add(errors1);  // shouldn't that be errors2?
}

Quoting Richard Mixon (qwest) [EMAIL PROTECTED]:

 I have a Struts action that is trying to show all of the errors that might
 occur from either or both of two subordinate methods. The
 code looks like:
 
   ...
   ActionErrors errors = new ActionErrors();
   ActionErrors errors1 = null;
   ActionErrors errors2 = null;
 
   Obj1 obj1 = new Obj1();
   Obj2 obj2 = new Obj2();
 
   obj1.method1();
   errors1 = obj1.getErrors();
   if (!errors1.isEmpty()) {
   errors.add(errors1);
   }
 
   obj2.method2();
   errors2 = obj2.getErrors();
   if (!errors2.isEmpty()) {
   errors.add(errors1);
   }
   ...
 
 Problem is I get the ConcurrentModificationException when I try and do either
 of the errors.add methods above. Methods
 method1/method2 are pretty vanilla, just doing some database work and
 accumulating any errors in an associated ActionErrors.
 
 I've searched the archives but only found one or two references to
 ConcurrentModificationException and they did not involve
 ActionErrors. Any ideas or help is appreciated.
 
 - Richard

-- 
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/

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



RE: JAAS and roles attribute of logic:present

2003-12-31 Thread Karr, David
Are you using basic auth, or form auth?  I would use form auth, but I
don't know that it would make a difference.

You may have to secure the entire application with a role that all users
will be guaranteed to have.

 -Original Message-
 From: Daniel Massie [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, December 30, 2003 4:58 PM
 To: Struts Users Mailing List
 Subject: Re: JAAS and roles attribute of logic:present
 
 
 If I firstly go to a secured area, I am redirected to the 
 login page. I 
 log in, get sent to my original request (secure area). If I then go 
 immediately  to an unsecure area, there is no principal or 
 subject (both 
 null).
 
 If I go to the unsecured area without an existing session, 
 there is also 
 no principal or subject (both null) as expected.
 
 Daniel
 
 Karr, David wrote:
 
 I'm not sure what problem you're having.  Are you saying 
 that after you
 specify your login when accessing a secured area, you then 
 immediately
 (before session timeout) access an unsecured area that checks
 role=admin and thinks you don't have that role (I would be 
 surprised
 if it did that)?  Or is your first access (without an 
 existing session)
 to the unsecured area?  If that's the case, then there 
 definitely won't
 be an existing principal.  Did you think there would be?
 
   
 
 
 
 -
 To unsubscribe, 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: ConcurrentModificationException on ActionErrors

2003-12-31 Thread Ben Anderson
Could you show the implementation(s) of your ObjX.getErrors() methods.  I'm 
guessing there's probably a better way to do what you're trying to do.

It probably has something to do with the implementation of:
http://jakarta.apache.org/struts/api/org/apache/struts/action/ActionMessages.html#add(org.apache.struts.action.ActionMessages)
which calls:
http://jakarta.apache.org/struts/api/org/apache/struts/action/ActionMessages.html#properties()
which returns an Iterator, which, as described below probably throws your 
exception.
It sounds like the ActionErrors instance you're adding may be the same one 
you're trying to add it to.
-Ben

From: Paul-J Woodward [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: ConcurrentModificationException on ActionErrors
Date: Wed, 31 Dec 2003 15:51:01 +
I don't know what is causing the exact error from your code snippet, but a 
ConcurrentModificationException is thrown when you try to modify a list on 
which you have an iterator.

See here: 
http://java.sun.com/j2se/1.4.1/docs/api/java/util/ConcurrentModificationException.html

Paul

Global Equity Derivatives Technology
Deutsche Bank [/]
Office  +44 (0)20 754 55458
Mobile +44 (0)7736 299483
Fax  +44 (0)20 7547 2752



  Richard Mixon
  (qwest) To:   Struts Users 
Mailing List [EMAIL PROTECTED]
  [EMAIL PROTECTED]cc:
  iz  Subject:  
ConcurrentModificationException on ActionErrors

  31/12/2003 15:36
  Please respond to
  Struts Users
  Mailing List




I have a Struts action that is trying to show all of the errors that might 
occur from either or both of two subordinate methods. The
code looks like:

  ...
  ActionErrors errors = new ActionErrors();
  ActionErrors errors1 = null;
  ActionErrors errors2 = null;
  Obj1 obj1 = new Obj1();
  Obj2 obj2 = new Obj2();
  obj1.method1();
  errors1 = obj1.getErrors();
  if (!errors1.isEmpty()) {
  errors.add(errors1);
  }
  obj2.method2();
  errors2 = obj2.getErrors();
  if (!errors2.isEmpty()) {
  errors.add(errors1);
  }
  ...
Problem is I get the ConcurrentModificationException when I try and do 
either of the errors.add methods above. Methods
method1/method2 are pretty vanilla, just doing some database work and 
accumulating any errors in an associated ActionErrors.

I've searched the archives but only found one or two references to 
ConcurrentModificationException and they did not involve
ActionErrors. Any ideas or help is appreciated.

- Richard



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




--

This e-mail may contain confidential and/or privileged information. If you 
are not the intended recipient (or have received this e-mail in error) 
please notify the sender immediately and destroy this e-mail. Any 
unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Working moms: Find helpful tips here on managing kids, home, work —  and 
yourself.   http://special.msn.com/msnbc/workingmom.armx

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


RE: Problem with action chaining

2003-12-31 Thread Tim Lucia
So is it a bad design if you have

Action1 - add CollectionOfObject1 to request
Action2 - add Object2 request

And then chain them together to produce two request attributes?  I have
some pages which display a list of Object1, and other pages which
require the Collection to populate a select.  So I define action path 1
to be action 1 and forward to the display for the Collection of Object1,
and define action path 2 to be action 1 forward to action 2 forward to
editor page which has a select of collection of object 1, while editing
Object2.

Thanks,
Tim

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, December 31, 2003 4:04 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: RE: Problem with action chaining
 
 
 Hi ,
 As pointed out by Mohan, Action chainning is not a good 
 design practice... You can forward from one action to another 
 but they should eb performing completely independent units of 
 work.If two actions are used to complete only bits of work to 
 complete one logical response, then it is a bad design. There 
 is a discussion thread about action chainning in mail archive.



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



RE: ConcurrentModificationException on ActionErrors

2003-12-31 Thread Richard Mixon (qwest)
Ben,

The implementation is a pretty simple getter. The ActionErrors object is built by 
the call to obj1.method1().


/**
 *  Get ActionErrors object
 */
public ActionErrors getErrors() {
return errors;
}

The actual code for obj1 is very large (1900 lines) and of course 99% is not relevant 
to the issue (but which 1% is :) ) so I
hesitate to attach it.

The obj1 and obj2 objects (not their actual names) are actually DAO objects that take 
as input a Struts form bean and update and
add/chg/delete the corresponding database object. All of the edit, error and mapping 
code is included (generated by XDoclet) so its
huge (actually compiles small, but being generated its quite verbose).

If I cannot figure this out, I will go back to a simpler strategy. I had weanted to 
let the user see all errors at once, rather than
showing them some, having them correct them and then showing them more.

Thanks again - Richard

-Original Message-
From: Ben Anderson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 9:04 AM
To: [EMAIL PROTECTED]
Subject: Re: ConcurrentModificationException on ActionErrors


Could you show the implementation(s) of your ObjX.getErrors() methods.  I'm
guessing there's probably a better way to do what you're trying to do.

It probably has something to do with the implementation of:
http://jakarta.apache.org/struts/api/org/apache/struts/action/ActionMessages.html#add(org.apache.struts.action.ActionMessages)
which calls:
http://jakarta.apache.org/struts/api/org/apache/struts/action/ActionMessages.html#properties()
which returns an Iterator, which, as described below probably throws your
exception.
It sounds like the ActionErrors instance you're adding may be the same one
you're trying to add it to.
-Ben

From: Paul-J Woodward [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: ConcurrentModificationException on ActionErrors
Date: Wed, 31 Dec 2003 15:51:01 +


I don't know what is causing the exact error from your code snippet, but a
ConcurrentModificationException is thrown when you try to modify a list on
which you have an iterator.

See here:
http://java.sun.com/j2se/1.4.1/docs/api/java/util/ConcurrentModificationException.html

Paul

Global Equity Derivatives Technology
Deutsche Bank [/]
Office  +44 (0)20 754 55458
Mobile +44 (0)7736 299483
Fax  +44 (0)20 7547 2752




   Richard Mixon
   (qwest) To:   Struts Users
Mailing List [EMAIL PROTECTED]
   [EMAIL PROTECTED]cc:
   iz  Subject:
ConcurrentModificationException on ActionErrors

   31/12/2003 15:36
   Please respond to
   Struts Users
   Mailing List






I have a Struts action that is trying to show all of the errors that might
occur from either or both of two subordinate methods. The
code looks like:

   ...
   ActionErrors errors = new ActionErrors();
   ActionErrors errors1 = null;
   ActionErrors errors2 = null;

   Obj1 obj1 = new Obj1();
   Obj2 obj2 = new Obj2();

   obj1.method1();
   errors1 = obj1.getErrors();
   if (!errors1.isEmpty()) {
   errors.add(errors1);
   }

   obj2.method2();
   errors2 = obj2.getErrors();
   if (!errors2.isEmpty()) {
   errors.add(errors1);
   }
   ...

Problem is I get the ConcurrentModificationException when I try and do
either of the errors.add methods above. Methods
method1/method2 are pretty vanilla, just doing some database work and
accumulating any errors in an associated ActionErrors.

I've searched the archives but only found one or two references to
ConcurrentModificationException and they did not involve
ActionErrors. Any ideas or help is appreciated.

- Richard



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






--

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



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


_
Working moms: Find helpful tips here on managing kids, home, work —  and
yourself.   http://special.msn.com/msnbc/workingmom.armx


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

RE: ConcurrentModificationException on ActionErrors

2003-12-31 Thread Richard Mixon (qwest)
Kris,

Thanks - I do not think I have multiple threads involved, but certaily multiple 
Iterators may be hanging around that are not GC'd
yet.

And yes that was a typo. Because the real code is so huge, I created a simple example 
to paste in and obviously did not compile it
:)

 - Richard

-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 9:01 AM
To: Struts Users Mailing List
Subject: Re: ConcurrentModificationException on ActionErrors


It almost sounds like your code isn't handling errors1 and/or errors2 in a
thread-safe manner. ConcurrentModificationException will be thrown if one thread
is in the proces of iterating over a collection and another thread modifies that
collection. ActionMessages.add(ActionMessages) will iterate over both the arg's
properties and the messages for each property, so there's certainly the
potential for the error you're seeing. Can you provide some more detail on how
your code is organized?

BTW, not sure if it's a c/p error, but you've got:

if (!errors2.isEmpty()) {
  errors.add(errors1);  // shouldn't that be errors2?
}

Quoting Richard Mixon (qwest) [EMAIL PROTECTED]:

 I have a Struts action that is trying to show all of the errors that might
 occur from either or both of two subordinate methods. The
 code looks like:

   ...
   ActionErrors errors = new ActionErrors();
   ActionErrors errors1 = null;
   ActionErrors errors2 = null;

   Obj1 obj1 = new Obj1();
   Obj2 obj2 = new Obj2();

   obj1.method1();
   errors1 = obj1.getErrors();
   if (!errors1.isEmpty()) {
   errors.add(errors1);
   }

   obj2.method2();
   errors2 = obj2.getErrors();
   if (!errors2.isEmpty()) {
   errors.add(errors1);
   }
   ...

 Problem is I get the ConcurrentModificationException when I try and do either
 of the errors.add methods above. Methods
 method1/method2 are pretty vanilla, just doing some database work and
 accumulating any errors in an associated ActionErrors.

 I've searched the archives but only found one or two references to
 ConcurrentModificationException and they did not involve
 ActionErrors. Any ideas or help is appreciated.

 - Richard

--
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.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]



Struts Workflow Extension - backwards workflow

2003-12-31 Thread Richard Newton

I am using the Struts Workflow Extension in a sequence of pages, with one
workflow per page, to prevent users from navigating with the browser buttons,
and this works very well. 
I would however like to have my own back button on some pages so that the user
can go back to a page with attributes etc reset first.
I've tried quite a number of configurations of workflows but have failed to get
it working.
Adding my own back button to the workflow either:
1. re-enables the browser back button on that page, or else
2. causes problems on the page that has been returned to - the submit/next-page
button for that page now generates a previous state violation.
I am not sure whether I am missing something obvious or whether what I am trying
to do is infact logically impossible.
If anyone has implemeted this type of workflow successfully, any advice would be
much appreciated.
Regards, Richard Newton.



This message was sent using IMP, the Internet Messaging Program.

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



Tomcat Ant tasks and JDeveloper

2003-12-31 Thread Ed Dowgiallo



When using the custom Ant definitions for the 
Tomcat Manager web application, the instructions are normally to place the 
catalina-ant.jar file in the ant/lib directory. Within which JDeveloper 
directory should this jar file be placed when using the Ant 1.5 support in the 
JDeveloper 9.0.5 preview? Anyone have experience with this?

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

RE: ConcurrentModificationException on ActionErrors

2003-12-31 Thread Kris Schneider
Although it's possible to generate that exception from within the same thread,
it's usually triggered by multiple threads accessing the same collection. In
general, if you grab an iterator, then modify the underlying collection, and
then call iter.next(), you'll see that exception. Having multiple iterators
shouldn't be an issue - you don't explicitly close an iterator like a database
connection. It will be GC-ed just like any other object. The problem really
boils down to modifying the backing collection while iteration is in progress.
By in progress, I mean doing something like calling iter.next(), not that
there's just an iterator instance lying around.

Quoting Richard Mixon (qwest) [EMAIL PROTECTED]:

 Kris,
 
 Thanks - I do not think I have multiple threads involved, but certaily
 multiple Iterators may be hanging around that are not GC'd
 yet.
 
 And yes that was a typo. Because the real code is so huge, I created a simple
 example to paste in and obviously did not compile it
 :)
 
  - Richard
 
 -Original Message-
 From: Kris Schneider [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 31, 2003 9:01 AM
 To: Struts Users Mailing List
 Subject: Re: ConcurrentModificationException on ActionErrors
 
 
 It almost sounds like your code isn't handling errors1 and/or errors2 in a
 thread-safe manner. ConcurrentModificationException will be thrown if one
 thread
 is in the proces of iterating over a collection and another thread modifies
 that
 collection. ActionMessages.add(ActionMessages) will iterate over both the
 arg's
 properties and the messages for each property, so there's certainly the
 potential for the error you're seeing. Can you provide some more detail on
 how
 your code is organized?
 
 BTW, not sure if it's a c/p error, but you've got:
 
 if (!errors2.isEmpty()) {
   errors.add(errors1);  // shouldn't that be errors2?
 }
 
 Quoting Richard Mixon (qwest) [EMAIL PROTECTED]:
 
  I have a Struts action that is trying to show all of the errors that
 might
  occur from either or both of two subordinate methods. The
  code looks like:
 
...
ActionErrors errors = new ActionErrors();
ActionErrors errors1 = null;
ActionErrors errors2 = null;
 
Obj1 obj1 = new Obj1();
Obj2 obj2 = new Obj2();
 
obj1.method1();
errors1 = obj1.getErrors();
if (!errors1.isEmpty()) {
errors.add(errors1);
}
 
obj2.method2();
errors2 = obj2.getErrors();
if (!errors2.isEmpty()) {
errors.add(errors1);
}
...
 
  Problem is I get the ConcurrentModificationException when I try and do
 either
  of the errors.add methods above. Methods
  method1/method2 are pretty vanilla, just doing some database work and
  accumulating any errors in an associated ActionErrors.
 
  I've searched the archives but only found one or two references to
  ConcurrentModificationException and they did not involve
  ActionErrors. Any ideas or help is appreciated.
 
  - Richard
 
 --
 Kris Schneider mailto:[EMAIL PROTECTED]
 D.O.Tech   http://www.dotech.com/

-- 
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/

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



Re: Key words in struts-config.xml

2003-12-31 Thread Kirk Wylie
Could you provide your struts-config.xml file as well as any output from 
your servlet container indicating what errors happen when you try to 
load the application?

Kirk Wylie
M7 Corporation
Swaminathan Rajagopalan wrote:

Hi,

I have to specify a URL in the path for an action mapping in 
struts-config.xml.

The URL has a key word context and on server start up the xml file 
could not be loaded.

How to overcome the same?

///Regards,/

/Swaminathan Rajagopalan,///

/Ph : (8520261) Extn: 55955/

/Mail : [EMAIL PROTECTED]/



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


RE: Problem with action chaining

2003-12-31 Thread Ted Husted
On Wed, 31 Dec 2003 12:36:33 -0500, Tim Lucia wrote:
 So is it a bad design if you have


 Action1 - add CollectionOfObject1 to request
 Action2 - add Object2 request


 And then chain them together to produce two request attributes?  I
 have some pages which display a list of Object1, and other pages
 which require the Collection to populate a select.  So I define
 action path 1 to be action 1 and forward to the display for the
 Collection of Object1, and define action path 2 to be action 1
 forward to action 2 forward to editor page which has a select of
 collection of object 1, while editing Object2.

One common strategy is to use one action as a page controller and another as
the business transaction controller.

The business action works as a go between with the business API and DAO
objects. The Action class extracts any needed input from the ActionForm and
packages for the API/DAO objects. If appropriate, it also bundles any output and
places it in a servlet context, sometimes by populating an ActionForm, other
times by creating some other bean.

The page action ensures that whatever assets the page needs are available.
These may be lists for drop-down boxes and so forth. This may also mean
interacting with the API/DAO objects, but the interaction is static and driven
by the page display requirements, rather than what the user input..

As mentioned, each of these actions should represent a single unit of work.
The business Action is an adapter for the user input. The page Action is an
adapter for the page output.

The core idea is that Actions are Adapters -- not the actual working classes.
When people start chaining several actions together, it is usually a signal that
the Actions classes are doing actual work, rather than just acting as a
go-between with the business classes.

The problem with Actions doing the work is that these classes are bound to
Struts and to the HttpServlet platform. Struts Actions are not easy to reuse
outside of Struts and are more difficult to test than POJO business classes.

Creating your own set of business API or DAO classes isn't difficult. You can
use a PlugIn to create a instance of your classes in application scope under a
known name and then have the Actions call them there. Just be sure they are
thread-safe, like Actions.

Or, depending on your circumstances, Actions can create new instances of
business classes so you don't have to worry about thread-safety. Object creates
are a lot cheaper than they used to be.

If several of the page or business Action classes need to do the same thing that
isn't business-related (create some presentation collection or what-not), you
can put that code in a base Action that any subclass can call. In that way, you
get code-reuse the old-fashioned way, instead of by making multiple trips
through the HTTP layer.

HTH, Ted.




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



Re: JAAS and roles attribute of logic:present

2003-12-31 Thread Daniel Massie
I am using form based authentication. If I was to secure the entire 
application how can I assign a role to user's who have not logged in?

Karr, David wrote:

Are you using basic auth, or form auth?  I would use form auth, but I
don't know that it would make a difference.
You may have to secure the entire application with a role that all users
will be guaranteed to have.
 

-Original Message-
From: Daniel Massie [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 30, 2003 4:58 PM
To: Struts Users Mailing List
Subject: Re: JAAS and roles attribute of logic:present

If I firstly go to a secured area, I am redirected to the 
login page. I 
log in, get sent to my original request (secure area). If I then go 
immediately  to an unsecure area, there is no principal or 
subject (both 
null).

If I go to the unsecured area without an existing session, 
there is also 
no principal or subject (both null) as expected.

Daniel

Karr, David wrote:

   

I'm not sure what problem you're having.  Are you saying 
 

that after you
   

specify your login when accessing a secured area, you then 
 

immediately
   

(before session timeout) access an unsecured area that checks
role=admin and thinks you don't have that role (I would be 
 

surprised
   

if it did that)?  Or is your first access (without an 
 

existing session)
   

to the unsecured area?  If that's the case, then there 
 

definitely won't
   

be an existing principal.  Did you think there would be?



 

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

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


 



--
Daniel Massie
http://www.dmassie.org.uk
http://jbay.dmassie.org.uk


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


Serving up Tiles based on Role

2003-12-31 Thread Matt Raible
I'd love to serve up a specific tile based on a role, but it doesn't
seem like it's currently possible in the Tiles Framework. Basically, I
want to do the following:

!-- User Profile definition --
definition name=.userProfile extends=.mainMenu
put name=title.key value=userProfile.title/
put name=heading.key value=userProfile.heading/
put name=content value=/WEB-INF/pages/userProfile.jsp
role=admin/
put name=content value=/WEB-INF/pages/userDetail.jsp
role=tomcat/
/definition

In this example, users with role admin get the userProfile.jsp, while
users with a tomcat role get the userDetail.jsp.  Unfortunately,
role is not an allowed attribute on put.

It seems it's only possible to do this on a definition level - but then
they cannot be the same name, and it seems rather clunky.  For the
definition stuff, it'd be nice to do:

definition name=.userProfile extends=.mainMenu
put name=title.key value=userProfile.title/
put name=heading.key value=userProfile.heading/
put name=content value=.meatOfPage/
/definition

definition name=.meatOfPage path=/WEB-INF/pages/userProfile.jsp
role=admin/
definition name=.meatOfPage path=/WEB-INF/pages/userDetail.jsp
role=tomcat/

Any tips are appreciated.

Matt



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



Re: Serving up Tiles based on Role

2003-12-31 Thread Tin Pham
Role based tiles is possible in the Tiles framework by putting your own
controller before the tile definition.

The pdf document,
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf gives an
example of how to do this at Cedric Dumoulin's site,
http://www.lifl.fr/~dumoulin/tiles/


Happy New Year,

Tin


Matt Raible [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I'd love to serve up a specific tile based on a role, but it doesn't
 seem like it's currently possible in the Tiles Framework. Basically, I
 want to do the following:

 !-- User Profile definition --
 definition name=.userProfile extends=.mainMenu
 put name=title.key value=userProfile.title/
 put name=heading.key value=userProfile.heading/
 put name=content value=/WEB-INF/pages/userProfile.jsp
 role=admin/
 put name=content value=/WEB-INF/pages/userDetail.jsp
 role=tomcat/
 /definition

 In this example, users with role admin get the userProfile.jsp, while
 users with a tomcat role get the userDetail.jsp.  Unfortunately,
 role is not an allowed attribute on put.

 It seems it's only possible to do this on a definition level - but then
 they cannot be the same name, and it seems rather clunky.  For the
 definition stuff, it'd be nice to do:

 definition name=.userProfile extends=.mainMenu
 put name=title.key value=userProfile.title/
 put name=heading.key value=userProfile.heading/
 put name=content value=.meatOfPage/
 /definition

 definition name=.meatOfPage path=/WEB-INF/pages/userProfile.jsp
 role=admin/
 definition name=.meatOfPage path=/WEB-INF/pages/userDetail.jsp
 role=tomcat/

 Any tips are appreciated.

 Matt




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



Re: is there an eta for struts 1.2 beta?

2003-12-31 Thread Ted Husted
On Tue, 30 Dec 2003 15:52:03 -0500, John McGrath wrote:
 we've been using a nightly build of 1.2, in order to be be able to
 more easily put ActionMessages into the session object. we're a
 little leery of putting it into production, though, until there's
 at least an official beta... any idea when that might be?

 this is our first struts project, and we're excited about it. many
 thanks to the developers.

 john

We're working down the short-list of outstanding problem reports.

http://tinyurl.com/yqxyk

I believe that when these are clear, we should be able to roll the 1.2.0
release. This will start out as an alpha, and then may proceed to beta, and even
General Availability (stable), depending on the votes of the committers.

Other than these issues, it shouldn't be any different than the nightly build
though.

I also wanted to include more of the outstanding enhancements, especially those
with patches http://tinyurl.com/2zhzp, but those may have to wait for 1.2.1 :)

-Ted.



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



Bean As A Parameter In A Method - Compilation Error

2003-12-31 Thread Caroline Jen
I followed the MVC design.  I give the data access
activity (insertThread) to the ThreadHandler class. 
And a bean is passed as a parameter of the
insertThread method.  However, I got compilation error
saying that 

insertThread(java.lang.String, java.lang.String, ... ,
java.sql.Timastamp, int, ... ) cannto be applied to
the ThreadBean.
and the error complains the statement in my action
class:
threadID = thandler.insertThread( threadBean );

This is what I did in the action class:

ThreadHandler thandler = new ThreadHandler();
ThreadBean threadBean = new ThreadBean();
BeanUtils.copyProperties( threadBean, postForm );

if (parentPostID == 0 ) // new topic
{
   threadBean.setLastPostMemberName( memberName );
   threadBean.setThreadCreationDate( now );
   threadBean.setThreadViewCount( 0 );
   threadBean.setThreadReplyCount( 0 );

   threadID = thandler.insertThread( threadBean );
}

and this is what I did in the ThreadHandler class:

class ThreadHandler extends ThreadBean 
{
   String receiver = getReceiver();
   String sender = getSender();
   String title = getTitle();
   String lastPostMemberName =
getLastPostMemberName();
   String threadTopic = getThreadTopic();
   String threadBody = getThreadBody();
   Timestamp threadCreationDate =
getThreadCreationDate();
   int threadViewCount = getThreadViewCount();
   int threadReplyCount = getThreadReplyCount();

   public ThreadHandler() {}

   public int insertThread( String receiver, String
sender, String title, String lastPostMemberName,
String threadTopic, String threadBody, Timestamp
threadCreationDate, int threadViewCount, int
threadReplyCount ) throws MessageDAOSysException
   {  }
}

__
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003

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