sql server datasource - howto?

2003-12-02 Thread dario
. (legacy package is not in the classpath) do i need GenericDatasource at all? i thought i can live without it since SQLServerDataSource implements DataSource interface. thankyou! dario - To unsubscribe, e-mail: [EMAIL

RE: Right way to extends Action

2003-03-31 Thread Dario Geier
I would change the signature of the executeAction method not to throw Exception, but a custom ActionException. This way, you would be able to be aware of what exceptions are thrown in your action code. i.e. public abstract ActionForward executeAction(ActionMapping _mapping,

RE: Design Problem Action Class

2003-03-31 Thread Dario Geier
I am having the same problem shortly. I am thinking of the following solution: First, you'll need to inherit from all the action type classes you'll need in your application. Action DispatchAction SwitchAction YY Y MyAction

RE: Design Problem Action Class

2003-03-31 Thread Dario Geier
To: Struts Users Mailing List Subject: Re: Design Problem Action Class so this is the only solution i was thinking if somehow i can 2 extend classes. ;-) __C++ was good__ - Original Message - From: Dario Geier [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday

RE: Design Problem Action Class

2003-03-31 Thread Dario Geier
all of this from all other actions, it is stringly discouraged in struts..Use of Actions as APIs is strongly discouraged.. -Original Message- From: Dario Geier [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 2:56 PM To: Struts Users Mailing List Subject: RE: Design Problem Action

RE: Design Problem Action Class

2003-03-31 Thread Dario Geier
: Design Problem Action Class this sounds good idea...But still I dont see any reason to extend those helpr classes..U can use them out of the box :-)) -Original Message- From: Dario Geier [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 3:20 PM To: Struts Users Mailing List

RE: Right way to extends Action

2003-03-31 Thread Dario Geier
Message - From: Dario Geier [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, March 31, 2003 2:41 PM Subject: RE: Right way to extends Action I would change the signature of the executeAction method not to throw Exception, but a custom ActionException. This way

RE: Right way to extends Action

2003-03-31 Thread Dario Geier
with this handler. -- regards - Original Message - From: Dario Geier [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, March 31, 2003 4:41 PM Subject: RE: Right way to extends Action Ho Xavier, so, how do you know which exception are thrown? You'll discover them

RE: Right way to extends Action

2003-03-31 Thread Dario Geier
declaration is present in the config file so as to redirect the response accordingly. Regards, Xavier - Original Message - From: Dario Geier [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, March 31, 2003 5:32 PM Subject: RE: Right way to extends Action

Error Properties for Declarative Exception Handling

2003-03-25 Thread Dario Geier
I would like to know if is there any way to add the ActionError property parameter in the Exception definition in the struts-config.xml file. I see that the DTD defines how to specify the message key for the Error, so I presumed that there should be a way to specify the property too, as for

Re: displaying \n in html?

2003-03-04 Thread dario
David Graham [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i'd love to see one-liner that converts char to string. return newlineString.replaceAll(\n, br/); which is not very backward compatible, i am still at 1.3

Re: displaying \n in html?

2003-03-03 Thread dario
David Graham [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] LOL David yeah, right, i could have expected so. i sent about five questions to this mailing list and i never NEVER got an answer. and i don't think that the reason is i ask stupid questions, in fact most of the

displaying \n in html?

2003-03-02 Thread dario
i allways store new line char in string as \n, because i never know where is it going to be displayed (console,webpage,etc...), but when i need to display it in web page it shoud be converted to something like br (although w3c doesn't recomend using br, i don't understand why) pre doesn't work for