This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Show text attachment in Servlet
Joined: Aug 29, 2007
Nov 29, 2007 21:31:00
I am wokring to displaying data in TEXTAREA of jsp page as text attachment.
No error but attachment showing all jsp page code with textarea data.
I need only textarea data...
Here is my
and servelt code
<form action="/servlet/SaveResponse" method="post">
<td><textarea name="responseMsg" rows="22" cols="75" readonly="readonly"><%=(String)session.getAttribute("respMsg")%></textarea></td>
outStream = response.getOutputStream();response.setContentType("text/plain");
Joined: Mar 06, 2001
Nov 29, 2007 21:39:00
Welcome to the JavaRanch.
We're a friendly group, but we do require members to have
valid display names
Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.
edit your profile
and correct your display name since accounts with invalid display names get deleted.
Joined: Dec 11, 2004
Nov 30, 2007 04:10:00
Please check your private messages.
How to ask a question...
Simple Servlet Examples
Don't get me started about those stupid
subject: Show text attachment in Servlet
In the same jsp page I want to display data fetched from database
issue with returning from a function on a onClick event
Very funny behavior of sessions...
the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is
Getting "not a multipart request" even though the image is being saved.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014