This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
If I use <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
My tabs are not functional….
If I don’t use that
My code works but formatting goes away.
The first thing I'd do is examine your JSP *closely* and identify any invalid nesting, of which there *appear* to be several instances of--it's hard to tell because of the crazy indentation.
When I make everything look better I get this:For example, the <s:form> tag has a tag in it, which wouldn't be legal HTML because it would have a tag between table rows. There's an issue with the tabbed panel nesting with an <s:div>. There may be an extra closing </div> tag. Again, it's hard to tell, and I my not have indented your JSP completely correctly.
The appearance of code can go a *LONG* way to helping understand and debug it.