Configure you web server to not allow directory browsing OR you can hide
the panelBox using the visible attribute...
Scott
pdt_p wrote:
Hi..
I have a question about Jsp include tag and trinidad panel component.
I try to add this code in one of my jsp page:
<tr:panelBox inlineStyle="display:none">
<h:panelGrid border="1">
<jsp:include page="" />
</h:panelGrid>
</tr:panelBox>
Somehow directory listing is displayed in my page when it get rendered. I
try to hide the directory listing part by using syleclass and inline style
but seems like it's not working (ex inlinestyle that i used:
"inlineStyle="display:none" ). The directory listing is still get displayed.
If I remove jsp:include directive, the directory listing part gone.
I have tried to use pretty much all trinidad panel component such as
panelgroup, panelBox, trinidad tablelayout and tomahawk div component, but
none of them is working.
I try to use tomahawk collapsiblePanel component and set the "value"
attribute to false, the directory listing is gone but the problem it the
double arrow image will be displayed.
I am aware that i have to provide valid relative or absolute url in the page
attribute in jsp include directive but in my case, sometimes the url that i
am going to provide might be an invalid url.
Any Idea How to hide the directory listing?
Thank you very much.
Regards,
pdt