Shankh Pani Parimal

Greenhorn
+ Follow
since Dec 29, 2011
Shankh Pani likes ...
jQuery Eclipse IDE Java
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Shankh Pani Parimal



9 years ago

Shankh Pani Parimal wrote:Hi Swapna, It will help you:-



It will return the connection with MySqlDataBase with url "jdbc:mysql://bsl-ritu/pearlstine" , User "root", Password "123456".



shankh
9 years ago
Need to poper Casting of Object

its Work fine.
9 years ago
You need to write above javascript function and hidden field on main jsp i.e 'index.jsp .
So that, it take the value from truckList and set it in form hidden value. And call the function before form submit.

It will definitely pass the selected value of truckList to action class.

Shankh
9 years ago
In this case trucklist.jsp


Above select tag will be not a part of our form Submitted. We can do with the help of javascript to take selected value in form hidden field before form submition.



"formHiddenFieldValue" will pass selected value to the action.


shankh
9 years ago
Don't confuse yourself with connector j, it internaly work with in driver package ("com.mysql.jdbc.Driver "). Driver automaticaly create connection using Connector/j.

Shankh
Hi Swapna, It will help you:-



It will return the connection with MySqlDataBase with url "jdbc:mysql://bsl-ritu/pearlstine" , User "root", Password "123456".