A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
problem enctype and charset
Joined: Oct 06, 2003
Dec 02, 2004 10:00:00
Im using the following form to upload files:
<form id="form" method="POST" action="action" enctype="multipart/form-data" accept-charset="ISO-8859-1"> <input name="file" type="file"> <textarea name="text" cols="20" rows="5">Some text</textarea> </form>
and it works to upload files, but its not working on the text area. I can get the text in the text area, but its not using the ISO-8859-1, so I cannot use chars like �����.
if i use the following form:
<form id="form" method="POST" action="action" accept-charset="ISO-8859-1"> <input name="file" type="file"> <textarea name="text" cols="20" rows="5">Some text</textarea> </form>
I can get chars like �����, but i cannot upload files.
well my question is I need both, upload files and get char like �����, is there a way to have it working?
I agree. Here's the link:
subject: problem enctype and charset
Servlet code in JSP page
acessing data of the textarea within the form of multipart type
Unable to compile class for JSP
how to send sms in jsp web application
Array Index Out Of Bounds
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014