writer.write(bean); /***************** This lines causes the
//get the string
String xmls = sWriter.toString();
//add the string to the request object
As the reader/writer doesn't touch the file system this seems strange.
Can some one explain?
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
On the configuration of the xmlintrospector specify that you do want to
use the beaninfosearchpath (which by default is cleared, because classes
that have beaninfo classes present in the searchpath will cause massive
xml files (esp the swing/awt classes are famous for this).
Just call getConfiguation().setUseBeanInfoSearchPath(true) on the
XMLIntrospector to not run into this security exception. If your xml
hasn't the right outcome when using the infosearchpath, you will have to
lift this restriction in the security policy of the Sun app server..
Hope this helps, if you didn't already solve it yourself.