Breaking out of an HTTPS session

2005-11-26 Thread Frank Burns
switch back to non-HTTPS (i.e., the normal port for the Web app) when links to non-protected pages are subsequently selected? The links generated by the struts:link . tag automatically retain the HTTPS port number (8433) along with the domain name. Thanks, Frank Burns

Versions of Tomcat Causing Problem with nested:... tags?

2004-11-24 Thread Frank Burns
I am using Struts version 1.2.4 and running identical code on two different platforms: 1) Tomcat: v2.0.28 on XP 2) Tomcat v2.0.19 on linux. The code on the v2.0.28 runs perfectly. However, on the v2.0.19, the nested:... tags are ignored. Any suggestions as to what might be the source of this

Want to reject all-whitespace text input.

2004-11-21 Thread Frank Burns
Hi, I am trying to write a regular expression for a mask, for use in the validation.xml file, that will reject input text that consists of all whitespace characters. But, no matter what pattern I try, an all-whitespace entry is always accepted. Is there some strange rule, as part of the

Re: Want to reject all-whitespace text input.

2004-11-21 Thread Frank Burns
() is called. Joe At 1:22 PM + 11/21/04, Frank Burns wrote: Hi, I am trying to write a regular expression for a mask, for use in the validation.xml file, that will reject input text that consists of all whitespace characters. But, no matter what pattern I try, an all-whitespace entry is always

Re: How can I do this ... ?

2004-11-21 Thread Frank Burns
/StrutsCatalogLazyList I'd go for the hand cranked option. Its one less dependency and lighter than using lazylist. LazyForm looks pretty cool if you like dynabeans, certainly really good for mocking things up until you get the time to write an actionform. Mark On Sat, 20 Nov 2004 12:40:53 -, Frank Burns [EMAIL

Re: Want to reject all-whitespace text input.

2004-11-21 Thread Frank Burns
Where empty includes fields that may be full of whitespace characters. That explains the strange rule I was asking about in my original question. - Original Message - From: Joe Germuska [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, November 21, 2004

How can I do this ... ?

2004-11-20 Thread Frank Burns
Hi, Although I have been using Struts for a while now, I have this new requirement and I don't know an obvious way to implement it. Can anyone please tell me how I can do this? BACKGROUND: I want to display a list of existing items of a certain type and allow users to edit these and save

Checking for presence of specific error message

2004-10-19 Thread Frank Burns
Is there any way of checking for the presence of a SPECIFIC error message in the error queue? Thanks, Frank. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Checking for presence of specific error message

2004-10-19 Thread Frank Burns
/html:messages /ul /font br /logic:messagesPresent My Error are stocked in the Globals.ERROR_KEY. Charles -Original Message- From: Frank Burns [mailto:[EMAIL PROTECTED] Sent: October 19, 2004 4:30 PM To: Struts Users Mailing List

Re: Book Recommendations

2004-07-06 Thread Frank Burns
A few months ago I was thrown into the deep end on an urgent Struts-based project with a VERY tight deadline. To help me get up to speed ASAP, I bought and read/used these three books during that time: 1) Pro Jakarta Struts, Second Edition by John Carnell, Rob Harrop 2) Programming Jakarta

Re: How to read a parameter in web.xml from Action class

2004-05-20 Thread Frank Burns
is attached to. Regards, Ashutosh -Original Message- From: Frank Burns [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 8:59 AM To: Struts Users Mailing List Subject: Re: How to read a parameter in web.xml from Action class Sorry, see my CORRECTION below: - Original Message

How to read a parameter in web.xml from Action class

2004-05-19 Thread Frank Burns
Hi, From an Action class, I want to read a parameter specified in the web.xml file. I thought I could place it in an init-param block, within the servlet-nameaction/servlet-name element, like this: init-param param-namemyParamName/param-name param-valuemyParamValue/param-value

Re: How to read a parameter in web.xml from Action class

2004-05-19 Thread Frank Burns
Sorry, see my CORRECTION below: - Original Message - From: Frank Burns [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, May 20, 2004 4:19 AM Subject: How to read a parameter in web.xml from Action class Hi, From an Action class, I want to read

Re: Help with using declarative error handling

2004-05-18 Thread Frank Burns
Joe, You be da man! Thanks. Frank - Original Message - From: Joe Germuska [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 1:56 PM Subject: Re: Help with using declarative error handling At 1:58 AM +0100 5/18/04, Frank Burns wrote

Re: Help with using declarative error handling

2004-05-17 Thread Frank Burns
Thanks for your reply, Bill. I already appreciate the point you are making, However, the problem I am trying to solve is that my AuthenticateAction class can throw the TRCDatabaseException in SEVERAL places. The example you provide will display the same error message for ALL

Re: Help with using declarative error handling

2004-05-17 Thread Frank Burns
Subject: RE: Help with using declarative error handling From: Frank Burns [mailto:[EMAIL PROTECTED] However, the problem I am trying to solve is that my AuthenticateAction class can throw the TRCDatabaseException in SEVERAL places. I want to be able to display a DIFFERENT error message

A better exception-handling strategy?

2004-04-17 Thread Frank Burns
I want to have a consistent display of exceptions that occur in my Struts-based applciation. For exceptions that occur in my Action classes, I use the declarative exception handling mechanism and forward to a set of exception pages that I have created. However, the declarative exception handling