Hi,
I'm building a small application to get to know Struts2 and JSP.
I have a JSP page that contains a Struts form which basically takes in a person's name, phone number and address but I have no clue how to send that information into the table I have already built in my local database.
Can anyone show me an example or get me started?
Thanks!
Search Result
Collapse
5 results in 0.0022 seconds.
Keywords
Members
Tags
-
Sending Data to a Database from a Struts Form
-
how to pass the value from popup to parent window
I created Parent window and when i click on button popup window will appear.In popup window two drop down list are there.i have to take the list values from master table and populate in first drop down list on this basis of first, second drop down list will populate the value from its own table.when i click to go button it will show the result in data grid table in every row select hyperlink will present so after selecting it's result will populate... -
what causes LockAcquisitionException?
Hi,
I'm struggling to narrow down on what is causing LockAcquisition Exception in my program.
Today I got this exception while reading from a table.
My program connects to a remote db.
More than one process access this db concurrently.
How do I know which process contains the bad code that keeps a table locked and prevent other processes from accessing it?
Although this question might fit... -
In hibernate is it necessary to use Transaction while reading?
Hi,
In some examples of hibernate I have seen on the net, people have used Transaction while doing a session.get.
Is it necessary to use Transaction while reading using hibernate?
The reason I'm asking this is that today I got a org.hibernate.e xception.LockAc quisitionExcept ion while reading from a table using hibernate.
The table is on a remote machine and is being used by more than one process.
Anyways, where to... -
Retrieve list items
I have a problem with getting the list items, below is my hibernate code, after that code there is my method ..and below that is my junit test. How can I make sure that query is executing properly, and how can I check that results actually work .. this query should return couple of pids .. and put them in the list.. now I'm 90 % sure that my list is always empty .. instead it should have 3 pids : 4573, 4593, 4693 .. can anyone figure it out what...