Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

While generating html output from jsp, the resultant html is inserting blank line at top.

  Asked By: Mali    Date: Feb 18    Category: Java    Views: 1437
  

While generating html output from jsp, the resultant
html is inserting blank line at top. Anyone has idea,
how to overcome this problem.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Ryder Anderson     Answered On: Feb 18

Well, did you try removing all white space around all of your jsp  tags? It
would have to look like this:
<%@page ...%><html>...

If that still doesn't work, write a servlet instead so you can have complete
control over the response.

 




Tagged: