Dave Tolls wrote:Well, the first step with this is to hit F12 in the browse and click on the network tab of the developer tools and see exactly what is sent to the server when you submit the request.
Dave Tolls wrote:OK, well what is the HTML that you think is supposed to send the list of selected ids to the server?
That is, what is the HTML on the browser (forget the JSP for now).
Dave Tolls wrote:Yes.
What does that look like on the browser?
Does it have the data?
Is the data in the correct fields?
Is it going to send to the correct URL?
etc etc
Dave Tolls wrote:So there's no data in the table?
Can you paste the HTML in here?
It's hard to visualise what your issue is.
Dave Tolls wrote:No, you've posted the JSP page that produces the table.
I was specifically asking for the HTML as it appears in the browser.
That's a very important check to ensure that your JSP is producing what you think it is producing.
You need that because it is that which defines what happens on the browser.
Essentially, when you get a situation where an event on a browser doesn't seem to produce anything you want to work from the browser, not the JSp (which is server-side).
So first step is "does it send anything".
If so, what does it send.
If that's correct then that is the point you go to the server and see what the servlet is doing with the request.
If it's not sending the correct thing (or anything at all) you then need to look at the HTML on the browser, and possibly debug Javascript if there's any processing before making a request to the server.
That HTML (and any associated script) will determine what is happening.
So, from what you posted earlier it looks like it's not making a request.
So you need to look at the actual HTML.
Until you determine what is not correct in that then there is little point peering at JSP tags.
A wop bop a lu bop a womp bam boom! Tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
|