Forums Register Login

problems with sending parameter with textarea tag

+Pie Number of slices to send: Send
in the form page I write:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Upload your Topic/Item</title>
<link rel="stylesheet" type="text/css" href="myStyle.css"/>
</head>

<body>
<form action="receiver.jsp" enctype="MULTIPART/FORM-DATA" method="post">
<p>
<table>
<tr>
<td>Topic Name *)</td>
<td> <input type="text" name="Topic" /></td>
</tr>
<tr>
<td>Item Name: (*)</td>
<td><input type="text" name="Item" /></td>
</tr>

<tr><td>Description:</td>
<td>
<textarea name="description" cols="40" rows="5" wrap="virtual">

</textarea>
</td></tr>
when I get the parameter of this textarea called "description", I got null value, I saw a post before saying that the multimedia part encryption type is not compatible with form elements sending to the server page. And If I want to unload a picture I have to use things from Jakarta...? I got the javabeans working perfectly and I don't want anything else
waiting for your reply , Thanks .
+Pie Number of slices to send: Send
How are you getting the parameter value? The request.getParameter family of methods will not work with multi-part forms; you need to parse the input on your own (or use a package written for that like the oreilly package).
+Pie Number of slices to send: Send
could you specify which package shall I use?
a url or what?
cheers
Enjoy the full beauty of the english language. Embedded in this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1118 times.
Similar Threads
how to send sms in jsp web application
Not able to print the items in the List
Using checkbox on Spring 2.5 MVC ?
textarea empty tag
Problem Resetting Fields
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:34:52.