RE: File Download

2004-09-22 Thread Robert Shields
Hi, One way to do this is to set a header named content-disposition with a value of attachment;filename=download.txt So the raw http header would look like this: content-disposition: attachment;filename=download.txt This will cause your browser to open the standard open/save dialog. How you se

RE: [OT] someone using Outlook 2003, please tell me it can't be this LAME...

2004-09-02 Thread Robert Shields
> Someone tell me how I can get messages sorted correctly in Outlook? I want grouped by thread/subject but sorted by received date I clicked on the "Received" column heading then on the "Subject" column heading. Hey presto. Is that what you wanted? Rob -Original Message- From: Rick Reum

RE: NoClassDefFoundError: .../commons/beanutils/Converter

2004-08-31 Thread Robert Shields
NoClassDefFoundError - this means the JVM cannot find the class in question. You need to make this class available to the JVM by adding the commons-beanutils JAR to the WEB-INF/lib directory. Rob -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: 31 August 2004 14:01

RE: Debugging jsp file in IDE?

2004-07-30 Thread Robert Shields
Hi There are two plugins that I have used. The first is called myeclipse: http://www.myeclipseide.com This is a commercial (but inexpensive) plugin that will allow you to step through JSP files. The second is the Tomcat plugin by Sysdeo: http://www.sysdeo.com/eclipse/tomcatPlugin.html This w

RE: File Upload

2004-07-30 Thread Robert Shields
Hi > Is there any way by which the file is compressed into a zip (or any > other) and then it is uploaded. Yeap, just type: gzip [file] Then upload it. Regards -Original Message- From: Shailender Jain [mailto:[EMAIL PROTECTED] Sent: 30 July 2004 05:54 To: [EMAIL PROTECTED] Subject: F

RE: calling request.getInputStream() within Action

2004-07-16 Thread Robert Shields
tream() within Action Robert Shields wrote: >Hi Craig, > >Yes, I thought as much. >Do you know if it's possible to exactly recreate the binary HTTP body from parsed parameters, or elsewhere for that matter? &g

RE: calling request.getInputStream() within Action

2004-07-15 Thread Robert Shields
lue = ""; for(int i=0; imailto:[EMAIL PROTECTED] Sent: Thu 15/07/2004 17:50 To: Struts Users Mailing List Cc: Subject: Re: calling request.getInputStream() within Action Robert Shields wrote: >Hi Bill

RE: calling request.getInputStream() within Action

2004-07-15 Thread Robert Shields
PROTECTED] Sent: 15 July 2004 17:00 To: 'Struts Users Mailing List' Subject: RE: calling request.getInputStream() within Action Can I ask why you are after the binary content of the request? Paul > -----Original Message- > From: Robert Shields [mailto:[EMAIL PROTECTED] >

RE: calling request.getInputStream() within Action

2004-07-15 Thread Robert Shields
ves.java.sun.com/cgi-bin/wa?A2=ind0106&L=jsp-interest&F=&S=&; P=49196 It sounds like you are correct -- if request.getParameter() has been called you cannot get the input stream -- have you considered using a Servlet instead? Robert Shields wrote: > Hi Struts Users > >

calling request.getInputStream() within Action

2004-07-15 Thread Robert Shields
Hi Struts Users I'm trying to get the InputStream to read the binary contents of the request within an Action's execute method. E.g. public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request,