Hi all,
I have a problem mapping my form bean to a jsp that contains javascript
to add html inputs dynamically.
I already found out that i can use BeanUtils to add the input values to
an ArrayList like this
public void setProperty(int iIndex, String inputString) {
: problem in formbean
I got some problem in struts can you please help me.
1) in jsp iam displaying values from javabean in textboxes.(i can change
these values)
2) when i submit with modified values , iam doing validation in
formbean.
3) When validatio fails i formbean returning to same jsp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
prkumar,
prkumar_1234 wrote:
1) in jsp iam displaying values from javabean in textboxes.(i can
change
these values)
2) when i submit with modified values , iam doing validation in
formbean.
3) When validatio fails i formbean returning to same
Hi Prem,
At the time of landing the page, you are showing some values. That values are
taken from DB. Once error coming you are redirecting to the same page. but with
the error value.
This is your problem right?
this can be easily solved. you are showing the values taken from formbean. At
I got some problem in struts can you please help me.
1) in jsp iam displaying values from javabean in textboxes.(i can
change
these values)
2) when i submit with modified values , iam doing validation in
formbean.
3) When validatio fails i formbean returning to same jsp but it is
displaying old
Hi, I help moderate messages on this list. You are not subscribed. I let
this message through because it is not spam, but you need to subscribe
before any more can come through.
Thanks.
On 11/29/06, prkumar_1234 [EMAIL PROTECTED] wrote:
I got some problem in struts can you please help me.
]
Sent: Wednesday, April 07, 2004 5:39 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Problem with Formbean validate method forwarding to input pag e
Why don't you tell your action not to validate, and call validate yourself
in your action. Seems like you will have all
I have need for every page in my web app to be secure. What I originally did
was extend the Action class to make a secure action class. The
SecureAction's perform method validates that the user is logged in and if
not, sends them to the login page. All actions in my app extend
SecureAction. To
If you are using struts, why go back to a .jsp page? You should be going
back to a .do page.
Since the .do is a struts action it will be able to get to your jsp page.
Todd Bryant [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have need for every page in my web app to be secure.
Make your input action an error page, which just has the error and no
sensitive data and make a success forward that you only send the user to
if everything checks out.
Todd Bryant wrote:
I have need for every page in my web app to be secure. What I originally did
was extend the Action class
suggestions I would appreciate them.
-Original Message-
From: Tin Pham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 3:38 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem with Formbean validate method forwarding to input page
If you are using struts, why go back to a .jsp page? You
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 4:07 PM
To: Struts Users Mailing List
Subject: Re: Problem with Formbean validate method forwarding to input page
Make your input action an error page, which just has the error and no
sensitive data and make a success forward that you only
Barry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 4:07 PM
To: Struts Users Mailing List
Subject: Re: Problem with Formbean validate method forwarding to input page
Make your input action an error page, which just has the error and no
sensitive data and make a success forward
.
-Original Message-
From: Paul Barry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 4:47 PM
To: Struts Users Mailing List
Subject: Re: Problem with Formbean validate method forwarding to input page
Maybe you should be handling your security in the request processor.
Have
: Problem with Formbean validate method forwarding to input
pag e
The form bean is populated by the RequestProcessor, but you can put your
logic to validate the session where ever you want. The easiest way to
understand it is to just look at the source code
15 matches
Mail list logo