aspose file tools*
The moose likes Struts and the fly likes html select box - values getting lost Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html select box - values getting lost" Watch "html select box - values getting lost" New topic
Author

html select box - values getting lost

Kshama Here
Greenhorn

Joined: Jun 10, 2009
Posts: 2
Hi All,

I having a situation in my code...

-> I have a two html: select box with multiple="true" in my jsp.
-> There's a link on my page, which redirects the user to different jsp.

When, select some values in my multi select box and click on that link and again redirect top my jsp the select box values (selected) are getting lost.
Both the jsps are using the same formBean... and the scope is 'session'.
There are other controls as well in the my page apart from the select box... however, those are getting retained.

Any help is appreciated.
Kshama Here
Greenhorn

Joined: Jun 10, 2009
Posts: 2
Hi All,

I having a situation in my application...

-> I have two html:select box with multiple="true" in my jsp.
-> There's a link on my page, which redirects the user to different jsp.

When, I select some values in my multi select box and click on that link and again redirect to my jsp the select box values (selected) are getting lost.
Both the jsps are using the same formBean... and the scope is 'session'.
There are other controls as well in the my page apart from the select box... however, those are getting retained.

Any help is appreciated.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10523
    
    9

Welcome to the Ranch Kshama.

Please check your private messages for an important administrative matter.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html select box - values getting lost