[jboss-user] [JBoss Seam] - FileUpload component typo
dilator
do-not-reply at jboss.com
Mon Feb 5 13:59:15 EST 2007
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
More information about the jboss-user
mailing list