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
[EMAIL PROTECTED]
Office: (321)726-1197
Mobile: (321)258-1272
FAX: (321)727-9607

-----Original Message-----
From: Steve Ochani [mailto:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to