• Post Reply Bookmark Topic Watch Topic
  • New Topic

spotlight tag

 
shaggy lype
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, I want to use the spotlight tag at the start of body tag in one of my jsp but when I put it at the start, it creates a space on the page but when I put it before the end of body tag it won't create space on the main jsp page. For all who don't know what a spotlight tag is, it's used to keep track of user's behaviour on the website. So I just want to know is there any way to avoid the space on the jsp page when I use it near the start of body tag. I appreciate your help. Thanks all.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The output rendered by a JSP will faithfully reproduce any whitespace it finds in the source JSP file, including line breaks. To remove the line breaks, you either need to make sure that the source JSP doesn't have the offending break (which can make for some funky formatting), or perhaps you could do some fancy post-processing of the response text using a servlet filter and a response wrapper.
 
shaggy lype
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!