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
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?
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.
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
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
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.
---
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
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
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
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
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
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
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
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
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
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
16 matches
Mail list logo