473,322 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

JSP code needed for browse(to attach a file)

1
Hi All,
Could you please help me out with a piece of code.
I need to write a code for attaching files using Browse option.Say when you click the Browse button,it should take me to a page where I can attach multiple documents.

Please could you help me out.

Thank you in advance


Regards

Malaya
Apr 30 '07 #1
3 8559
acoder
16,027 Expert Mod 8TB
Will these files be used for uploading?

You can simply use HTML for this functionality and server-side code for the actual uploading. The HTML is:
[HTML]<input type="file" name="attachfile">[/HTML]
May 1 '07 #2
Hi,
I have to write a code in which i have to create a button by clicking that i have to attach some files to that. Please help me urgent i have to complete that today itself please help
Thanks in advance...
Aug 1 '07 #3
acoder
16,027 Expert Mod 8TB
Hi,
I have to write a code in which i have to create a button by clicking that i have to attach some files to that. Please help me urgent i have to complete that today itself please help
Thanks in advance...
How many files do you need to attach? Some simple HTML coupled with server-side code should do the trick.
Aug 1 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Jon D | last post by:
I have a form where a user enters their name, date etc. i also want them to be able to click on a browse button and select a file which will then appear in a textbox. when they press submit i want...
3
by: Matt | last post by:
<input type="file" size=50"> will produce the browse button and browse text box. The user can either select the file from browse button, or enter a path in browse text box manually. My question...
5
by: Rob | last post by:
Help me, I'm just beginning with programming in Access 2000. I've tried the http://www.mvps.org/access/api/api0001.htm but it won't work in Access. What am i doing wrong. I don't have...
2
by: Mark | last post by:
Hi All, I am trying to keep a log file of what is going on with my frontend. I have achieved this with the following code: Dim fs, f Set fs = CreateObject("Scripting.FileSystemObject") Set f...
2
by: Larry Brindise | last post by:
I have deployed an ASP.NET application successfully on Windows 2000 and 2003. When I deploy it on an XP Pro machine (fresh install with framework 1.1 and IIS installed), I get a very unexpected...
5
by: Dan | last post by:
I am working on a C# ASP.NET project where I need to allow the user to browse to a folder. The only way I see how to do this is use <input type=file>. But this makes the user select a file and...
4
by: UJ | last post by:
How do you browse to a directory - much like file dialog except for directories? TIA - Jeffrey.
0
by: ultradiv | last post by:
I have a VB.NET application partly built that produces an xml output (just a file at present) I have a .NET webserver and SQLserver 2000 I need to be able to send the xml to the webserver/database...
3
by: manigattani | last post by:
Please let me know of some java code for converting dbf file to text file
5
by: rrkrishna24 | last post by:
Can someone guide how to code in simple HTML, how to browse the files and attach them. That is, when I click a button say "Attach", a window should be opened with which one can browse the files in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.