Re: 12 month contract - Toronto - immediate start

2003-04-03 Thread Scott Barr
Thats because being males, we can only do one thing at a time!! Scott www.exergonic.com.au On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote: I'll be 46 years old before I qualify for that job :) . Andrew Hill wrote: I see no struts here. And their minimum required experience adds up

Re: Session bean behavior when user creates new browserwindow......

2003-03-31 Thread Scott Barr
Hi Al I have addresses the dirty update problem by creating a DAO layer that checks an int field at the time of update to the database. If the value is different, someone updated it. No long locks, no worrying about sessions Very simple, but very effective. Scott Barr www.exergonic.com.au

RE: [OT] Contract Work: Going Rate?

2003-03-27 Thread Scott Barr
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

Re: java.lang.IllegalStateException: Cannot forward after responsehas been committed

2003-03-27 Thread Scott Barr
The last time I came across this, it was in a Model 1 app. I had written the top of the page (page heading, menus etc...) before including logic that forwarded the user onto another page. Do all your forwarding logic before writing any html Hope thats helpful Scott www.exergonic.com.au On

Re: java.lang.IllegalStateException: Cannot forward after responsehasbeen committed

2003-03-27 Thread Scott Barr
What you're doing sounds like a really good candidate for either a) Filters and Container Managed Security The CMS can manage your course level security (eg. are you logged on), and the Filter can manage the finer levels (can the user execute this action?) or b) the security filter project

Just let me be the first to say...

2003-03-27 Thread Scott Barr
TGIF!! Scott www.exergonic.com.au

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

2003-03-27 Thread Scott Barr
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

Re: How to get form values when actionForm is in session

2003-03-25 Thread Scott Barr
initially, which i think is what you are expecting. Scott Barr www.exergonic.com.au On Wed, 2003-03-26 at 14:48, gaffer wrote: I am trying to get the values from my actionForm that is in session scope but get nothing when I use: HttpSession session = request.getSession(true

RE: Datasource

2003-03-24 Thread Scott Barr
On Tue, 2003-03-25 at 14:14, Mark Galbreath wrote: Well, this is getting interesting. Why does t - i - h - s comes out this? -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 10:42 PM To: 'Struts Users Mailing List' Subject: RE:

Re: Datasource

2003-03-24 Thread Scott Barr
I thought I'd stumbled onto a fishing mailing list, with those near references to carp :) Scott Barr www.exergonic.com.au On Tue, 2003-03-25 at 14:16, Robert McIntosh wrote: must have been writing too much self referencing code... Mark Galbreath wrote: Well, this is getting interesting

Re: Datasource

2003-03-24 Thread Scott Barr
my connection code (which is used the Jakarta pooling stuff) to access a container managed connection. Scott Barr www.exergonic.com.au On Tue, 2003-03-25 at 14:35, Kwok Peng Tuck wrote: I usually pick number two (if you are refering to a jndi datasource) and leave the configuration to tomcat

Re: j_security_check

2003-03-19 Thread Scott Barr
got a logged in user via CMS, you can use Filters (if using a servlet 2.3 container) to make sure the users session is setup with all required objects. To log out, simply call session.invalidate() Regards Scott Barr www.exergonic.com.au On Thu, 2003-03-20 at 09:49, ronanoc wrote: I get

Re: j_security_check

2003-03-19 Thread Scott Barr
Hi Max I've really got to investigate the securityfilter for my next project :) Scott Barr www.exergonic.com.au On Thu, 2003-03-20 at 10:50, Max Cooper wrote: You can also use SecurityFilter, a filter-based clone of container-managed security. It allows you to set a default page to take

Re: Control Access

2003-03-19 Thread Scott Barr
Or as Max Cooper says, check out the securityfilter project :D I haven't used it myself, I use container manager authentication and jdbc realms, but the securityfilter project does look pretty cool. Scott Barr www.exergonic.com.au On Thu, 2003-03-20 at 15:59, Joey Ebright wrote

Re: Block action URL's typed in the browser

2003-03-18 Thread Scott Barr
Hi Mohan Just want to clarify before going further. CMS won't stop a user entering an URL directly into the browser. Basically entering an URL, or clicking on a link, which is not to be confused with POSTing a form, are the same thing. If the resource is protected by CMS you will still require

RE: [Q] Accessing struts-tiles attribute in a bean?

2003-03-16 Thread Scott Barr
Yeah, I'm exacly the same with Velocity. It is clean as a whistle, but I've gotta have my Tiles :) Scott Barr www.exergonic.com.au On Mon, 2003-03-17 at 04:49, Hue Holleran wrote: Not sure of 'best' way to this but I think this may work: tiles:useAttribute name=booboo classname

RE: One-time initializing in struts

2003-03-12 Thread Scott Barr
Hi Karl I use a Servlet to do app initialisation. Add the Servlet to web.xml, and set the load-on-startup parameter. Then you put the initialisation code in the Servlet, and you're away. Scott Barr www.exergonic.com.au On Thu, 2003-03-13 at 17:05, Andrew Hill wrote: Struts PlugIn might

RE: [Q] Log Viewing tool for Windows environment?

2003-03-11 Thread Scott Barr
Try cygwin, many useful tools there. Then again, you could always try Linux.. :) Scott Barr www.exergonic.com.au On Wed, 2003-03-12 at 12:20, Mark Galbreath wrote: VIM Mark -Original Message- From: Jeff Smith [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 12:02 PM

Re: purpose of Token Constants

2003-03-09 Thread Scott Barr
Also, every time you reference a String literal, an object is created. Using the static constant avoids this. Just good practice. Saving the creation of a couple of objects is moot, but on large projects on stressed servers, every little bit counts. Scott Barr www.exergonic.com.au On Mon, 2003

Re: purpose of Token Constants

2003-03-09 Thread Scott Barr
Hi David Is that all unique occurences of each unique String within the JVM? If so, there is still creation, and garbage disposal once the String goes out of scope, yes? Scott Barr www.exergonic.com.au On Mon, 2003-03-10 at 14:39, David M. Karr wrote: Scott == Scott Barr [EMAIL PROTECTED

Re: purpose of Token Constants

2003-03-09 Thread Scott Barr
Hmm... Reading that after I sent it, I think I secretly have a thing for the word, unique :) Scott On Mon, 2003-03-10 at 14:45, Scott Barr wrote: Hi David Is that all unique occurences of each unique String within the JVM? If so, there is still creation, and garbage disposal once

RE: [Microsoft][ODBC SQL Server Driver]Communication link failure

2003-02-25 Thread Scott Barr
Was it slow? I tried this particualr driver on 2 RedHat boxes, and one Mandrake, and found it extremely slow (approx 12 seconds) to create the connections initially. Not so much of a problem when using pooling, but... lucky for me we ended up using Postgresql :) Scott On Wed, 2003-02-26 at

RE: [OT] But I haven't had any yet!

2003-02-18 Thread Scott Barr
Huh?! Whadaya mean? I won the book a couple of weeks ago, living in South Australia :D Thanks Ted, cool book! Scott Barr On Wed, 2003-02-19 at 12:24, Frost, Gary [IT] wrote: Ted, just thought I'd let you know that I feel discriminated against in this competition based upon my time zone

RE: [OT] Modeling tools (way OT)

2003-02-11 Thread Scott Barr
One that can use the result of a vote to suit their particualr needs. A dodgy Government?! Must be the only one of its kind in the world On Wed, 2003-02-12 at 09:53, Mark Galbreath wrote: Well, what kinda bloody government DO you have? -Original Message- From: Todd Pierce

Re: Newbie: Cannot retrieve definition for form bean null

2003-02-11 Thread Scott Barr
Hi James What is the error you are getting? Scott On Tue, 2003-02-11 at 21:11, James Prance wrote: Can someone help me out here.. I have no actions/forms, only an applicationResources.properties and jsp that has an action declared in struts-config.xml as : action path=/index

RE: [OT] Modeling tools

2003-02-11 Thread Scott Barr
O! I wish you wouldn't remind me of that! Scott On Tue, 2003-02-11 at 23:54, Chappell, Simon P wrote: Aussies send it all up here. You guys still pissed about 1783? 1815? 1840? When did you get your own country, anyway? Well, technically it isn't their's. They are members of the

Re: Newbie: Cannot retrieve definition for form bean null

2003-02-11 Thread Scott Barr
Theres my fantastic reading skills coming to the forefront again! Scott On Wed, 2003-02-12 at 00:33, James Prance wrote: Hi scott.. got it sorted now.. the actual error was in the subject: Cannot retrieve definition for form bean null Thanks anyway.. James Scott Barr [EMAIL

RE: [OT] Modeling tools

2003-02-10 Thread Scott Barr
Mark, I gotta say Fosters is not a real got representation of Oz beer. It is the foulest amber fluid we have, and then I think they make another version (which is even worse!!) for you guys! Kinda like Bud not being a fair representative of all US beers. Wish you could try Coopers Pale Ale,

RE: [OT] Modeling tools

2003-02-10 Thread Scott Barr
I'd kill everyone in this room for a beer right now... - Homer Simpson Or, we could rename this thread to [OT] Beer Modeling tools :) On Tue, 2003-02-11 at 14:38, Todd Pierce wrote: Good on you Scott, exactly the same as I was about to say, vis: I must admit there is a beer called Fosters,

Re: Design Questio

2003-02-07 Thread Scott Barr
Correcting :) Consider this scenario 1. An ActionForwardA forwards to a a.jsp with ActionFormA 2. a.jsp is submitted 3. ActionForwardB gets an ActionFormA, does some 'happy-happy' stuff, then forwards to x.jsp with ActionFormB. Regards Scott Barr On Sat, 2003-02-08 at 14:29, Justin F

Re: Hi

2003-02-05 Thread Scott Barr
Unless you want to go to the trouble of building images dynamically. Plenty of techniques for doing this, but possible load issue though, generating images when your content like that can be so easily served by the web server Scott On Thu, 2003-02-06 at 15:46, Thomas CORNET wrote: IMO,

Re: [OT] So much time, so little to do ...

2003-02-02 Thread Scott Barr
martin fowler, talking about junit On Mon, 2003-02-03 at 09:39, Ted Husted wrote: No, stop. Rewind and reverse that. =:0) Okay trivia geeks, who said Never has so much been owed by so many to so few lines of code and what so few lines of code are we talking about? Yet another

Re: Struts EL

2003-01-31 Thread Scott Barr
Hi Brandon If these values are required by the backend, why not do this in an Action? Scott Barr On Sat, 2003-02-01 at 11:54, Brandon Goodin wrote: I looked everywhere to find this answer and couldn't so :-D If I have the following: c:forEach var=x start=1 end=10 html:hidden

Re: MySQL connection pooling problems!! (please help)

2002-11-19 Thread Scott Barr
I'm using Poolman quite happily on a couple of machines, all with jdk 1.4, talking to Postgresql. Connnections seem to clean up nicely on restart. Maybe a MySQL issue? I don't use it myself Scott On Wednesday 20 November 2002 10:07, edgar wrote: Poolman doesn't work with jdk 1.4. As a

Re: Get ans Set automatic

2002-10-25 Thread Scott Barr
Hi Using Eclipse, you can add your fields to a class, then right click on them in the outline view, and select Generate Getters Setters Works just lurvely :) Regards Scott On Friday 25 October 2002 17:19, BARADAT Benoit wrote: Hello, I'm looking for a tool that do the java code for get

Re: Get ans Set automatic

2002-10-25 Thread Scott Barr
You're too quick for me! On Friday 25 October 2002 17:22, Hookom, Jacob John wrote: Most IDE's have it built in. I prefere Eclipse as an IDE and it's free at www.eclipse.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Re: Excuse me !

2002-09-24 Thread Scott Barr
I really hate to add to the noise on this list (but I find myself doing it anyway :/ ), but no one on this list should be considered your enemy! I've been a long time lurker to this list, and the people here are helpful, friendly, maybe sometimes a little direct even, but not your enemy