• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

exchanging values from right to left on button click

 
Bhavesh Sangwan
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi experts! I have a problem...
In below attached screen shot with this question ,I have three UI components - I'm getting employee list on top... And list of all work(work_codes) in left container and list of work assigned to particular employee(emp_work) on right container. Now I want to push values from left to right container and want to update employee_work table in database.
So please help me solving this procedure using jsp, servlet and jdbc... I mean what to use to push values from one container to another and then update these values on database...
screenshot.png
[Thumbnail for screenshot.png]
this is png image ... please understand the requirement and do answer
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64721
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're barking up the wrong tree.... you'll need JavaScript for that.
 
Bhavesh Sangwan
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok Thanks sir... but please provide me the java script code which should be used here...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64721
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bhavesh Sangwan wrote:Ok Thanks sir... but please provide me the java script code which should be used here...

That's not how things work around here. You write the code and we'll help you with any problems you are having with it.
 
Bhavesh Sangwan
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sending my code... Now suggest changes where need and then again Ill make my own efforts .. so ... help peoples....
AssignWork.jsp

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64721
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scriptlets in a JSP? In 2012?

In any case -- this is a JavaScript issue so posting JSP code is not helpful. Post the rendered HTML and your JavaScript code, and let us know where you are having problems.
 
Bhavesh Sangwan
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh Sorry ... Bear ! I'll post it again after replacing all the scriptlet code by JSTL library... I'll also find some java script and post here... after then you can help me ..
Lets cook some code myself and let you make that Tasty...
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic