|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hi,
I currently have a table that is dynamical created in jsp from data within a database. What i want to do is, to be able to click on one of the eliments in the table so a pop-up windon appears, which too will pull more info from the database. The window will have a standard format but will need to know which eliment was clicked to be able to pull the relevent extra data from the database. I assume that you can do this with JSP session varibles but i dont know how. Does nebody have any ideas. Thanks for your help in advance. ROb!! |
|
#2
|
||||
|
||||
|
URL querystring? ...widget.jsp?y=yes&n=no
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins |
|
#3
|
|||
|
|||
|
What?
![]() |
|
#4
|
|||
|
|||
|
what he means is append it to the url of the pop up. Get the pop
url to be at http://127.0.0.1:8080/jsp/popup.jsp...edbutton=Search just make your buttons call a new window with the url relevant to the button you clicked Oscagne |
|
#5
|
|||
|
|||
|
Here is how to do it using sessions.
result is a SQL ResultSet session = request.getSession(); result = (ResultSet) session.getAttribute("resultObject"); And here is how to set it session.setAttribute("resultObject", result); I'm using it to store a SQL ResultSet so I can easily page through the display of the summary of the query. Hmm, didn't read the whole question. The others had what you are looking for. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Passing session varibles to pop up window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|