struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian McSweeney" <>
Subject RE: two little questions
Date Mon, 14 Jul 2003 10:38:26 GMT
Hi Simon,
That was my original idea too. Just wanted to see if other people were 
doing the same.


-----Original Message-----
From: Simon Kelly [] 
Sent: 14 July 2003 10:58
To: Struts Users Mailing List
Subject: Re: two little questions

For Q1.

You could pass the data that they enter through a paser, that delimits
the <...> tags by placing '!--' after any '<' and '--' before and '>',
will stop this text being viewed as html. Or jusr remove the tags or
cetain tags and remove any that aren't in the allowable ones!



----- Original Message -----
From: "Brian McSweeney" <>
To: <>
Sent: Monday, July 14, 2003 11:49 AM
Subject: two little questions

> Question1:
> If my application allows users to enter text which will then later be
> displayed on
> web pages, do I have to ensure that the text they write isn't html.
> example,
> lets say a message board application. If a user enters in loads of
> which is
> html, will this not mess up the page when it is displayed? If so, how
> people
> check for this.
> Question2:
> If I want my app to be able to allow users to enter text in any
> - eg,
> multi-lingual message boards, do I have to configure my database to be
> able to
> handle multiple language types, or should it just work.
> Thanks for any replies,
> Brian

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message