Vanishing parameters

2007-07-26 Thread Thom Burnett
I have a struts application with an intermittent problem of losing all it's parameters from the request. Is there any known problem, mis-coding, or whatever that would cause that? The application has a set of jsp pages each with one or more buttons for submit, cancel, and other actions. The JSPs

Multiple buttons and validation

2006-12-12 Thread Thom Burnett
I have a few buttons on my jsp page and I want to have validation happen on some buttons and not on other buttons. Is that possible? How? Any examples around?

Validation rule writing

2006-12-15 Thread Thom Burnett
I'm trying to validate two fields - area code and phone number (as nnn- no areacode in that input). Various samples and reading suggest that I should be able to create a mask and apply it as below but my result is that the area code can't be empty but it can contain letters, be longer than 3.

Session ending

2007-01-08 Thread Thom Burnett
What's the standard definition of the end of a session. That is, if there's no session.invalidate() call, how should servlets (esp the struts servlet) decide that a request is part of a new session? Where is this discussed - some tutorial or documentation on the web? I have a struts application w

Design within struts

2007-01-22 Thread Thom Burnett
What is the general approach in creating action classes for Struts. At the moment, any given project that I work on seems to have pretty close to one new Action class for each page. If the page is at all complicated, has it's own form or data, it seems to need a separate Action.execute(). In fact

Service unavailable error

2007-01-31 Thread Thom Burnett
When I deploy and go to my struts application I get the following error: Does the error indicate an error in my struts-config.xml file or in some file referenced by the struts-config.xml file? I'm trying to figure out how to hunt down and kill this error. ---

Re: Service unavailable error

2007-02-01 Thread Thom Burnett
me that your version http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";> so I think that struts-config_1_1.dtd "http://jakarta.apache.org/struts/dtds/struts-config-1.3.5.dtd";> Regards, - Original Message - From: "Thom Burnett" < [EMAIL PROTE

Parameterizing the struts-config file

2007-02-05 Thread Thom Burnett
Can I use a parameter instead of a hard coded value in the mappings of a struts-config.xml? If so, how? What I mean is: I have a config file that looks like so: This requires an Action that has exactly 'winMoney' and 'loser' as the strings in the mapping.fin

Security and information passing

2007-05-08 Thread Thom Burnett
What are the options within Struts (version 1) for passing information from one request to the next on a multi-page struts application? I can pass some information as request parameters and hidden inputs on forms but that's not acceptable for credit card numbers, passwords, etc. What are the oth

Starting validation

2006-11-07 Thread Thom Burnett
What are common simple mistakes that would prevent validation from occuring? I've got a simple struts application that runs correctly except that validation doesn't occur. The form info is accepted as correct when required information is missing. I'm trying to figure out what's missing from my se

Re: Starting validation

2006-11-07 Thread Thom Burnett
will look in validation.xml files to see the rules etc , and it wil generates the javascript . check if u got javascript validation code in your jsp ? 2006/11/7, Thom Burnett <[EMAIL PROTECTED]>: > > What are common simple mistakes that would prevent validation from > occur

Re: Starting validation

2006-11-07 Thread Thom Burnett
Chris, Following your advice, I've now found the proper settings for my resource file. With that fixed I can take out the sub class' validate() method and still get a set of errors. However, getting errors still depopulate's the form's fields. Again, I can fix that by overriding the validate meth

Re: Starting validation

2006-11-07 Thread Thom Burnett
tle Mr Ms *First Name: *Last Name: On 11/7/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thom, Thom Burnett wrote: > With that fixed I can take out th

Re: Two values on "input" attribute

2006-11-08 Thread Thom Burnett
I tried this technique for my situation where several jsp pages contribute to one ActionForm. I'm getting the correct page selection behavior by my errors don't show up. For the first page (the donation page) everything works very nicely. For the second page (the honoree page) there's no trace of

Re: Two values on "input" attribute

2006-11-08 Thread Thom Burnett
in the jsp? In my build there was no compiler error or warning. Finding this type of error by inspection is very time consuming. On 11/8/06, Thom Burnett <[EMAIL PROTECTED]> wrote: I tried this technique for my situation where several jsp pages contribute to one ActionForm. I'm get

The first request

2006-12-05 Thread Thom Burnett
I need to set up my first page with a sequence of database interactions before the execute() method is called (I think). What's the recommended struts way of doing so. When a first request to my jsp page arrives, I need to read some key parameters of the request, contact my database, and then fi