Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

struts dropdown list box  RSS feed

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi all,

Can any one tell me how do i set one option as default as selected when the jsp page is loading.
I have a list of options i want to set only one among that list on my jsp page, as we had <option selected="true"> .
Is there any option to make a default selection??? in struts<html:select>
 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
  • Report post to moderator
I feel this forum is not the right place for this thread. If you need answers for your question you have to post it in right place, but you have to be a registered member first with a display name confirming to ranch naming policy.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Report post to moderator
Yep, Srinivasa got it right. This forum is, as the forum description explains, only for questions about JavaRanch itself. For Struts questions, please post them to the appropriate forum--in your case, the Struts forum.

Also, when you register (in order to be able to post questions and answers), do pay attention to picking a display name that complies with the naming policy.

Thanks.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!