Help!! Deployment issue

2003-09-03 Thread Joe Zendle
I know this belongs on the Tomcat user list but I am having trouble with it. Please help anyway!! I am about to deploy a struts app in production. I have been doing development using port 8080 and a Context path of /aup-reports and a docPath of aup-reports. My app uses BASIC authentication with a

Complex form data

2003-07-18 Thread Joe Zendle
Hi all, In general I have noticed that if a form class is 'complex', i.e., it contains collections of other beans (that may contain other collections) and the form is defined to have request scope I get 'array index out of bounds' exceptions from the controller when the form is submitted (before

RE: Complex form data

2003-07-18 Thread Joe Zendle
-archive.com/[EMAIL PROTECTED]/thrd3.html#73 162 thanks, Amit -Original Message- From: Joe Zendle [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 9:31 AM To: Struts Users Mailing List Subject: Complex form data Hi all, In general I have noticed that if a form class is 'complex', i.e

order of bean form population

2003-07-18 Thread Joe Zendle
This is probably a JSP question but here goes: What is the order in which bean properties are populated. Is it from 1st to last as defined in the class (assuming reflection is used)? Can I reliably use a property's value defined 1st to make a decision of how to populate a later attribute? I am

RE: Newbie: Using property attribute in bean:write

2003-07-11 Thread Joe Zendle
Could formatDate() be throwing an exception? Put it in a try block and give it a go. Does property=invoiceDate work? The page should not care how the getXXX() is implemented. -Original Message- From: Swaminathan Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 1:37 PM

RE: Newbie: Using property attribute in bean:write

2003-07-11 Thread Joe Zendle
You are feeding formatDate() 'kibbles' but no bits ;-) -Original Message- From: Joe Zendle Sent: Friday, July 11, 2003 2:54 PM To: Struts Users Mailing List Subject: RE: Newbie: Using property attribute in bean:write Could formatDate() be throwing an exception? Put it in a try block

RE: logic:empty inside logic:iterate

2003-07-10 Thread Joe Zendle
Hi this is a repost. Can anyone help? This looks like a bug to me. I'm about to try JSTL to compare. I'm using struts 1.1, java 1.4.2, tomcat 4.1.24 Cheers. -Original Message- From: Joe Zendle Sent: Wednesday, July 09, 2003 3:20 PM To: Struts Users Mailing List Subject: logic:empty

RE: [OT] Session Management using EJB

2003-07-10 Thread Joe Zendle
IMHO, it is always best to keep state out of EJB's when at all possible for performance and scalability reasons. -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 9:39 AM To: Struts Users Mailing List Subject: Re: [OT] Session Management using

logic tags problem - help!!

2003-07-10 Thread Joe Zendle
Help!! This is a repost. Are there problems with logic:empty tags within an logic:iterate or am I an idiot? === I'm trying to display a checkbox only if a field is not empty. This logic is applied in a logic:iterate tag as in the code below. No

RE: Using JSTL tags instead of Struts tags

2003-07-10 Thread Joe Zendle
Yes, if every datasource in the universe is a set of tables in which the schema never changes ;-) -Original Message- From: David Geary [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 1:11 PM To: Struts Users Mailing List Subject: Re: Using JSTL tags instead of Struts tags On

RE: Using JSTL tags instead of Struts tags

2003-07-10 Thread Joe Zendle
- From: David Geary [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 3:00 PM To: Struts Users Mailing List Subject: Re: Using JSTL tags instead of Struts tags On Thursday, Jul 10, 2003, at 13:39 America/Denver, Joe Zendle wrote: Yes, if every datasource in the universe is a set of tables

RE: Using JSTL tags instead of Struts tags

2003-07-10 Thread Joe Zendle
interfaces and implement an SOA solution. Mark -Original Message- From: Joe Zendle [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 5:42 PM To: Struts Users Mailing List Subject: RE: Using JSTL tags instead of Struts tags The main point is that not every data source is an RDBMS

logic:empty inside logic:iterate

2003-07-09 Thread Joe Zendle
I'm trying to display a checkbox only if a field is not empty. This logic is applied in a logic:iterate tag as in the code below. No matter what the property values are, the checkbox is always displayed as if the logic check is not made. I have tried logic:empty, logic:notEmpty, logic:equals,

RE: How to differentiate between timed-out user and new user?

2003-07-09 Thread Joe Zendle
How about calling a method on HTTPSession that throws an IllegalStateException on an invalidated session (eg. getId()) at the beginning of every action - then you can handle the exception anyway you want. -Original Message- From: Poon, Johnny [mailto:[EMAIL PROTECTED] Sent: Wednesday,