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
- 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
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
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
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
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
, 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
- 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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
]
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
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
, 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
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
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
-
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
]
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
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
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
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
.
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
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
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
: 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
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
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
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
41 matches
Mail list logo