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: 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)
  • 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: JSP with Inner class
    ... >> then include it in the JSP. ... I include a whole package of mine, with lots of classes, in my JSP. ... my classpath is changed to ... itself (because I am not using a jar). ...
    (comp.lang.java.programmer)