*
The moose likes JSF and the fly likes Cross-site scripting  error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Cross-site scripting  error " Watch "Cross-site scripting  error " New topic
Author

Cross-site scripting error

jit rath
Greenhorn

Joined: Sep 13, 2004
Posts: 2
During enter of < and > and ' and " special char in my application, throws
Cross-site scripting error throughout all editable filed.
Though i have idea Often attackers inject JavaScript, VBScript, ActiveX, HTML, or Flash into a vulnerable application to fool a user (Read below for further details) in order to gather data from them .

Whatever is there any way to encode all this char through out my application's editable filed. Pass to request


jit Rath
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Cross-site scripting error