How to reload a jsp?

O

Omar

Hi,

I have a JSP that shows a table, from which the user can select the
elements he is interested in to be shown. He should be able to do this
again and again.

Let's say, the original table (which is stored in the table.jsp file)
has 30 columns and 200 rows, but the user is only interested in 12
columns and 20 rows. So, he selects them by clicking the checkboxes
that correspond to each one of them. Besides, he can select the
possible values of the columns (I use an HTML menu <SELECT>). Then, he
clicks a button that should call the same table.jsp file, and when
it's shown again, this page should contain only the user's data
selected and the same button. Now, let's say the user is interested in
3 columns and 4 rows, so he selects them clicking on the checkboxes
and the button which should reload the same table.jsp file with a 3x4
table.

How can I make the button to call the same file once and again? If you
could point me in the right direction I'd appreciate it.

TIA.
 
K

kaeli

How can I make the button to call the same file once and again?

<form method="post" action="">
<input type="submit" value="submit">

No action specified will default to calling the same file.

HTH

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top