CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 jsp

Print topic Send  topic

Author Message
pradeepitnal

Posts: 5
Posted: 04/10/2006, 7:28 AM

how to upload a file from client to server in a lan environment. using jsp.
_________________
thanx
View profile  Send private message
matheus

Posts: 386
Posted: 04/10/2006, 9:36 AM

Use component File Upload from CodeCharge Studio.

If you aren't using CCS, please go away and find a forum from pure Java in web.

Thanks
_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message
pradeepitnal

Posts: 5
Posted: 04/11/2006, 7:02 AM

hi matheus

i shall explain u my problem . i doing a project where i have to upload PDF file from client machine to my server where i am runing my TOMCAT server. wen i say upload from my client machine that PDF file should be stored in a specific directory in my server.how to do that? i am browser to call the UPLOAD program from server. pls help me
_________________
thanx
View profile  Send private message
LH13
Posted: 04/11/2006, 7:12 AM

Are your project created in CCS?
If yes, pleace read "working with components --> FileUpload" in CCS help.
Standart CCS component have option to define file upload directory.
If no, try to look for answer in other forums.

This is forum for CCS user.

Sorry my english.
matheus

Posts: 386
Posted: 04/11/2006, 9:45 AM

Hi pradeepitnal.

LH13 reply everyhing you need know.
_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message
stella
Posted: 06/13/2006, 10:08 AM

hey guys i am loking for image upload to a specific directory. and retrieval of the same by browser .
please assist as u can
thank
MWarloc
Posted: 06/14/2006, 5:49 AM

Specify file folder as name of directory for upload.
For example "imgs".
1. Create this directory your in project.
Put some file to this directory (Ant dosn't copy directoryes without files).
2. Or you can create diroctory in your server.
3. Or specify any deirectoy which are available by http.

real name of file (with unique indentifier) you can get by this code
((FileUpload)e.getControl()).getFileName().

you can rename file in afterProceddAction and put to DB new name
or you can put ot db this real file name.

To show the image in page create image and specify as source db column which contain image name. You can format name if you need in beforeShow image event. (For example add any prefix like "/imgs/" or somthig else.)

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.