Re: Dang It! Mapped Properties

2004-04-25 Thread Joe Germuska
At 10:45 AM -0700 4/24/04, Michael McGrady wrote: In my opinion, one should have a tag that allows us to work with nested maps, such that we can retrieve maps as follows: String: where getProperty("keyAlpha") in foo returns a map with a key "keyOmega" holding a String or other writable class.

Re: Is MappingDispatchAction (Struts?) multithreaded? (Do I need to worry about it?)

2004-04-25 Thread Riyad Kalla
Let me clarify: The first sentence should read "and almost all of my METHODS in my MDA's do some form of...", so my question is pertaining to any danger I have when 2+ methods of the same MDA gets called at the same time and all of them want to return errors. Also the subject had "Struts" in it

Is MappingDispatchAction (Struts?) multithreaded? (Do I need to worry about it?)

2004-04-25 Thread Riyad Kalla
I'm asking because I am now getting into MappingDispatchActions (MDA), and almost all of my actions do some form of DB validation and error out if something goes wrong. So I have stamped all over the place 4 lines of code that look like: ActionMessages actionMessages = new ActionMessages(); act

Re: please clarify my doubt on Struts Checkbox

2004-04-25 Thread Riyad Kalla
I had a problem like this too... and if you check the taglib API docs for checkbox, you actually NEED to set the checkbox to false in the reset() method in the form in order for it to work... in my case my default was checked, but I HAD to set it to unchecked in order for it to work... seemed l

Re: How to get a value from the from bean

2004-04-25 Thread Riyad Kalla
Cool I'm glad it helped Billy Ng wrote: Thank you. It works perfectly. Billy Ng This mailbox protected from junk email by Matador from MailFrontier, Inc. http://info.mailfrontier.com - Original Message - From: "Riyad Kalla" <[EMAIL P

Re: How to generate a static web site from struts form output ?

2004-04-25 Thread Mark Lowe
wget or curl would be one way.. On 25 Apr 2004, at 09:28, Farid C wrote: Good Morning I have a struts application with a form to browse a product catalog (database back end). A usual query is to ask to show all the products so instead to use cpu each time a user requests by the form to see all t

how to insert null using sql query in java code

2004-04-25 Thread Jignesh Patel
Hi All, I am following query to insert value in databse now suppose value of "webpurchased","targetadvt" and 'trial" is null then how can I can insert same null value in database. Because my parameter is like String webpurchased=null --In this case value of webpurchase will be replaced by strin

How to generate a static web site from struts form output ?

2004-04-25 Thread Farid C
Good Morning I have a struts application with a form to browse a product catalog (database back end). A usual query is to ask to show all the products so instead to use cpu each time a user requests by the form to see all the products, I would like to generate static html files with all the prod