Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hidden elements  RSS feed

 
Arulanand Dayalan
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am Jsp which contains two includes at runtime.

The three Jsp are,
1. Header.Jsp
2. LeftMenu.jsp
3. MainContent.jsp

The maincontent is configured like this,

The left menu contains some hidden elemnts and i am using struts. When this page loads at runtime i get a white space between Header and (LeftMenu and MainContent ). When i saved the source and remove the hidden element form LeftMenu.Jsp the white space gets removed. I dont know why this is happening. Because of this jsp looks bad when loaded. Can anyone help me in solving.

Thanks in Advance.

Regards,
Arul.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the JSP forum.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This article addresses how whitespace is handled in JSP pages.
[ July 17, 2006: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!