tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Williams" <...@csunv.com>
Subject Newbie: Help on directory structure
Date Thu, 18 May 2006 13:10:11 GMT
I have an Java app called login, in a package called UserConfig.  This is
just a very simple app to help me get started.

The directory structure:

app-name|
        |-login.jsp
        |-welcome.jsp
        |-WEB-INF|
        |        |-classes|
        |        |        |-UserConfig|
        |        |        |           |-login.class
        |-src/
        |-etc.///

In a form in a (very simple) login.jsp file, I have tried referencing
"servlets/UserConfig.login",
"classes/UserConfig.login", "classes/UserConfig/login", and just about every
other permutation.  I have also moved classes/UserConfig/login.class to
classes/login.class, classes/UserConfig.login.class, and
classes/UserConfig/UserConfig.login.class.

To each of these combinations and permutations, I get a "resource
unavailable" message referencing whatever I have currently called the .class
file in the
login.jsp file.

Can anyone give me an explanation of what the directory structure is
supposed to be, and what this class is supposed to be called?  Is this
convention documented anywhere?

Thanks,
anw


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


Mime
View raw message