This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Html tags are concatenating along with Excel download from Web application  RSS feed

 
Revathi Muthukrishnan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the Web application.I am generating html and xls file with passes through same JSP. Here I am posting the JSP.


When I am downloading the <HTML><br></HTML> are displaying along with Excel.
 
Campbell Ritchie
Sheriff
Posts: 53720
127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Too difficult for this forum: moving discussion.
 
Dave Tolls
Ranch Hand
Posts: 2504
27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do not do this in JSP.
That's not what it's for.

That code should be in a servlet that then either forwards to a JSP page to generate HTML, or streams the Excel file.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!