File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Avoid XSS Scripting in JSF. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Avoid XSS Scripting in JSF." Watch "Avoid XSS Scripting in JSF." New topic

Avoid XSS Scripting in JSF.

Vinoy Paul

Joined: Jun 16, 2011
Posts: 14
hi ,

I have a out puttext feild like this in my JSP page. I am using framework as JSF.

<h:outputText id="text1"

If the EndDate value is not there i am sending &nbsp; to this variable to avoid the UI distortion(Table border is missing please find the attachment ).
But it leading to a problem of XSS scripting. Even if i send ""(empty space ) the UI distortion is happeneing.

Please help me how i can avoid this issue.



I agree. Here's the link:
subject: Avoid XSS Scripting in JSF.
It's not a secret anymore!