Html:File tag questions

2003-09-09 Thread Julio . Font
I have 2 questions regarding the html:file tag: Is there a way around getting the Warning: Page has Expired The page you requested was created using information ... page when the user clicks the browser back button on a form that has a html:file tag? I believe this tag is the cause

[REPOST] html:file tag and exception in validate method

2003-02-24 Thread atta ur rehman
- Original Message - From: atta ur rehman [EMAIL PROTECTED] To: struts users mailing list [EMAIL PROTECTED] Sent: Friday, February 21, 2003 9:33 AM Subject: html:file tag and exception in validate method Dear all, One of our JSP has html:file tag in it. Whenever validate method

html:file tag and exception in validate method

2003-02-21 Thread atta ur rehman
Dear all, One of our JSP has html:file tag in it. Whenever validate method of the associated ActionFrom returns any errors, the JSP container throws ClassCastException. java.lang.ClassCastException at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:171

Re: html:file tag and exception in validate method

2003-02-21 Thread atta ur rehman
Any comments, anybody? - Original Message - From: atta ur rehman [EMAIL PROTECTED] To: struts users mailing list [EMAIL PROTECTED] Sent: Friday, February 21, 2003 9:33 AM Subject: html:file tag and exception in validate method Dear all, One of our JSP has html:file tag in it. Whenever

Re: The content of html:file tag

2002-11-17 Thread Huynh Ngoc Huy
Dear, How can I set the initial value for html:file tag? Thanks, Huy --- Craig R. McClanahan [EMAIL PROTECTED] wrote: On Fri, 15 Nov 2002, Huynh Ngoc Huy wrote: Date: Fri, 15 Nov 2002 19:38:26 -0800 (PST) From: Huynh Ngoc Huy [EMAIL PROTECTED] Reply-To: Struts Users Mailing

Re: The content of html:file tag

2002-11-17 Thread David Graham
of html:file tag Date: Sun, 17 Nov 2002 16:31:55 -0800 (PST) Dear, How can I set the initial value for html:file tag? Thanks, Huy --- Craig R. McClanahan [EMAIL PROTECTED] wrote: On Fri, 15 Nov 2002, Huynh Ngoc Huy wrote: Date: Fri, 15 Nov 2002 19:38:26 -0800 (PST) From: Huynh Ngoc Huy

Re: The content of html:file tag

2002-11-17 Thread Dan Tran
, November 17, 2002 4:31 PM Subject: Re: The content of html:file tag Dear, How can I set the initial value for html:file tag? Thanks, Huy --- Craig R. McClanahan [EMAIL PROTECTED] wrote: On Fri, 15 Nov 2002, Huynh Ngoc Huy wrote: Date: Fri, 15 Nov 2002 19:38:26 -0800 (PST

Re: The content of html:file tag

2002-11-17 Thread Huynh Ngoc Huy
- Original Message - From: Huynh Ngoc Huy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, November 17, 2002 4:31 PM Subject: Re: The content of html:file tag Dear, How can I set the initial value for html:file tag? Thanks, Huy --- Craig R

RE: The content of html:file tag

2002-11-17 Thread James Mitchell
To: Struts Users Mailing List Subject: Re: The content of html:file tag Because I've thought that there's no way to do that. Is that right? Huy --- Dan Tran [EMAIL PROTECTED] wrote: Just curious, why do want to have a default value for html:file? Do you expect most likely

RE: The content of html:file tag

2002-11-17 Thread Andrew Hill
Mailing List Subject: RE: The content of html:file tag You cannot set a default value for a file input. This is for security reasons. Think about it. The web just wouldn't be same if: input type=file name=whatever value=C:\winnt\something\really\important.dat style

The content of html:file tag

2002-11-15 Thread Huynh Ngoc Huy
Dear group, How can we get the content of the html:file struts tag ? Thanks, Huy __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: The content of html:file tag

2002-11-15 Thread Craig R. McClanahan
On Fri, 15 Nov 2002, Huynh Ngoc Huy wrote: Date: Fri, 15 Nov 2002 19:38:26 -0800 (PST) From: Huynh Ngoc Huy [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: The content of html:file tag Dear group, How can we get the content

html:file tag

2002-10-03 Thread Matt Sales
Hello, I'm having trouble with the html:file tag... Here's a snippet of my jsp: html:form method=POST action=/saveAction.do enctype=multipart/form-data html:file property=file/ ... /html:form I've also tried the html:file tag using the accepts attribute, accepts=java.io.File, and accepts

Re: html:file tag

2002-10-03 Thread Thomas Eichberger
-0400, Matt Sales wrote: Hello, I'm having trouble with the html:file tag... Here's a snippet of my jsp: enctype=multipart/form-data ... I've also tried the tag using the accepts attribute, accepts=java.io.File, and accepts=java.io.String, with, of course, the corresponding property

Re: html:file tag

2002-10-03 Thread Joe Germuska
At 11:09 AM -0400 2002/10/03, Matt Sales wrote: Hello, I'm having trouble with the html:file tag... Here's a snippet of my jsp: html:form method=POST action=/saveAction.do enctype=multipart/form-data html:file property=file/ ... /html:form I've also tried the html:file tag using

Re: html:file tag

2002-10-03 Thread Kevin . Bedell
List [EMAIL PROTECTED] cc: (bcc: Kevin Bedell/Systems/USHO/SunLife) Subject:html:file tag Hello, I'm having trouble with the html:file tag... Here's a snippet of my jsp: html:form method=POST action=/saveAction.do enctype=multipart/form-data html:file property=file/ ... /html:form I've

How can I get an image on the html:file tag button?

2002-04-19 Thread Antony Stace
Hi Can someone please tell me how I can use a graphic button with the html:file tag, currently I have something like html:form method=POST enctype=multipart/form-data html:file property=theFile / /html:form but want to have a button with a graphic on if for the select file button

RE: How can I get an image on the html:file tag button?

2002-04-19 Thread Galbreath, Mark
I wrote my own tag to do this. If anyone's interested, I'll post the code - it's quite simple. Mark -Original Message- From: Antony Stace [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 4:12 AM To: [EMAIL PROTECTED] Subject: How can I get an image on the html:file tag button

Re: How can I get an image on the html:file tag button?

2002-04-19 Thread Antony Stace
Thanks mark, I am interested, please post the code. Cheers Antony On Fri, 19 Apr 2002 05:33:42 -0400 Galbreath, Mark [EMAIL PROTECTED] wrote: I wrote my own tag to do this. If anyone's interested, I'll post the code - it's quite simple. Mark

RE: How can I get an image on the html:file tag button?

2002-04-19 Thread Stephen . Thompson
I would be interested in this also, Thanks. Stephen. -Original Message- From: Antony Stace [mailto:[EMAIL PROTECTED]] Sent: 19 April 2002 10:40 To: Struts Users Mailing List Subject: Re: How can I get an image on the html:file tag button? Thanks mark, I am interested, please post

Re: html:file tag and FormFile

2002-02-22 Thread Henry Lu
Eddie, I got errors when i use: html:form action=/saveIdForm encType=multipart/form-data errors: encType: invalid according to the specified TLD Could you send me your jsp page with the html:file tag? --- Henry Lu MCIT

Re: html:file tag and FormFile

2002-02-22 Thread Henry Lu
users [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 2:53 PM Subject: html:file tag and FormFile Is there any one who may help me to figure out how to use html:file rag and FormFile in a ActionForm? I got errors where I tried to use both. errors are: javax.servlet.ServletException

html:file tag

2002-02-21 Thread Henry Lu
How do i retrieve the content of file in the formAction program? The only thing I get from the tag is the file name (exa: 1.txt). How do I get the content of the file? --- Henry Lu MCIT

Re: html:file tag

2002-02-21 Thread Eddie Bush
areas should help. HTH Eddie - Original Message - From: Henry Lu [EMAIL PROTECTED] To: struts users [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 8:35 AM Subject: html:file tag How do i retrieve the content of file in the formAction program? The only thing I get from the tag

Re: html:file tag

2002-02-21 Thread SUPRIYA MISRA
] To: struts users [EMAIL PROTECTED] Subject: html:file tag Date: Thu, 21 Feb 2002 10:48:05 -0500 (EST) How do i retrieve the content of file in the formAction program? The only thing I get from the tag is the file name (exa: 1.txt). How do I get the content of the file

Re: html:file tag

2002-02-21 Thread Henry Lu
to see if you have the content--take it else ask for a new one. From: Henry Lu [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: struts users [EMAIL PROTECTED] Subject: html:file tag Date: Thu, 21 Feb 2002 10:48:05 -0500 (EST) How do i retrieve the content of file

Re: html:file tag

2002-02-21 Thread Eddie Bush
, 2002 12:58 PM Subject: Re: html:file tag Thanks for your info! But I need a little bit more details: //int my FileForm.java file / public class FileForm extends ActionForm { private String theFile; public FileForm() {} public

Re: html:file tag

2002-02-21 Thread Henry Lu
Eddie, you are not answering my question at all. My question is how to use html:file tag and retrieve the content of file. --- Henry Lu MCITphone: (734) 936-2063 University

Re: html:file tag

2002-02-21 Thread Eddie Bush
PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 1:23 PM Subject: Re: html:file tag Eddie, you are not answering my question at all. My question is how to use html:file tag and retrieve the content of file

Re: html:file tag

2002-02-21 Thread Henry Lu
- From: Henry Lu [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 1:23 PM Subject: Re: html:file tag Eddie, you are not answering my question at all. My question is how to use html:file tag and retrieve the content of file

Re: html:file tag

2002-02-21 Thread Eddie Bush
] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 2:30 PM Subject: Re: html:file tag Thanks Eddie. But it is not detail enough to make it work. Here is my code and I got the errors: javax.servlet.ServletException: BeanUtils.populate Root Cause

html:file tag and FormFile

2002-02-21 Thread Henry Lu
Is there any one who may help me to figure out how to use html:file rag and FormFile in a ActionForm? I got errors where I tried to use both. errors are: javax.servlet.ServletException: BeanUtils.populate Root Cause: java.lang.IllegalArgumentException: argument type mismatch my JSP file

Re: html:file tag and FormFile

2002-02-21 Thread Eddie Bush
in my output window. HTH Henry! Eddie - Original Message - From: Henry Lu [EMAIL PROTECTED] To: struts users [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 2:53 PM Subject: html:file tag and FormFile Is there any one who may help me to figure out how to use html:file rag

Re: html:file tag and FormFile

2002-02-21 Thread Eddie Bush
I set method=post too ... sorry I didn't mention that. - Original Message - From: Henry Lu [EMAIL PROTECTED] To: struts users [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 2:53 PM Subject: html:file tag and FormFile Is there any one who may help me to figure out how to use

Re: html:file tag and FormFile

2002-02-21 Thread Eddie Bush
. Thanks! Eddie - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 4:00 PM Subject: Re: html:file tag and FormFile What does your html:form tag look like, Henry? Be sure you specify encType=multipart

does anyone just read the source code? (WAS Re: html:file tag)

2002-02-21 Thread Andre Beskrowni
using string attributes in your form bean. ab -Original Message- From: Henry Lu [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 3:31 PM To: Struts Users Mailing List Subject: Re: html:file tag Thanks Eddie. But it is not detail enough to make it work. Here is my

html:file tag -- cannot set label

2001-09-17 Thread Wiechert, Holger
Hi, sorry for the silly question, but what am I doing wrong that the html:file tag does not label the button with Select file, but with Durchsuchen... instead? I'm using IE5.5 on Win2k. The jsp is: html:file property=uploadFile value=Select file/ Thanks in advance, Holger

RE: html:file tag question

2001-06-11 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
: html:file tag question Hi everyone. I was wondering if anyone know what will be submitted if I use the html:file tag WITHOUT setting the enctype to multipart/form-data on my form tag? A string? I do not want to actually upload the file, just get the filename requested. Many thanks, Dave

html:file tag question

2001-06-06 Thread dhay
Hi everyone. I was wondering if anyone know what will be submitted if I use the html:file tag WITHOUT setting the enctype to multipart/form-data on my form tag? A string? I do not want to actually upload the file, just get the filename requested. Many thanks, Dave

Size on html:file tag??

2001-06-01 Thread dhay
Hi everyone. I am using the html:file tag, and running up against an error, saying the size attribute is invalid! It is clearly marked as valid in the docs! Is this a bug? I can take off the size= and it displays fine. My tag looks like this: html:file property=filename size=60/. Help

RE: Size on html:file tag??

2001-06-01 Thread Deadman, Hal
PROTECTED] Subject: Size on html:file tag?? Hi everyone. I am using the html:file tag, and running up against an error, saying the size attribute is invalid! It is clearly marked as valid in the docs! Is this a bug? I can take off the size= and it displays fine. My tag looks like