raju k [http://community.jboss.org/people/komariraj] created the discussion
"actionRequest.getContentType() returning text/xml; charset=UTF-8" To view the discussion, visit: http://community.jboss.org/message/537066#537066 -------------------------------------------------------------- hi all when accessing requestParamets from jsp with enctype="multipart/form-data" in portlet, actionRequest.getContentType() is returning text/xml; charset=UTF-8 not returing multipart. in jsp <form id="uploadform" name="frmnewmail" method="post" action="<%=actionURL%>" *enctype="multipart/form-data"*> in portlet public void processAction(ActionRequest actionRequest, ActionResponse actionResponse) throws PortletException, IOException { // this if condition not returing true for multi part *if(actionRequest.getContentType() != null && actionRequest.getContentType().startsWith("multipart")) * { portletFileUpload = new PortletFileUpload(actionRequest); portletFileUpload.initialize(); } // this if condition also not executing for multi part i*f (PortletDiskFileUpload.isMultipartContent(actionRequest))* { } } Any help regarding this, Thanks in advance Raju.k -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/537066#537066] Start a new discussion in JBoss Portal at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
