User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 430,105 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,147 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 17498 | Replies: 1
Reply
Join Date: Sep 2004
Posts: 1
Reputation: saivemuri is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
saivemuri saivemuri is offline Offline
Newbie Poster

passing values of Select box from JSP to Action class thru form Bean

  #1  
Sep 1st, 2004
This is about jsp, beans with struts. The problem is, I am using one jsp which is containing some select boxes. I ll be populating the select boxes from DB thru beans and action class. It’s working properly. The problem is with the data insertion from JSP to DB. The case is, I have to add a new record (record is containing the select boxes data as fields). Now if I select any data from the ‘select’box, I have to capture that data thru ‘action class’ and then pass that to ‘form Bean’ so that I can update my DB with the new record. But what is happening is, I am unable to get the values of the ‘select box’ data from the JSP to action class thru form Bean. Can any one help me out with this? One more thing, I can’t use sessions in JSP. If any one can provide some examples in this regard, that will be of great use.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2006
Posts: 1
Reputation: mukeshky is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mukeshky mukeshky is offline Offline
Newbie Poster

Re: passing values of Select box from JSP to Action class thru form Bean

  #2  
Aug 22nd, 2006
Whether u r able to get the select box value in the action class whn u select or deselect the select box??????
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JSP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JSP Forum

All times are GMT -4. The time now is 3:03 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC