0 Replies Latest reply on Jul 5, 2006 2:06 AM by xuezhi qi

    Can portlet directly output xml document

    xuezhi qi Newbie

      In my applications, I need to output some xml documents in the portal. these xml documents is generated based on users' userid.

      I have tried to use servlet to output xml, but in servlet I can't get the user infomation through the servlet getUserPrincipal(), even if I have logged in the portal .

      It is not secure if I direct pass the parameter "userid" to the servlet, right?

      Does anybody know how to solve this problem?

      THX