Community

ActionRequest.getContentType() not returning multipart in portlet

reply from Rajasundaram Gopalan in JBoss Portal - View the full discussion

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

Start a new discussion in JBoss Portal at Community