Eric Pascarello wrote:Looking at your code in your post, your markup looks bad, you can not have the form tag around table cell like that. It would have be entirely in the cell or around the whole table.
I use table for alignment of elements (I don't know div tag properly).So very first tag after body tag is table tag and I adjust all the elements in it. So it is obvious that form tag might come under some td tag and the same td tag may contain another table. In my case it's like this ,
Second Form
Excerpt of Header.jsp
So at the run time everything will be merged in single page. And everything looks fine.
Isn't this the proper way of alignment of elements? Please guide me if I am wrong. Please justify your statment.
Eric Pascarello wrote:And when it fails do you get any JavaScript errors?
Except the line in header.jsp, I didn't use javascript atall in this page. Actually, I don't get any error atall but it behaves unexpectedly. When I submit the button(I'm done) then it should submit the second form and hence it should call the controller associated to that
pattern. But in my case it submit the first form and call the logout controller.