CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> Java

 How to access uploaded file details?

Print topic Send  topic

Author Message
Stan
Posted: 06/08/2005, 6:46 AM

I'm trying the following in both the before & after process file events in a file uploader:

String theFile = e.getPage().getFileUpload("FileUpload1").getFullName();

but it gives a null pointer exception.

is this the correct way to find the filename? What I want to do is open the file and read some information from it, in the before process file event. Am I going about it the right way?

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.