[
http://www.stripesframework.org/jira/browse/STS-510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11249#action_11249
]
Gregg Bolinger commented on STS-510:
------------------------------------
If you look at the javadoc for FileBean...
http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/action/FileBean.html
You'll notice that getting the size, contenttype and a few other goodies are
already available. And if you need a File representation you can just do
something like..
File file = new File('someLocation');
fileBean.save(file);
> Add a getFile() method to FileBean
> ----------------------------------
>
> Key: STS-510
> URL: http://www.stripesframework.org/jira/browse/STS-510
> Project: Stripes
> Issue Type: Improvement
> Affects Versions: Release 1.4.3, Release 1.5
> Reporter: James Robert
> Priority: Minor
>
> It would be great if there were a "public File getFile()" method in the
> net.sourceforge.stripes.action.FileBean object. This would be useful for some
> validations (for example checking the type of image uploaded) that require
> the file or at least the full path to the file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development