aspose file tools*
The moose likes Servlets and the fly likes getting options from select list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "getting options from select list" Watch "getting options from select list" New topic
Author

getting options from select list

Anthony Leroy
Greenhorn

Joined: Aug 02, 2001
Posts: 20
Hi,
When i move from page A to page b, I want to get all the options of a select list on page A to manipulate and display on page B, whether they are selected or not.
How do I get all the list elements?
thanks,
Ryan
Sandeep Jain
Ranch Hand

Joined: Oct 25, 2000
Posts: 124
Hello ,
I dont undestand this is regarding what . ....
If its a servlet
-----------------
In that case u can dirrectly say get request.getParameter()
and get the values and check it .
If it is about awt and swing.
-------------------------------
In that case ur program will be extending the Frame and JFrame class So u will be haveing the refrencd of the object with u .
So On the page ,where u need to check the values .call the function object.getSelectedValues()
If its two different proframs and both are extending from two different JFrame in that case u need to dynamically load the class and then u need to change it .
That u can do by loading the class with
Class.forname function

------------------
Try and Try Till u succeed
Sandeep Jain


Try and Try Till u succeed<br /> <br />Sandeep Jain
edward william
Greenhorn

Joined: Aug 24, 2001
Posts: 1
Hi,
I have the same problem.Do u have any answer for this problem.If yes please let me know.thanx in advance.
bye,
edward
Originally posted by Anthony Leroy:
Hi,
When i move from page A to page b, I want to get all the options of a select list on page A to manipulate and display on page B, whether they are selected or not.
How do I get all the list elements?
thanks,
Ryan

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting options from select list