Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3843924
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:00:28+00:00 2026-05-19T16:00:28+00:00

I am storing some HTML as a String which I want to output to

  • 0

I am storing some HTML as a String which I want to output to a JSP.

Is there a simply utility function that I should use for this, or should I write my own. I could write it easily but I’d rather do it the most common way.

Thanks,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T16:00:29+00:00Added an answer on May 19, 2026 at 4:00 pm

    You don’t need to do anything special. A simple expression will output the string without escaping: ${str}

    It takes extra work to get escaping, such as using the JSTL <c:out/> tag. You must be doing something like that, either in the JSP, or to the String before the JSP is rendered.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I want to get the HTML of http://www.google.com as a String using some
We're storing some Guid's in a MS SQL database. There's some legacy code that
In my application,I want to display some static files(.html,.htm,.txt) which will be uploaded by
This is a bit special: I'm loading some HTML in string form into the
Is it possible in ASP.NET to take a string containing some HTML and make
I'm hearing that some people believe storing info on the server in a session
I have some string resources, e.g. a user welcome string. By default it should
I'd like to use a Regex parser to aid in some string processing in
I have some html, which is separated by <br/> e.g.: Jack Janson <br/> 309
I'm storing some additional per-user information using the AUTH_PROFILE_MODULE . We can access the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.