adambomb wrote:
Hi, I have a jsp page which displays more than one drop down lists and is
being populated from the database. Now when I click on a submit button after
selecting the values from two dropdowns. it should go and search in the
table and retrieve a collection of rows of that table(base
Is there anybody who can help meee..
adambomb wrote:
>
> Can you tell me what do I have to do in the action class other than
> forwarding back to the form page.
> If I try to print the values from the action class, I do get the right
> values on the console. But
Can you tell me what do I have to do in the action class other than
forwarding back to the form page.
If I try to print the values from the action class, I do get the right
values on the console. But when I forward mapping to the same form page. It
doesnt display those values there. bcoz when it t
Thats true ...
Dave Newton-4 wrote:
>
> --- adambomb <[EMAIL PROTECTED]> wrote:
>> Yep, Thats exactly my problem. I havent set the form
>> values anywhere.
>
> If a session form is "dropping values" somewhere then
> probably the program logic you think is happening
> isn't really happening...
--- adambomb <[EMAIL PROTECTED]> wrote:
> Yep, Thats exactly my problem. I havent set the form
> values anywhere.
If a session form is "dropping values" somewhere then
probably the program logic you think is happening
isn't really happening...
IIRC you have a form, submit the form, and go back t
Yep, Thats exactly my problem. I havent set the form values anywhere.
Dave Newton-4 wrote:
>
> --- adambomb <[EMAIL PROTECTED]> wrote:
>> But my main problem is still intact.
>
> The form bean is declared with session scope and it's
> not retaining the values across requests, and you are
> not
--- adambomb <[EMAIL PROTECTED]> wrote:
> But my main problem is still intact.
The form bean is declared with session scope and it's
not retaining the values across requests, and you are
not setting the form values anywhere?
d.
__
Do You Yahoo!?
T
Got it! .
But my main problem is still intact . Can you plz help in that too.
\ ../
Dave Newton-4 wrote:
>
> --- adambomb <[EMAIL PROTECTED]> wrote:
>> Also Im a bit confused that what is this 'id'
>> attribute for? in iterate tag.
>
> """
>
--- adambomb <[EMAIL PROTECTED]> wrote:
> Also Im a bit confused that what is this 'id'
> attribute for? in iterate tag.
"""
The name of a page scope JSP bean that will contain
the current element of the collection on each
iteration, if it is not null.
"""
It's so you can access the current eleme
Also Im a bit confused that what is this 'id' attribute for? in iterate tag.
adambomb wrote:
>
> GoodMorning and Thanks for the reply,
> Regarding the hibernate fields and struts form fields, there is no problem
> in there. And yes I have changed the scope from request to session.
> But Im not
GoodMorning and Thanks for the reply,
Regarding the hibernate fields and struts form fields, there is no problem
in there. And yes I have changed the scope from request to session.
But Im not clear about the third suggestion you gave.
My jsp is page code is something like this:
Good Morning
assuming you have the bean ID used for both iterate and bean
in your view assuming you have I would scope to session and not request
type="package.YourActionClass">
Keep in mind that Hibernate generates classes based on name specified in
*.hbm.xml (and not form field de
12 matches
Mail list logo