| Message view | « Date » · « Thread » |
|---|---|
| Top | « Date » · « Thread » |
| From | Anton Pussep <anton...@pussep.de> |
| Subject | Struts 2, file tag, accept attribute not working? |
| Date | Fri, 02 Nov 2007 11:03:20 GMT |
Hello, I am using the following tag for uploading text files: <s:file name="myDoc" accept="text/plain" /> I expected it to recognise wrong content types, but it accepts any files I upload. What might be the problem here? I tried this with Struts 2.0.9 and 2.0.11. Best, Anton --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org | |
| Mime |
|
| View raw message | |