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

  • SEARCH
  • Home
  • 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 1098093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:31:42+00:00 2026-05-17T00:31:42+00:00

I am making a forum posting web application using Java and I want to

  • 0

I am making a forum posting web application using Java
and I want to know :

  1. What are the xml tags that should be parsed and removed when posting
    like the <script> tag ?
  2. Should i remove the tag and keep the content, or remove the tags with the content ?
  3. what are the regular expression to remove them ?
  • 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-17T00:31:42+00:00Added an answer on May 17, 2026 at 12:31 am

    You want to allow users to use HTML to format their posts?

    1. Don’t make a list of unsafe tags; make a list of safe tags and only accept those
    2. This is up to you
    3. The subject of parsing HTML/XML with regular expressions has been covered before
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

EDITED: Java httpPost into .asp form I am making an application that will display
Why was it decided that using XMLHTTPRequest for doing XML calls should not do
I'm making a forum application with various levels of authorization, one of which is
I am posting form data to a page that is using jQuery tabs. Because
I'm making a simple Facebook app that posts updates to the user's timeline using
I'm making a XML + image post in my Android application with a MultiPartEntity
I'm making a forum and I'm using drupal6 advance-forum module. I browsed all the
Everyone knows that you should be only using tables for semantic purposes, to markup
Im making forum software. Now i want to add anti-flood. So when a post
currently I'm making a forum software, and I'm writing the install script, that sets

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.