tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GB Developer" <gb107...@globallyboundless.com>
Subject RE: kindly help : where Business Logic(BL) files are been put?
Date Wed, 01 Feb 2006 16:54:48 GMT
Two things: 

1) format of your import statement
  (from your first email)
  <%@ page import="primeReports/bl/MemGrossBl"%>

should be: 

  <%@ page import="primeReports.bl.MemGrossBl.*" %>

periods, not slashes. 
end it with a .*, if you are importing every class within the package, or
(better) fully specify the class. 

2) name of the folder
TOMCAT_HOME\webapps\primeReports\WEB-INF\classes\Reports\

should be:
TOMCAT_HOME\webapps\primeReports\WEB-INF\classes\primeReports\bl\MemGrossBl\




> -----Original Message-----
> From: gupta vidhi [mailto:vidhi_gupta2002@yahoo.com] 
> Sent: Wednesday, February 01, 2006 5:27 AM
> To: Tomcat Users List
> Subject: kindly help : where Business Logic(BL) files are been put?
> 
> 
> hello,
>    
>   kindly tell me where Business Logic(BL) files are been 
> put?i'd put in 
> TOMCAT_HOME\webapps\primeReports\WEB-INF\classes\Reports\
>    
>   where,
>   primeReports is the name of the folder which i'd created.
>   the following error is coming:-
>    
>   org.apache.jasper.JasperException: Unable to compile class for JSP
> 
> Generated servlet error:
> Only a type can be imported. Reports.MemGrossBl resolves to a package
> 
>   Here MemGrossBl id my (Business Logic)BL File.
>   Kindly help me and tell me the solution.
>    
>   Thanks & Regards,
>   Vidhi
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message