<%@ page import="com.blah.beans.*,java.util.*" %> <% ContentList contentList; ContentObject parentObject = new ContentObject();
// these 2 types are part of the com.blah.beans package Sorry, your syntax for package separators was correct (,) in the page directive. Are you hard coding your classpath and referencing any other jar files with a similar package structure? You shouldn't need to. You may want to revert to your previous setup. In your web app's WEB-INF\classes directory you should have a nested subdirectory com->blah->beans, in there you should see your 2 beans. -----Original Message----- From: Nick de Voil [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 3:32 PM To: JRun-Talk Subject: Re: Trouble moving app from 3.0 to 3.1 Thanks John, but that got me: Syntax: import expected after this token Next I've tried jarring all the classes into a jar file in WEB-INF/lib, but now I get Compilation error occured: Found 2 errors in JSP file: x.jsp:22: Error: The file "ContentList.class" was found in directory "y/WEB-INF/lib/psBeans.jar" specified in the CLASSPATH. However, that class file specifies a type associated with the named package "com/blah/beans" instead of the unnamed package. x.jsp:23: Error: The file "ContentObject.class" was found in directory "y/WEB-INF/lib/psBeans.jar" specified in the CLASSPATH. However, that class file specifies a type associated with the named package "com/blah/beans" instead of the unnamed package. Any ideas? Thanks Nick ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
