Hi Shane,

Noticed a typo in MultipartRequest.java

   public String getFileName(String name)
  |    {
  |       Param p = getParam(name);    
  |       return (p != null && p instanceof FileParam) ? 
  |                ((FileParam) p).getContentType() : null;
  |    }   

Should be 

   public String getFileName(String name)
  |    {
  |       Param p = getParam(name);    
  |       return (p != null && p instanceof FileParam) ? 
  |                ((FileParam) p).getFilename() : null;
  |    }   

Cheers -ben

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011500#4011500

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011500
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to