importing class without package in JSP ?

From: mhk (cccssss_at_dddsssl.com)
Date: 11/29/03


Date: Fri, 28 Nov 2003 17:38:18 -0600

Hi,

i am working on apache server web based project and i want to import a
class without package in my JSP file.

All my classes are in "WEB-INF/classes"

if i use a package (such as "project") in a class (such as "match" )
then i can import class "match" in jsp using

<%@ page import="
     java.util.*,
     project.*
"%>

But if i dont have package then i dont know how to import my class in
JSP. Thats what i want to know .

PLease help me. i am really thankful to you guys.

Sincerely,

Jeff



Relevant Pages

  • Re: Design problem : security layers
    ... So the JSP only knows about the Data object. ... package, containing only lightweight versions of the objects. ... Whether that new database is a different database, ... Provided that i have defined Author1 and Author2 each in its ...
    (comp.lang.java.programmer)
  • Re: Programming using JSP and Tomcat: cannot be resolved to a type error
    ... An error occurred at line: 19 in the jsp file: /sample.jsp ... 'Connection' is not an interface here. ... This would not work since in the OP's code 'Connection' is a package. ... particularly when there is a risk of confusion with a well-known type. ...
    (comp.lang.java.programmer)
  • Re: Tomcat 5.0.24 cant see third party packages?!
    ... > package com.crystaldecisions.sdk.occa.report does not exist ... > I have all other jsp working all of them reference packages that are ... Hmm, may be a config error in your Tomcat setup, ...
    (comp.os.linux)
  • Re: Design problem : security layers
    ... But does your JSP use database aware classes? ... How that information got put into the Data object it totally irrelevant to the JSP. ... package, containing only lightweight versions of the objects. ... So what you need to do is make your database access classes final, and limit their scope to the package. ...
    (comp.lang.java.programmer)
  • Re: Tomcat 5.0.24 cant see third party packages?!
    ... > package com.crystaldecisions.sdk.occa.report does not exist ... > I have all other jsp working all of them reference packages that are ... Hmm, may be a config error in your Tomcat setup, ...
    (comp.lang.java)