[jboss-user] [JBoss Portal] - ActionRequest.getContentType() not returning multipart in portlet

Rajasundaram Gopalan do-not-reply at jboss.com
Tue Apr 13 10:43:01 EDT 2010


Rajasundaram Gopalan [http://community.jboss.org/people/rajasundaram] replied to the discussion

"ActionRequest.getContentType() not returning multipart  in portlet"

To view the discussion, visit: http://community.jboss.org/message/537209#537209

--------------------------------------------------------------
Try to get HttpServletRequest and look for the content type.

HttpServletRequest httpReq =*null*;
*try* {
httpReq =  (HttpServletRequest) PolicyContext.+getContext+(
"javax.servlet.http.HttpServletRequest");
}
*catch*(Exception e) {
e.printStackTrace(System.
+out+);
}

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/537209#537209]

Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100413/955396ab/attachment.html 


More information about the jboss-user mailing list