tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Williams, Allen" <awill...@harris.com>
Subject RE: Newbie: Help on directory structure
Date Thu, 18 May 2006 20:26:33 GMT
I tried referencing the class with the name UserConfig.login in the .jsp
file, with a directory structure classes/UserConfig/login.class and
classes/UserConfig.login.class.  Neither worked, but I could have made a
mistake and will try again.

Where should the name UserConfig.login be used?  As the reference in the
.jsp file, or as the actual name of the .class file?

BTW, I also found the online documentation regarding deploying Tomcat
webapps, and I swear I tried the directory structure and naming
conventions it recommends, but will try again tonight.

Thanks, and Regards,
________________________
Allen Williams
allen.williams@harris.com
Office: (321)726-1197
Mobile: (321)258-1272
FAX: (321)727-9607

-----Original Message-----
From: Steve Ochani [mailto:ochanis@ncc.edu] 
Sent: Thursday, May 18, 2006 2:29 PM
To: Allen Williams; Tomcat Users List
Subject: Re: Newbie: Help on directory structure

On 18 May 2006 at 9:10, Allen Williams wrote:

> 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.

Did you try UserConfig.login   (dot in between package name and class
name)?




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


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


Mime
View raw message