Hi Jack,
I basically wanted the value from html:file to get it displayed in the
html:img tag in another jsp. But can you tell me if we can get the value
from the html:img tag again so that I can submit it to the db? Any example?

This doesn't work for me, I get "Attribute image_path has no value"
<b>Image path:</b><html:img src="<%=request.getAttribute("image_path")%>" />

Uma

-----Original Message-----
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: Monday, December 20, 2004 7:58 PM
To: Struts Users Mailing List
Subject: Re: html:file value


This is just an input type in a form, Uma, so you need some sort of
form submission which "references" an action class, usually something
like "uploadAction.do".

Jack


On Mon, 20 Dec 2004 19:38:23 +0530, uma.k <[EMAIL PROTECTED]> wrote:
> How do I get html:file value in Action class without using javascript?
>
> <html:file property="theFile" />
>
> Uma
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
"You can lead a horse to water but you cannot make it float on its back."

~Dakota Jack~

"You can't wake a person who is pretending to be asleep."

~Native Proverb~

"Each man is good in His sight. It is not necessary for eagles to be crows."

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

-----------------------------------------------

"This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation."

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to