|
-
how to receive files in a servlet from INPUT=file tag?
how to receive file from a INPUT=file tag in a servlet
eg
HTML file
<html>
<body>
<form action="servlet.YourServlet" method="get">
<input type="file" name="yourFile" size="50">
</body>
</html>
SERVLET file
req.getParameter("yourFile)"; // only gets the path name
question is how to get the whole file?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks