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 tag automatically retain the HTTPS port number (8433) along with the domain name. Thanks, F

Versions of Tomcat Causing Problem with 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 tags are ignored. Any suggestions as to what might be the source of this problem? I a

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 2

Re: How can I do this ... ?

2004-11-21 Thread Frank Burns
things here. http://wiki.apache.org/struts/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

Re: Want to reject all-whitespace text input.

2004-11-21 Thread Frank Burns
t; <[EMAIL PROTECTED]> To: "Frank Burns" <[EMAIL PROTECTED]>; "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, November 21, 2004 2:20 PM Subject: Re: Want to reject all-whitespace text input. The "required" validator should do what you ne

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 Validat

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 them.

Re: Checking for presence of specific error message

2004-10-19 Thread Frank Burns
t; Charles > > -Original Message- > From: Frank Burns [mailto:[EMAIL PROTECTED] > Sent: October 19, 2004 4:30 PM > To: Struts Users Mailing List > Subject: Checking for presence of specific error message > > > Is there any way of c

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

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

2004-05-20 Thread Frank Burns
(i.e instance of the ActionServlet ) to which the Action clas 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 c

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,

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 block, within the action element, like this: myParamName myParamValue and then read it within the Action class using: String paramValue = request.getS

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

Re: Help with using declarative error handling

2004-05-17 Thread Frank Burns
<[EMAIL PROTECTED]> Sent: Tuesday, May 18, 2004 12:01 AM 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

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 TRCDatabaseException

Help with using declarative error handling

2004-05-16 Thread Frank Burns
Hi, I can't get the relevant error message from the resources file to display when an exception is thrown. Can you please help? Here is the scenario: One of my Action classes, AuthenticateAction, can generate the same type of application-specific exception (TrcDatabaseException) at various point

Re: A better exception-handling strategy?

2004-04-18 Thread Frank Burns
Subject: Re: A better exception-handling strategy? > Frank Burns wrote: > > >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 > >excepti

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