Thats strange. It doesnt seem very urgent to me mate.
http://www.catb.org/~esr/faqs/smart-questions.html
I was thinking of letting my reply sit in the 'drafts' folder for a while
before sending it, but what with the wierd list behaviour at the moment I
figure it will be ages till the reply arrives anyway.

So.... have you examined the struts upload example yet?
(It comes with struts - and the .java files for the ActionForm and Action
are in its war too)
That should get you started on what you need to do to get the file from the
users side over to the server.

Having uploaded the file you would invoke the transfering of it to the
database from your Action. (Generally there would be some kind of
business-logic layer between the db and the actions, though for a simple
app, doing the db access work in the action will work well enough to start
with)
See: http://jakarta.apache.org/struts/faqs/database.html for info on playing
with databases in struts (though I dont think this link covers transferring
blobs?).

(btw: dont use the struts connection pooling impl as its deprecated - use
the one provided by your container)

-----Original Message-----
From: SriDevi C [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 3 September 2003 13:29
To: [EMAIL PROTECTED]
Subject: Help needed in using the file upload to databse tag
Importance: High


Hi All,

I am new to using Struts.

I want to use struts in uploading a file to database.Kindly guide me in this
regard.
Kindly let me know which tld file to copy and where to copy and what is the
tag to use etc....

It would be very kind of you if anyone can give me a sample code. I am
developing the application using JSP's using JDeveloper.

It's very urgent.

Thanks in advance,
Sridevi



****************************************************************************
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message. Any
unauthorised review, use, disclosure, dissemination, forwarding, printing or
copying of this email or any action taken in reliance on this e-mail is
strictly prohibited and may be unlawful.
Visit us @ http://www.masconit.com
****************************************************************************




---------------------------------------------------------------------
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