You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Peter Jarunek <ja...@host.sk> on 2004/09/06 22:27:42 UTC

using my own classes in my web-app

Hello,

I'm new to Tomcat and need a help. I'd like to use my own classes in my JSPs, 
but I can not reach them from my JSPs. I added them (already compiled .class 
files) into WEB-INF/classes directory of my war file, but the JSP doesn't 
work. It shows the message of unknown class. How to use them?

Thanks for your answer! Peter

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


Re: using my own classes in my web-app

Posted by John Villar <jo...@florhard.com>.
try restarting tomcat

Peter Jarunek escribió:

>Hello,
>
>I'm new to Tomcat and need a help. I'd like to use my own classes in my JSPs, 
>but I can not reach them from my JSPs. I added them (already compiled .class 
>files) into WEB-INF/classes directory of my war file, but the JSP doesn't 
>work. It shows the message of unknown class. How to use them?
>
>Thanks for your answer! Peter
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>

-- 
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com



Re: using my own classes in my web-app

Posted by Schalk Neethling <sc...@volume4.co.za>.
Have you registered your servlets via the web.xml?

Sjoerd van Leent wrote:

> Peter Jarunek wrote:
>
>> Hello,
>>
>> I'm new to Tomcat and need a help. I'd like to use my own classes in 
>> my JSPs, but I can not reach them from my JSPs. I added them (already 
>> compiled .class files) into WEB-INF/classes directory of my war file, 
>> but the JSP doesn't work. It shows the message of unknown class. How 
>> to use them?
>>
>> Thanks for your answer! Peter
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>  
>>
> Did you try to use any packages?
>
> Regards,
> Sjoerd
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>

-- 
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Design.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:schalk@volume4.co.za
Global: www.volume4.com
South-Africa: www.volume4.co.za
 
This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you.



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


Re: using my own classes in my web-app

Posted by Atishay Kumar <at...@gmail.com>.
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org


On Sat, 11 Sep 2004 05:03:52 -0700 (PDT), Arniel Pepito
<ni...@yahoo.com> wrote:
> To moderator:
> 
> PLEASE REMOVE ME FROM THIS MAILING LISTS....
> 
> THANK YOU!
> 
> Sjoerd van Leent <sv...@wanadoo.nl> wrote:
> Peter Jarunek wrote:
> 
> >Hello,
> >
> >I'm new to Tomcat and need a help. I'd like to use my own classes in my JSPs,
> >but I can not reach them from my JSPs. I added them (already compiled .class
> >files) into WEB-INF/classes directory of my war file, but the JSP doesn't
> >work. It shows the message of unknown class. How to use them?
> >
> >Thanks for your answer! Peter
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> >
> >
> Did you try to use any packages?
> 
> Regards,
> Sjoerd
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Shop for Back-to-School deals on Yahoo! Shopping.
> 



-- 
:)
Atishay Kumar
Btech, SEM VII
DA-IICT
Gandhinagar - 382009
India
ph: +91 9825383948
/****************************************************************************
 * Learn the rules as you would need them to break them properly *
 ****************************************************************************/

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


Re: using my own classes in my web-app

Posted by Arniel Pepito <ni...@yahoo.com>.
To moderator:
 
 
PLEASE REMOVE ME FROM THIS MAILING LISTS....
 
THANK YOU!

Sjoerd van Leent <sv...@wanadoo.nl> wrote:
Peter Jarunek wrote:

>Hello,
>
>I'm new to Tomcat and need a help. I'd like to use my own classes in my JSPs, 
>but I can not reach them from my JSPs. I added them (already compiled .class 
>files) into WEB-INF/classes directory of my war file, but the JSP doesn't 
>work. It shows the message of unknown class. How to use them?
>
>Thanks for your answer! Peter
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> 
>
Did you try to use any packages?

Regards,
Sjoerd


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


		
---------------------------------
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.

Re: using my own classes in my web-app

Posted by Sjoerd van Leent <sv...@wanadoo.nl>.
Peter Jarunek wrote:

>Hello,
>
>I'm new to Tomcat and need a help. I'd like to use my own classes in my JSPs, 
>but I can not reach them from my JSPs. I added them (already compiled .class 
>files) into WEB-INF/classes directory of my war file, but the JSP doesn't 
>work. It shows the message of unknown class. How to use them?
>
>Thanks for your answer! Peter
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>
Did you try to use any packages?

Regards,
Sjoerd


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


Re: using my own classes in my web-app

Posted by Edward Barrow <ed...@copyweb.co.uk>.
On Monday 6 September 2004 21:27, Peter Jarunek wrote:
> Hello,
>
> I'm new to Tomcat and need a help. I'd like to use my own classes in my
> JSPs, but I can not reach them from my JSPs. I added them (already compiled
> .class files) into WEB-INF/classes directory of my war file, but the JSP
> doesn't work. It shows the message of unknown class. How to use them?
>

did you import them?  put the package name in the import attribute of the 
jsps' page directive.
-- 
Edward Barrow 

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