CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 How to import external packages?

Print topic Send  topic

Author Message
Don Zorro
Posted: 04/08/2004, 9:42 AM

Hello,

How can I import external java packages? I added the "csv.jar" to the project ("Runtime libraries"), but where should I place the "import com.csv.*" directive? The code using this package is in xxxHandler.jsp.

Thanks,
-stefan
miko

Posts: 50
Posted: 04/09/2004, 12:17 AM

Stefan,

you can use full class name(with package), for example
com.cvs.MyClass myClass = new com.cvs.MyClass();

or you can add com.cvs.* to page import directive to xxx.jsp file
<@page import="......;com.cvs.*"%>


_________________
Regards,
Michael
View profile  Send private message
Don Zorro
Posted: 04/10/2004, 6:02 PM

miko,

Thanks for your reply. I ended up adding the import directive to the <@ page import=...%> section, but I was hoping there is a better solution, one which doesn't require editing the generated code (at one point the file may be re-created by the CCS, and my changes will be lost.). Using full class names is a solution, but... well very inconvinient :/

-zorro

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.