I have a strange problem,
I have a domains and a subdomain
The server is setup with only tomcat 22.214.171.124
Both the above domains are mapped to tomcat/webapps/ClientAdmin.
When some one logs in from the second url, the link CREATE NEW FORM at page http://www.spry-forms.com/ClientAdmin/forms.jsp works fine but
when some one logs in from the first url (client.spry-forms.com) the link 'CREATE NEW FORM' at page http://client.spry-forms.com/forms.jsp produces this error
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 7 in the generated java file
Only a type can be imported. view.DemoConnection resolves to a package
An error occurred at line: 12 in the jsp file: /formeditor.jsp
DemoConnection cannot be resolved to a type
12: DemoConnection con = (DemoConnection) request.getSession().getAttribute("dbconnection");
13: String formid = request.getParameter("formid");
14: String grpid = (String) request.getAttribute("groupArray");
15: //String groupArry  = (String)request.getAttribute("groupArr");
Can anyone give me a hint as to what is happening??
I import the DemoConnection.java like this
<%@ page import="java.sql.*,view.DemoConnection,java.util.*"%> I did not do the domain config, as I am not the administrator, The admin wants me to resolve this.
I think the problem is caused because tomcat cannot find the DemoConnection.class.
my directory structure is like this
Tomcat webapps ClientAdmin jsp files WEB_INF web.xml lib classes poolman.xml folders view DemoConnection.class some more classes