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 to 21 years...
 
 
 -Original Message-
 From: V. Cekvenich [mailto:[EMAIL PROTECTED]
 Sent: Friday, 4 April 2003 10:19
 To: [EMAIL PROTECTED]
 Subject: Re: 12 month contract - Toronto - immediate start
 
 
 Does this have anything to do with Struts?
 .V
 
 
 Jack Nodel wrote:
   
 
 Hi All,
 
 My name is Jack Nodel, I work with ARES consulting. Recently one of my
 clients has asked me to locate contractors for a Toronto based 12 month
 contract.
 
 The following is the list of required technical skills. Excellent
 communication is an absolute must.
 
 
 We are searching for a subject matter expert with extensive knowledge of
 
 
 BEA
   
 
 WLI to assist and provide guidance. To qualify, the candidate must have:
  5+ years experience in the information technology industry
  3 years of development experience on J2EE platform
  Hands on experience with E-Commerce design and application design
  Expert technical knowledge of the BEA workflow product
  Good technical architecture
  Good Java programming skills
  Experience with BEA Weblogic and Commerce Server exposure (nice to have)
  Excellent communication skills, both oral and written (10/10 essential)
 
 MUST HAVE SKILLS:
  J2EE development experience (Min. Experience 2-5yrs)
  Enterprise Java Bean Development (Min. Experience of 2-5 yrs)
  Oracle 9i (Min. Experience of 2-5 yrs)
  WLI (Min. Experience of 1-2 yrs)
  SQL (Min. Experience of 2-5 yrs)
  XMLSpy (Min. Experience of 2-5 yrs)
  CVS (Min. Experience of 1-2 yrs)
  Java IDE: Eclipse (Min. Experience of 1-2 yrs)
 
 If you are interested PLEASE FORWARD RESUMES TO
 [EMAIL PROTECTED]
 
 I can also be reached at 416.480.2700 ext224.
 
 Thanks,
 
 Jack
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
   
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



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


On Tue, 2003-04-01 at 12:52, Al Willingham wrote:

 From past experience dirty data management is usually handled by the
 database. Locking record when data is retrieved for update, etc. 
 
 Something that comes to mind is when the record is retrieved for update,
 lock the record, note the session bean id and set some value indicating
 state. ie update complete or not. Check value and session bean id before
 update commit, if match, do it. If the old window tries to update
 after the new has changed the state, then it would be rejected.
 
 Seems like I read some of this stuff in J2EE and could be managed more
 easily by an app server
 
 If I have to start managing this, would it be time to start looking at a
 J2EE implementation of my app?
 
 Buuut, an earlier thread mentioned something about a counter in the
 session, maybe increment counter for each session update/change. If some
 session has lower value, reject.???
 
 
 
 On Mon, 2003-03-31 at 18:10, V. Cekvenich wrote:
  In event driven programing the user is in charge of program flow.
  As opposed to procedural programing where programmer is in charge (In 
  COBOL you had menu choice 1-5).
  So you have to check.
  You have to consider most contingencies.
  
  A good practice is to bean.save() on any submit. (keep the session small 
  also).
  
  If the bean saves, good!, continue.
  If the bean does not save because xhyz is missing, or wrong step, then 
  you forward user to the appropriate place.
  
  See how action/controller comes in handy?
  
  It is a bad practice to have several steps and save at the end of 
  *YOUR* idea of the flow.
  Each step is an individual event/submit that should be each processed 
  discrete.
  
  In your case, you have dirty data, and you have to decide is this OK 
  to save. (If you do not know about dirty writes issues, then you should 
  just save based on primary key, and save the dirty data). If this is a 
  problem, you have to make a longer where clause based on your bus. reqs.
  Then fail the save, and handle in controler.
  
  hth,
  
  .V
  
  
  Al Willingham wrote:
   Suppose a user chooses to create a new browser window during a session
   with a session bean, submits the data in the new window, then goes back
   to the old and submits the old data that has not been refreshed. Is this
   one of those things that the user gets what they deserve for being so
   brain dead, or is there some check that I can perform to prevent this?
   
   Thanks
   Al
   
   
   
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


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 contract salary, and $30/hour is a charge
that most contractors will laugh at here.

Ilya

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

These are USD per HOUR?

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

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

Five weeks holiday??? OT pay???

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

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


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

All in US dollars (converted from blighty pounds)

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

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

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

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

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

Cheers

Simon







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 Fri, 2003-03-28 at 11:17, Becky Norum wrote:

 Does anyone know what the following exception means?
 
 javax.servlet.jsp.JspException: java.lang.IllegalStateException: Cannot
 forward after response has been committed
 
 It seemed to be related to something in this area of code:
 
 // ModuleConfig config = (ModuleConfig)
 pageContext.getRequest()
 // .getAttribute(org.apache.struts.Globals.MODULE_KEY);
 //try {
 //pageContext.forward(config.getPrefix() + page);
 //} catch (Exception e) {
 //
 
 Thanks!
 
 Becky
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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 (haven't used this myself)

It really is well worth the initial effort.

Scott
www.exerogic.com.au


On Fri, 2003-03-28 at 11:54, Becky Norum wrote:

 Thanks for all the reponses.
 
 It's actually a piece of code within a custom tag, so the scope probably
 isn't an issue.
 
 The tag checks to see if the user is a member of the group s/he is
 trying to access.  So, probably, some HTML response is output before the
 tag is called. (because a header file is included via jsp:include), but
 the tag is called at the top of the JSP page. 
 
 So I hear y'all saying to call the tag before writing HTML, but that
 would require some significant rearranging.  Plus, sometimes it works
 just fine - actually, when I call the page directly it works, but when I
 do a forward it doesn't.  
 
 So do I need to call the page directly rather than forward?
 
 Thanks so much,
 
 Becky
 
 
 
 On Thu, 2003-03-27 at 19:55, Alexandre Jaquet wrote:
  what's your scope definition ? (in the struts-conf)
  
  --
  Alexandre Jaquet
  
  - Original Message -
  From: Becky Norum [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Friday, March 28, 2003 1:47 AM
  Subject: java.lang.IllegalStateException: Cannot forward after response
  hasbeen committed
  
  
  
   Does anyone know what the following exception means?
  
   javax.servlet.jsp.JspException: java.lang.IllegalStateException: Cannot
   forward after response has been committed
  
   It seemed to be related to something in this area of code:
  
   // ModuleConfig config = (ModuleConfig)
   pageContext.getRequest()
   // .getAttribute(org.apache.struts.Globals.MODULE_KEY);
   // try {
   // pageContext.forward(config.getPrefix() + page);
   // } catch (Exception e) {
   //
  
   Thanks!
  
   Becky
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


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

I think its under all that vodka and ice ?!

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

 I can't see the [FRIDAY] prefix in the subject headers
 
 - Original Message - 
 From: Andrew Hill [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 12:24 PM
 Subject: RE: Just let me be the first to say...
 
 
  Yep. Weekends are sweet. :-)
  Not so many people in the office so got less distractions.
  ahhh the joys of a career in IT...
  
  -Original Message-
  From: Simon Kelly [mailto:[EMAIL PROTECTED]
  Sent: Friday, 28 March 2003 15:05
  To: Struts Users Mailing List
  Subject: Re: Just let me be the first to say...
  
  
  +1
  
  The weekend starts here!  Wooo Hooo!
  
  
  - Original Message - 
  From: Scott Barr [EMAIL PROTECTED]
  To: 'Struts Users Mailing List' [EMAIL PROTECTED]
  Sent: Friday, March 28, 2003 7:52 AM
  Subject: Just let me be the first to say...
  
  
   
   TGIF!!
   
   Scott
   www.exergonic.com.au
   
   
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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

2003-03-25 Thread Scott Barr

Hi 

Are you sure you have an existing session? Using
request.getSession(true) will create a new session if one doesn't
already exist.

Try this instead. Placing the form that is passed in to your Action
class' execute method, into the HttpSession.
The form bean isn't put into session for you 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);
 OperatornetworkForm form = (OperatornetworkForm)
 session.getAttribute(operatornetworkForm); 
 //operatornetworkForm is the name of the form bean set in
 //actionmappings.
 
 System.out.println(The submit value is  + form.getSubmit());
 
 Any suggestions?
 
 Thanks
 Al


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: Datasource
 
 
 err...pile of this...  (too many beers...not enough time...)
 
 -Original Message-
 From: Mark Galbreath [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 24, 2003 10:31 PM
 To: 'Struts Users Mailing List'
 Subject: RE: Datasource
 
 
 err...pile of this
 
 -Original Message-
 From: Mark Galbreath [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 24, 2003 10:29 PM
 To: struts
 Subject: Datasource
 
 
 I've read the literature and nothing seems definitive.  Apparently we can
 declare a data source by:
 
 1.  Declaring it in struts-config;
 
 2.  Declaring it in the container app;
 
 3.  Declaring it in the source code;
 
 4.  Declaring it in the deployment descriptor;
 
 5.  Declaring it in the EJB deployment descriptor.
 
 Is it just me or is this a pile of this?
 
 Mark
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: 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.  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: Datasource
 
 
 err...pile of this...  (too many beers...not enough time...)
 
 -Original Message-
 From: Mark Galbreath [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 24, 2003 10:31 PM
 To: 'Struts Users Mailing List'
 Subject: RE: Datasource
 
 
 err...pile of this
 
 -Original Message-
 From: Mark Galbreath [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 24, 2003 10:29 PM
 To: struts
 Subject: Datasource
 
 
 I've read the literature and nothing seems definitive.  Apparently we can
 declare a data source by:
 
 1.  Declaring it in struts-config;
 
 2.  Declaring it in the container app;
 
 3.  Declaring it in the source code;
 
 4.  Declaring it in the deployment descriptor;
 
 5.  Declaring it in the EJB deployment descriptor.
 
 Is it just me or is this a pile of this?
 
 Mark
 



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



Re: Datasource

2003-03-24 Thread Scott Barr

Can't help it number two :) now this is getting silly!

I myself usually choose to set up the connections in the source code, so
I can move my entire DAO layer anywhere (swing frontend for instance)
with no changes at all. 
Really though, I don't think it would take much effort to change 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.  So it's possible for me to move 
 the apps to another app server
 without changing my sql code. Just have to configure the same datasource 
 over in the new app
 server.
 
 
 Mark Galbreath wrote:
 
 I've read the literature and nothing seems definitive.  Apparently we can
 declare a data source by:
 
 1.  Declaring it in struts-config;
 
 2.  Declaring it in the container app;
 
 3.  Declaring it in the source code;
 
 4.  Declaring it in the deployment descriptor;
 
 5.  Declaring it in the EJB deployment descriptor.
 
 Is it just me or is this a pile of this?
 
 Mark
 
 
 
 -
 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: j_security_check

2003-03-19 Thread Scott Barr

Hi Ronan

You'll get this when you go directly to the page for the user to login.
Instead, setup a resource that is protected by Container Managed
Security eg. /userHome.do, which will then take you to your login page.
Once login is successful, you will be fowarded on to /userHome.do

Once you've 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 this message when I am trying to login, and if I am already 
 logged in too.
 
 Status 404 /mywebapp/j_security_check
 
 type Status report
 message /mywebapp/j_security_check
 description The requested resource (/mywebapp/j_security_check) is not 
 available.
 
 
 How can I prevent this happening, and how can I logout, and log in 
 again?
 Thanks.
 
 Ronan O'Ciosoig
 One Louder Recordings IRL
 Co. Dublin,
 Ireland.
 http://www.onelouder.org


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 users to when they log
 in out of the blue. Container-managed security doesn't allow such login
 requests.
 
 http://securityfilter.sourceforge.net/
 
 -Max
 
 - Original Message -
 From: Scott Barr [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, March 19, 2003 4:12 PM
 Subject: Re: j_security_check
 
 
 
  Hi Ronan
 
  You'll get this when you go directly to the page for the user to login.
  Instead, setup a resource that is protected by Container Managed
  Security eg. /userHome.do, which will then take you to your login page.
  Once login is successful, you will be fowarded on to /userHome.do
 
  Once you've 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 this message when I am trying to login, and if I am already
   logged in too.
  
   Status 404 /mywebapp/j_security_check
  
   type Status report
   message /mywebapp/j_security_check
   description The requested resource (/mywebapp/j_security_check) is not
   available.
  
  
   How can I prevent this happening, and how can I logout, and log in
   again?
   Thanks.
  
   Ronan O'Ciosoig
   One Louder Recordings IRL
   Co. Dublin,
   Ireland.
   http://www.onelouder.org
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



Re: 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:
 The documentation that comes with Struts and the examples actually show 
 a great example of doing this.  Basically there is a tag that you place 
 at the top of each JSP page that checks to see if the user has an object 
 in session (has logged in) and if not, redirects them to the login page. 
  Hope this helps...
 
 mahesh kagitha wrote:
 
 Can any one please explain  the following...
 
 I'm developing an application which has login page(JSP) to access the application 
 and I should allow only the successfully logged in users to navigate my application 
 otherwise  direct  to login page. My question here is... How can I do that.?
 
  
 
 Thanks in Advance.
 
  
 
 
 
 -
 Do you Yahoo!?
 Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
   
 
 
 
 
 
 -
 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: 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 the user
login as is usual.

Hope that helps

Scott
www.exergonic.com.au


On Wed, 2003-03-19 at 14:14, Mohan Radhakrishnan wrote:

 Hi
 I want to clear a doubt. 
 
 This is my web.xml
 
   !-- Action Servlet Mapping --
 servlet-mapping
   servlet-nameaction/servlet-name
   url-pattern*.action/url-pattern
 /servlet-mapping
 
 
 Now I cannot prevent these *.action URL's being typed directly in the
 browser window if I don't use CMS. Is this right ? I know about the security
 constraint tags. 
 
 Is blocking these URL's in the filter the right approach ?
 
 Mohan
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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=java.lang.String /
 
 ...
 
 bean:message key=%=booboo% /
 
 Yes, I agree tiles is great - been looking at Velocity again just recently
 but I just don't think I could live without tiles now. There always seems to
 be more to discover with tiles and so many ways it can be extended to suit
 new requirements.
 
 H.
 
 -Original Message-
 From: Jeff Smith [mailto:[EMAIL PROTECTED]
 Sent: 16 March 2003 00:48
 To: Struts Users Mailing List
 Subject: [Q] Accessing struts-tiles attribute in a bean?
 
 
 James and Dan turned me on to tiles. I love them - as I love any tool that
 simplifies what I was already doing via brute force. :-)
 
 I feel I'm on the verge of a new level of understanding, but sadly, haven't
 quite crossed over.
 
 In my tiles structure, I want to have my pages get their titles from the
 application resource.
 
 So I dutifully created a titleKey attribute in my tile-description.xml, like
 so:
 definition name=StandardLayout path=/Jsps/Templates/TemplateMain.jsp
   put name=titleKey value=some.resource.key/
   put name=header value=/Jsps/Tiles/TileHeader.jsp/
   put name=content value=/Jsps/Tiles/TileWelcome.jsp/
   put name=menu value=/Jsps/Tiles/TileMenu.jsp/
 /definition
 
 In my TemplateMain.jsp, I want to take that titleKey and look up the proper
 title string from my application resource file.
 
 But I can't figure out how to access the value of the titleKey attribute
 into the key field of the bean:message tag.
 
 Is this possible?
 
 One day a light will go on in my head, and I won't feel so confused by all
 this. :-)
 
 Jefficus
 
 
 -
 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: 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 be the best option for that. Check the docs. Dont think
 its supported in 1.0 though, just 1.1. (With each 1.1.x version having a
 different interface!)
 
 -Original Message-
 From: Karl [mailto:[EMAIL PROTECTED]
 Sent: Thursday, 13 March 2003 14:26
 To: Struts Users Mailing List
 Subject: One-time initializing in struts
 
 
 Is there a way to do one-time initialization in struts without having to put
 check logicn in every action?
 
 I want to use turbine as my persistance back-end but I need to call
 Torque.init(Torque.properties); somewhere.
 
 
 -
 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: [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
 To: Struts Users Mailing List
 Subject: [Q] Log Viewing tool for Windows environment?
 
 
 To date I have been using the brute-force log viewer: notepad. Is anybody
 aware of a tool that monitors text log files (like output from log4j) and
 automatically refreshes and scrolls to the end of the file? Such
 functionality would make my test-debug cycle less mouse intensive. :-)
 
 In the UN*X world, I had the tail command for such purposes. But I've never
 seen anything like this for Windows. 
 
 Any suggestions?
 
 Jefficus
 
 
 
 -
 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: 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-03-10 at 12:50, Paul Linden wrote:

 Dan Allen wrote:
 
 I have seen this used in several places and I have to ask, why?  Ted
 Husted uses it in Scaffold and there are several examples around the
 web that use it as well.  What am I talking about?
 
 consider this short code snippet
 
  return mapping.findForward(Tokens.SUCCESS_KEY);
 
 How is that any different than
 
  return mapping.findForward(success);
 
 Both are in english, one just resolves to a variable the other is
 static.  I guess I could understand the use of tokens for placing
 keys into the request scope since you might one day find you have a
 conflict, but besides that, what is the purpose?
 
 Dan
 
   
 
 You should always use static constants when referencing Strings that are 
 used in more than one place - if you had sucess, your program would 
 compile ok, but you would get a runtime exception when your action is 
 accessed and Struts looked for the mapping for sucess - possibly after 
 deployment if your test coverage is inadequate, but at the earliest once 
 you've dropped your app into your webapps directory. If you have 
 Tokens.SUCESS_KEY, your program wouldn't compile and you could fix the 
 error immediately.
 
 Paul
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


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] writes:
 
 Scott Also, every time you reference a String literal, an object is created.
 Scott Using the static constant avoids this. Just good practice.
 Scott Saving the creation of a couple of objects is moot, but on large
 Scott projects on stressed servers, every little bit counts.
 
 Actually, all occurrences of the same unique string constant reference the same
 interned String object, whether it's referenced from a constant definition, or
 the raw string itself (you can verify this by comparing two identical strings
 with ==).  Nevertheless, referencing string constants is still better than
 referencing the raw string.


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 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] writes:
  
  Scott Also, every time you reference a String literal, an object is created.
  Scott Using the static constant avoids this. Just good practice.
  Scott Saving the creation of a couple of objects is moot, but on large
  Scott projects on stressed servers, every little bit counts.
  
  Actually, all occurrences of the same unique string constant reference the same
  interned String object, whether it's referenced from a constant definition, or
  the raw string itself (you can verify this by comparing two identical strings
  with ==).  Nevertheless, referencing string constants is still better than
  referencing the raw string.


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



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 11:14, White, Joshua A (CASD, IT) wrote:
 I have gotten this driver to work with mssql 2k and DBCP.  Check it out!
 
 Joshua 
 
 -Original Message-
 From: David Bolsover [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 24, 2003 6:18 AM
 To: Struts Users Mailing List
 Subject: RE: [Microsoft][ODBC SQL Server Driver]Communication link
 failure
 
 
 I would certainly suggest you check out alternative drivers; the
 JdbcOdbcDriver is not recommended
 for production use.
 
 Ideally, you should look for a type 4 driver that supports at least JDBC API
 V 2.0 - try the M$
 driver it's free!
 
 http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?u
 rl=/MSDN-FILES/027/001/7
 79/msdncompositedoc.xml
 
 db
 
  -Original Message-
  From: Murray, Mark [mailto:[EMAIL PROTECTED]
  Sent: 24 February 2003 09:04
  To: '[EMAIL PROTECTED]'
  Subject: [Microsoft][ODBC SQL Server Driver]Communication link failure
 
 
  Hi all,
 
  I'm having a problem reconnecting to a database after a number of hours of
  inactivity or of the database times out for any length of time.
 
  java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Communication
 link
  failure
 
  My datasource definition reads as follows:
 
  data-sources
  data-source
  autoCommit=false
  description=database1
  key=db1
  minCount=2
  maxCount=4
  driverClass=sun.jdbc.odbc.JdbcOdbcDriver
  url=jdbc:odbc:database1
  user=auser
  password=apassword /
  data-source
  autoCommit=false
  description=database2
  key=db2
  minCount=2
  maxCount=4
  driverClass=sun.jdbc.odbc.JdbcOdbcDriver
  url=jdbc:odbc:database2
  user=anotheruser
  password=anotherpassword/
  /data-sources
 
  I've tried adding autoReconnect to the datasource definition, either as a
  property or as part of the url, but this has no effect, other than to
 cause
  errors when the config is being parsed.  The Java application server we're
  using is SAP's J2EE engine (formerly known as In-Q-My)
 
  Is there another way to force a reconnect? A different driver set perhaps?
 
  any help would be appreciated
 
  Mark
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 This communication, including attachments, is for the exclusive use of 
 addressee and may contain proprietary, confidential or privileged 
 information. If you are not the intended recipient, any use, copying, 
 disclosure, dissemination or distribution is strictly prohibited. If 
 you are not the intended recipient, please notify the sender 
 immediately by return email and delete this communication and destroy all copies.
 
 
 -
 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] 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 (living in Australia GMT+10:00)... 
 
 And as such as soon as I find the appropriate struts-user competitions,
 discrimination based upon time zone representative I will be lodging an
 official complaint.
 
 Ok ok, I'm just joking :D
 
 Gary
 
 -Original Message-
 From: Frost, Gary [IT] [mailto:[EMAIL PROTECTED]]
 Sent: Monday, 17 February 2003 10:58 AM
 To: 'Ted Husted'; [EMAIL PROTECTED]
 Subject: RE: [OT] But I haven't had any yet!
 
 
 Code Complete: A Practical Handbook of Software Construction
 by Steve C McConnell
 ISBN: 1556154844 
 
 (Only its no longer a lazy Sunday, its now a busy Monday morning in sunny
 Australia :D)
 
 Gary
 
 
 -Original Message-
 From: Ted Husted [mailto:[EMAIL PROTECTED]]
 Sent: Monday, 17 February 2003 5:45 AM
 To: [EMAIL PROTECTED]
 Subject: [OT] But I haven't had any yet!
 
 
 OK, trivia quote fans, who advised us to
 
 Iterate, repeatedly, again and again.
 
 (And, no, it wasn't Mrs. Yogi Berra!)
 
 Yet another signed copy of Struts in Action for the first lucky emailer 
 with the correct answer (and nothing better to do on a Sunday afternoon).
 
 -Ted.
 
 Prior winners excluded.
 


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




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 [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, February 11, 2003 5:58 PM
 
 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 British
 Commonwealth, so all 
 
 Whoa, Trigger. Time for some Australia 101
 
 We may share a figurehead but is Australia is not OWNED by britain, any more
 than you may think britain owns Canada, India, Pakistan, Bangladesh, South
 Africa, New Zealand, Malaysia, Zimbabwe. The british Empire is LONG gone,
 and a good thing too.
 
 A referendum three years ago showed that, although a clear majority of
 Australian citizens wanted a republic, a majority of states did not (4-3
 against), so constitiutional reform was not brought about.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



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
 
 forward=/tour.htm
 
 /action
 
 this is really simple i know.. but i cant find an explanation for this error
 anywhere.
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



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 British Commonwealth, so 
all their base are belong to the Queen.
 
 -
 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: 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 PROTECTED] wrote in message
 1044966196.1116.9.camel@cypher">news:1044966196.1116.9.camel@cypher...
 
  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
  
   forward=/tour.htm
  
   /action
  
   this is really simple i know.. but i cant find an explanation for this
 error
   anywhere.
  
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


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




RE: [OT] 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, nice South Australian beer. Mmmm!!!

Scott


On Tue, 2003-02-11 at 14:28, Mark Galbreath wrote:

 Oh yeah, like Fosters (Australian for 'beer') is a great contribution to
 beerdom.  That piss is as bad as Budweasel.  Of course, that may be why the
 Aussies send it all up here.  You guys still pissed about 1783?  1815?
 1840?  When did you get your own country, anyway?
 
 -Original Message-
 From: Todd Pierce [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, February 10, 2003 8:20 PM
 
 PS Australian beer relieves itself from a great height on all American AND
 British beer ;)
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



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, but like Paul Hogan, Steve
 Irwin and Yahoo Serious, nobody here ever had anything to do with it! Most
 discerning beer drinkers in Australia go for beers with names like Cascade,
 Coopers and VB.
 
 They should rename this list beer-users
 
 -Original Message-
 From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, 11 February 2003 2:58 PM
 To: 'Struts Users Mailing List'
 Subject: RE: [OT] Modeling tools
 
 
 Oh yeah, like Fosters (Australian for 'beer') is a great contribution to
 beerdom.  That piss is as bad as Budweasel.  Of course, that may be why the
 Aussies send it all up here.  You guys still pissed about 1783?  1815?
 1840?  When did you get your own country, anyway?
 
 -Original Message-
 From: Todd Pierce [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, February 10, 2003 8:20 PM
 
 PS Australian beer relieves itself from a great height on all American AND
 British beer ;)
 
 
 
 -
 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: 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. Knotzke wrote:
  Hi,
 
 I am sure this is a basic question.
 
 Take a situation in where we have 2 JSPs, 2 ActionForms, and 2
 ActioForward classes:
 
 a.jsp
 b.jsp
 
 ActionFormA.class
 ActionFormB.class
 
 ActionForwardA.class
 ActionForwardB.class
 
 a.jsp has form who's action parameter calls ActionForwardA.class
 with ActionFormA.class as it's form object.
 
 ActionForwardA.class does some happy-happy stuff and then calls
 b.jsp.
 
   Correct me if I am wrong but b.jsp will be called using
 ActionFormA.class's data. Keeping in mind that ActionForwardA.class
 requires data from ActionFormA.class, what do I do if I want b.jsp to be
 mapped to ActionFormB.class?   
 
Justin.
 
 --
 Justin F. Knotzke 
 [EMAIL PROTECTED]
 http://www.shampoo.ca
 
 -
 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: 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, you'll have to create one image per language, and put image's path in 
 your ressource files...
 
 Thomas
 
 At 06:11 06/02/2003, you wrote:
 Hello
 
 Please tell me whether we can change the label of a button which is an 
 image, using internationaliztion in struts. Normal labels we can change. 
 But if anybody has an idea to achieve this for BUTTONS(Note that, the 
 button is image not the normal button), please help me.
 
 george
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



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 autographed copy of Struts in Action to the first lucky 
 emailer with the correct answers. (Prior winners excluded.)
 
 Hint: It wasn't Gene Wilder =:0)
 
 -Ted.



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 proper=thisObject[${x}].text
 value=${pass.this.value.as.is}/
 /c:forEach
 
 And I am using the struts html el taglib
 And I want pass the value of ${pass.this.value.as.is} to the back-end
 unprocessed.
 
 In other words.. I literall want ${pass.this.value.as.is} to be passed to
 the back.
 
 How would I do this and keep the el from processing the value?
 
 Brandon Goodin
 Phase Web and Multimedia
 P (406) 862-2245
 F (406) 862-0354
 [EMAIL PROTECTED]
 http://www.phase.ws
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





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 connection manager in a
 production environment it is GREAT.  In a development environment with
 the constant restarting I have had problems with the connections hanging
 (also using caucho resin).

 Edgar
 -Original Message-
 From: James Ferguson [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, November 19, 2002 5:42 PM
 To: '[EMAIL PROTECTED]'
 Subject: MySQL connection pooling problems!! (please help)


 Hi,

 You might like to look into the connection pooling software called
 PoolMan (for Pool Manager). I'm using it successfully with the MySQL
 driver. It's no longer be worked on but it is quite mature code. Just
 hunt around with your favourite search engine and you should be able to
 find a copy.

 James.

 PS. If you do use PoolMan I'd recommend you be very careful about the
 query caching, you'll most likely want to turn it off any time you're
 doing any complex insert.


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




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 and set automaticly.

 Where can I find it ?

 TIA


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




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: mailto:struts-user-help;jakarta.apache.org




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



Regards

Scott





On Wed, 2002-09-25 at 11:21, Zahid Rahman wrote:

I happen to know three different architectures for web applications.
Yes, I know Branching statements is an old fashioned saying.

With regard to race!
The very first time I logged on, my account was impersonated!!!
Although I originate from the UK.
I pointed  out to a Pakistani company that I am a Pakistani.
The Pakistani firm replied their account have been impersonated too.

90% of the people ask questions on mail list and
reply to rehearsed answers.

I have done the crawling and now I am in the process of walking
just about to run.

With regard to Bank ---
Their cake and they will have to eat it!

The question was an attitude test
 i.e. Know your enemy!

- Original Message -
From: Peter A. J. Pilgrim [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 2:26 AM
Subject: Re: This guy from the bank raised a question ?


 Zahid Rahman wrote:
  Eddie Bush wrote that the designer of the architecture,  Craig R.
  McClannahan is present on this line.
 
  I was on the websphere line and Don Carlos, from DB.COM was talking
about
  it.
  So I mentioned it.
 

 Although this late in the day, because I catching up 2500 emails after
 configuring my SOHO network for ADSL, I will respond

 Well it isn't surprised that you got DISSED in the end.
 And your type of attitude stinks to the extreme.
 This is the 21st century mate, we are using the Internet
 a form  that makes culture and race and dare I say colour
 very transparent. This is the great equaliser or super
 highway isn't it. I dont appreciate your patronising
 talks on race or culture and for the record, slavery
 (in the United States at least) was banned over hundred
 years ago.

 What do you do about the back button on the browser ?
 The answer being nothing.

 Your prose reveals your inexperience and ineptitude in all
 things HTML / HTTP and Java Server side technologies to the real
 experts on the list, the technologists who have and are living at
 the bleeding bloody edge. You should really calm down and
 spend time learning the technology better. How it works?
 Why people use it? How people used it to solve real problems?
 What are trying to solve? Does the technology fit the
 bill, is it the right solution?
 You cannot pick up this information , no I say, knowledge
 from a quick read of marketing department sales broshures.
 You cannot get it right, if you repeat the latest
 business lingo in terms of ..., in terms .
 Your project will fail if simply dont understand the mode
 (as in the french meaning fashion).
 This is open source dealing with real people with real life.
 This is where real cultural diversity is truly happening,
 fool. This is where the real synergies are?
 This is not human resources department.
 This is not a boardroom meeting of stuffy highly over-paid
 executives, although I'd gladly accept the wages from those guys.
 This is the boiler room or the mechanics garage or the engineering
 facility where people get their hands routinely dirty.
 Learn to crawl, before you walk, before you run.

 PS: And this from a ex-Deutsche bank employmee. It really
 does show that DB.com still don't know their left hand from
 their right foot, but there you go. It  happens, if
 the belief, culture and the motivation stagnates, and you lay off
 the really brillaint IT people in your organisation.

 --
 Peter Pilgrim +-\ +-+++++
 Java Technologist | | | ||||| 'n' Shine
|  O  | | ||  --+| ---+
  /\| ._  / | | \  \ ||
 /  \   | | \ \ | |+--  || ---+ A new day
/_  _\  Up| | | | | ||||| is coming
  ||+-+ +-+ +-+++++
 home page=http://www.xenonsoft.demon.co.uk/ /


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



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









signature.asc
Description: This is a digitally signed message part