classes go in the myapp/WEB-INF/classes folder, but make sure that your
class files are in proper packages i.e
myapp/WEB-INF/classes/mypackage/myClass.class

to use this class in a jsp page you have to add an import statement to the
page like:
<%@ page language="java" import="mypackage.myClass" %>

> -----Original Message-----
> From: Mario Moroni [mailto:[EMAIL PROTECTED]
> Sent: 28 August 2003 11:05
> To: Tomcat Users List
> Subject: [ROOKIE] WebApp
>
>
> I've downloaded Tomcat 4.1.27 (Win32)
>
> in the root webapps I've created some folders:
>
> myapp
> myapp/WEB-INF
> myapp/WEB-INF/classes
>
> in myApp I've putted index.jsp. After a restart (necessary?) I can access
> this page correctly.
> I'd like to use myClass.class in index.jsp....
>
> Where I should put this?
> What I have to configure?
>
> Thanks again
>
>   Mario
>
>
>
>
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
> Sponsor:
> Scopri i cd di musica rilassante , zen e new age. Li trovi su
www.regali.it
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1496&d=28-8

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