I have a jsp page, which imports another jsp. This import is wrapped into div tag.
Also I have parameter with values “true/false”, which arrives from servlet as a request parameter.
I wonder what’s the way to change mentioned visibility(with the help of “style.display” attribute) using the request parameter value. The div should be visible/invisible immediately after page loads.
Any ideas? Thanks in advance.
I have a jsp page, which imports another jsp. This import is wrapped into
Share
If you don’t want to display a JSP fragment (it can be a fragment that import another JSP) I would avoid to use
"style.displayattribute and I would do this:This is better that to import the jsp and them hide it.