struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Caroline Jen <jiapei_...@yahoo.com>
Subject Reading Form Data
Date Fri, 02 Apr 2004 00:30:45 GMT
Simply want to make sure that I am doing it correct.  

I am going to pick up what a user selects from a drop
down list created this way:

   ArrayList order = new ArrayList();
   order.add(new LabelValueBean("Descending",
"DESC"));
   order.add(new LabelValueBean("Ascending", "ASC"));
   saveResult(Tokens.MENU_ORDER,order,controls);

Do I code this way:

   String order = request.getParameter( "order" );



__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message