Re: new line char in xml

2006-10-26 Thread Brian Lee
You can also try using the xml new line character " " (possibly with the carriage return too if you need it- " "). I like this better than \n as the & and ; really set off that you are using a special character. Retain this document in your official grant file. "/> BAL

Re: banned

2005-07-07 Thread Brian Lee
ect: Re: banned Date: Wed, 6 Jul 2005 20:24:14 -0700 On 7/6/05, Brian Lee <[EMAIL PROTECTED]> wrote: > Wow, this is shockingly lame. Like amazingly lame. To mess with someone's > livlihood because you think they are an jerk is inexcusable. > Keep in mind that, if Mark indeed

Re: banned

2005-07-06 Thread Brian Lee
Wow, this is shockingly lame. Like amazingly lame. To mess with someone's livlihood because you think they are an jerk is inexcusable. BAL From: "Niall Pemberton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Subject: Re: banned Date: Thu, 7 Jul 2005 03:10:08 +0100 I cc'd them on the m

Re: [OT] Re: Fired???? was...Re: Struts Books Recommendations [OT]

2005-07-06 Thread Brian Lee
Actually, in the US we have laws against age discrimination or discrimination based on race, religion, creed or nationality. These are termed "protected groups" under US labor law. If you were fired for one of these reasons, gather up some evidence and sue your way to wealth in the civil courts

RE: [OT] Stinking IDEs

2005-06-29 Thread Brian Lee
I've noticed over the years that people who start IDE threads are unappreciated. I've also noticed that programmers who talk about how other programmers are the worst, are the worst programmers. Real programmers are too busy fixing the worst programmers to complain. BAL From: "Mark Galbrea

Re: [FRIDAY] package naming nonsense

2005-06-17 Thread Brian Lee
a fun one to peer review. BAL From: [EMAIL PROTECTED] To: "Struts Users Mailing List" CC: [EMAIL PROTECTED],user@struts.apache.org Subject: Re: [FRIDAY] package naming nonsense Date: Fri, 17 Jun 2005 10:32:29 -0400 By chance, was his name "Adam Hardy"? ;) "Brian

Re: [FRIDAY] package naming nonsense

2005-06-17 Thread Brian Lee
That's pretty much the reasoning I always got behing. This remings me of a funny time a consultant suggested removing all the "com." from our package names in order to "save 4 bytes" from each class file. BAL From: Hubert Rabago <[EMAIL PROTECTED]> To: Struts Users Mailing List Subject: Re:

RE: How to make HttpSession thread-safe????

2005-04-09 Thread Brian Lee
You can put an object in session and lock on it using synchronized. But this won't work over a cluster. BAL From: "leonnewsgroup" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Subject: How to make HttpSession thread-safe Date: Sat, 9 Apr 2005 15:26:30 -0400 Hi All, Quick question, What

RE: image challenge?

2004-09-29 Thread Brian Lee
Check out the gmail.com link for attach file. It gives the functionality through a link. If you can figure that out then you can replace the link text with an image. BAL From: Michael McGrady <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: image challenge? Date: T

RE: Read only iterate?

2004-08-13 Thread Brian Lee
Lists work, but you have to write your own set(int index) method to set the correct object from the List. BAL From: "Jim Barrows" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> Subject: RE: Read only iterate? Date: Fri, 13 Aug 2004 09:40:27 -0700 > -

Re: [OT] how to calculate the size of an object

2004-07-08 Thread Brian Lee
If you run this from a simple console test app, the JVM won't allocate any extra objects between 2 and 4. Unfortunatly, this is the most exact way to find out memory usage (serialization size doesn't necessarily mean in memory size). Just wait til those slackers at Sun at a Object.sizeof() meth

RE: Theoretical debate

2004-06-17 Thread Brian Lee
I think struts' concept of separating your actions from your data is admirable and should be followed. The concept of your value/transfer objects (basically the form) also having business logic sounds acceptable at first but rapidly becomes a nightmare when you try to use the same value/transfer

RE: struts is giving error on weblogic81

2004-05-17 Thread Brian Lee
What exception do you see in the myserver.log or in the console out? Do you have the dbcp and oracle classes jar in your weblogic classpath? BAL From: Jignesh Patel <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: struts is giving error on weblogic81 Date: Mon, 17 May 2004 20:18:33 +0530 We are t

Re: Storing global data in the servletContext

2004-05-09 Thread Brian Lee
OK, that makes a bit more sense. I guess I got thrown by your "It sounds like you are the use case for EJB!" statement that I thought when you said bean in the next sentence you meant EJB. Also, I believe that some application servers will cluster the servlet context along with the httpsessions

RE: forwarding to a pop-up window

2004-05-03 Thread Brian Lee
For your tag, set the target to a window name, then when you submit, call a javascript function that opens a new window with the same name. This will submit all the values from the current page into the targetted new window. I think you can also just do and it will submit into a new blank ht

I18N problems

2004-04-15 Thread Brian Lee
I've got a site that we're trying to deploy in Japanese. We're using struts message tags everywhere with property resource bundles for all the labels and text. The only text that doesn't come from the resource bundles comes from the database. The problem is that IE doesn't display the text prop

RE: Calling one action from another - removing request parameters

2004-04-05 Thread Brian Lee
Note that redirecting is less efficient than forward as it involves a additional http response and request. So forward will be faster and less processor intensive. BAL From: "Daniel Perry" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: Calling one action fr