And one more thing, when I click submit button on the form which contains <s:file/> it doesn't redirect to the page I defined in struts.xml for that form action, it just remain on the page with the form?
-- Thx, M. Milan Milanovic wrote: > > Hi, > > I need to use <s:file/> tag just to select file in the system, but not to > upload this file, I just want to get path to it, so that I can parse it in > my action class. However when I put this tag in the <s:form/> tag and try > to select file, file was selected but I get an error in console about > "missing multipart/form-data for enctype"! How can I remove this error ? > > One another question, I want to user that he can enter new filename in a > directory for exporting data, but I cannot use <s:file/> for this because > in that case I need existing file. Which tag should I use ? > > -- > Thx, Milan > -- View this message in context: http://www.nabble.com/-S2--Using-%3Cs%3Afile-%3E-tag-for-choosing-file-%28no-uploading%29-tp21125988p21133123.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org