Newbie: Action class - how to make it thread safe?

2003-01-26 Thread Sowbhagya Valli Suryadevara
HI, We are using the struts(1.0.2) framework in our application. When multiple users are clicking on the same SAVE button simultaneously the data is getting interchanged for the users. Am I supposed to synchronize any of the blocks? The sample code provided by struts does not have any

RE: Newbie: Action class - how to make it thread safe?

2003-01-26 Thread mech
Your Action class seems to be thread-safe since you only use variables within the perform method and no Action class variables. But I guess that you encounter concurrent access to your database, although I don't know what is done in the DAO class, if it's transaction safe or whatever. If I would

Expresso Frame work

2003-01-26 Thread Alireza Fattahi
Hi, Did any one uses Expresso in conjunction with Struts? Alireza. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Wrong version 48.0, should be 47.0?

2003-01-26 Thread Joe Latty
Has anyone come up against this error whilst trying to compile a jsp: Generated servlet error: bad class file: C:\j2sdk1.4.1\jre\lib\rt.jar(java/lang/Object.class) class file has wrong version 48.0, should be 47.0 Please remove or make sure it appears in the correct subdirectory of the classpath.

Re: Wrong version 48.0, should be 47.0?

2003-01-26 Thread alexj
Hi Joe, I just have the same configuration for the jdk and struts but I'm running tomcat 4.1.18 and I didn't get any error like you got. - Original Message - From: Joe Latty [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, January 26, 2003 4:11 PM

Re: Expresso Frame work

2003-01-26 Thread Peter A. Pilgrim
Alireza Fattahi wrote: Hi, Did any one uses Expresso in conjunction with Struts? Alireza. Does anyone ...? Yes. Expresso Framework 5.0 release uses Struts 1.0.2 code as its MVC mechanism. As a core committer to Expresso I will be looking at upgrading Expresso to use Struts 1.1 code soon as

Re: [OT] Friday!

2003-01-26 Thread V. Cekvenich
Mark Galbreath wrote: So you're unemployed and need some guidance? Turn up the volume and go to: http://www.oddtodd.com Cheers! Mark Flash? More usefull is a rich GUI data grid: http://dynamic.macromedia.com/bin/MM/exchange/main.jsp?product=flash -- To unsubscribe, e-mail:

Re: Wrong version 48.0, should be 47.0?

2003-01-26 Thread Sven Bischoff
tomcat seems to use a 1.3-compiler with the 1.4-runtime classes. with jdk1.4 the version of the generated classes has changed from 47.0 to 48.0 (i guess due to the assert keyword). make sure your JAVA_HOME environment variable points to the new jdk. sven Joe Latty wrote: Has anyone come up

Blank screen when posting to DispatchAction

2003-01-26 Thread Kenny Smith
Hi all, I'm submitting to my dispatch action and getting a blank screen. In my struts config I've set the parameter attribute to 'method' and I'm submitting a form variable called 'method' that is equal to 'create'. However, the create() method in my action is not getting called. Nothing is

RE: [OT] Friday!

2003-01-26 Thread Jacob Hookom
| -Original Message- | From: news [mailto:[EMAIL PROTECTED]] On Behalf Of V. Cekvenich | Sent: Sunday, January 26, 2003 11:52 AM | To: [EMAIL PROTECTED] | Subject: Re: [OT] Friday! | | Mark Galbreath wrote: | So you're unemployed and need some guidance? Turn up the volume and go | to:

Re: Blank screen when posting to DispatchAction

2003-01-26 Thread Tim Fulmer
Not sure, but I get this behavior with v1.0.2 whenever there's no forward defined in the context of the action. That is, when a null forward is returned form doPerform. - Tim At 10:46 AM 1/26/2003, you wrote: Hi all, I'm submitting to my dispatch action and getting a blank screen. In my

RE: Newbie: Action class - how to make it thread safe?

2003-01-26 Thread Paul Hodgetts
Sowbhagya Valli Suryadevara wrote: We are using the struts(1.0.2) framework in our application. When multiple users are clicking on the same SAVE button simultaneously the data is getting interchanged for the users. Am I supposed to synchronize any of the blocks? The sample code provided by

DispatchAction error handling how to?

2003-01-26 Thread Johan Kumps
Hi all, Can somebody please trow a light on error handling using a DispatchAction. The class org.apache.struts.actions.DispatchAction in Struts 1.1b2 is catching an InvocationTargetException. So when the 'dispatchMethod' invokes a method that throws an exception, it's catched here. How can I

Re: DispatchAction error handling how to?

2003-01-26 Thread Rick Reumann
On Sun, Jan 26,'03 (09:43 PM GMT+0100), Johan wrote: Hi all, Can somebody please trow a light on error handling using a DispatchAction. The class org.apache.struts.actions.DispatchAction in Struts 1.1b2 is catching an InvocationTargetException. So when the 'dispatchMethod' invokes a

RE: DispatchAction error handling how to?

2003-01-26 Thread Johan Kumps
Hi, No I'm using beta 2 of Struts. I'll try to use beta 3 I keep you in touch. Kind regards, -Oorspronkelijk bericht- Van: Rick Reumann [mailto:[EMAIL PROTECTED]] Verzonden: zondag 26 januari 2003 22:27 Aan: Struts Users Mailing List Onderwerp: Re: DispatchAction error handling how to?

RE: DispatchAction error handling how to?

2003-01-26 Thread Johan Kumps
Could you please help me with an example of error handling using a dispatchAction using the declarative exception handling? Many thanks in advance, Kind regards -Oorspronkelijk bericht- Van: Johan Kumps [mailto:[EMAIL PROTECTED]] Verzonden: zondag 26 januari 2003 22:29 Aan: Struts Users

RE: Blank screen when posting to DispatchAction

2003-01-26 Thread Kenny Smith
Hi, I'm calling servlet.log() inside ManagePOPAction.create(), but they aren't showing up in the log. So, I don't even think my method is getting executed, much less returning null. :/ Any other suggestions? Kenny -Original Message- From: Tim Fulmer [mailto:[EMAIL PROTECTED]] Sent:

Re: urgent RowsetDynaClass help

2003-01-26 Thread Craig R. McClanahan
On Sat, 25 Jan 2003, usha wrote: Date: Sat, 25 Jan 2003 15:21:36 +0800 From: usha [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: urgent RowsetDynaClass help Hi i am trying to use the RowsetDynaclass in my actionform class like

Re: urgent RowsetDynaClass help

2003-01-26 Thread usha
Hi Craig my property type is long only. can you suggest me what i can do to use this RowsetDynaClass Thanks usha Craig R. McClanahan wrote: On Sat, 25 Jan 2003, usha wrote: Date: Sat, 25 Jan 2003 15:21:36 +0800 From: usha [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL

Re: urgent RowsetDynaClass help

2003-01-26 Thread Arunachalam Jaisankar
I think this is internal conversion problem. Your property type is long and ivtransbatchid is converted into integer based on the databased field type. What is your table field type? Ensure your property type and table field type are similar or compatible. I faced similar problem with money

Re: urgent RowsetDynaClass help

2003-01-26 Thread usha
Hi my table field type is Integer. i am using the jboss 3.0 as the application server and interbase 6.0 as the database. my problem is the when i check the columnclassname in the resultsetmetadata its showing as Long, but when i check this with the resultset getObject() its showing as

RE: [OT] test - please ignore

2003-01-26 Thread Daniel Joshua
Andrew, How were the showflats.. what's the standard price/loan rate/etc now? Just curious. Regards, Daniel -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 11:14 PM To: 'Struts Users Mailing List' Subject: RE: [OT] test - please ignore

RE: [OT] test - please ignore

2003-01-26 Thread Andrew Hill
Not bad... but I think we shall take this offline - Ive got a strange feeling that everyone on the list isnt interested, especially since it doesnt involve beer or friday... -Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED]] Sent: Monday, 27 January 2003 11:29 To: 'Struts

Re: urgent RowsetDynaClass help

2003-01-26 Thread Arunachalam Jaisankar
Instead of 'long' try using java.math.BigDecimal. It may work. By the way, where exactly you are getting conversion exception when executing the query or after that. - Original Message - From: usha [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, January

RE: [OT] JSF JSTL EL [WAS: RE: DynaBeans, Struts, OR mapping tools and code generators]

2003-01-26 Thread Andrew Hill
Thanks Craig :-) -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Saturday, 25 January 2003 14:47 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: [OT] JSF JSTL EL [WAS: RE: DynaBeans, Struts, OR mapping tools and code generators] On Thu, 23

[PATCH] Re: JSP cannot call an action in its own module

2003-01-26 Thread Milo Hyson
David M. Karr wrote: Milo == Milo Hyson [EMAIL PROTECTED] writes: Milo I've scanned the list here and found that many people seem to be having Milo this same problem, so I'm going to add to it. I have a simple Milo application with two modules, declared in the web.xml as

Re: urgent RowsetDynaClass help

2003-01-26 Thread usha
Hi i am not geeting this conversion error while executing the qyery. i am getting this error when i try to create the Rowsetdynaclass from this resultset. How to use the Bigdecimal in dyna beans they are created by this rowsetDynaclass Thanks usha Arunachalam Jaisankar wrote: Instead of