You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rick <pl...@yahoo.com> on 2003/05/08 01:00:25 UTC
JAVA class Beans and web.xmk entries ?
I was told my my hosting site that I need to add
servlet mapping entries for my JAVA class beans in my
web.xml
their directory structure looks like this
servlets-->WEB-INF-->web.xml
..................-->classes\com\....\my.class
..................-->lib\my.lib
does anyone know if servlet entries are required?
and if so does anyone have a sample for a JAVA bean?
I can find all kind of examples for servlets.
I am confused on this because on my local Tomcat I jst
place my class files under
root\WEB-INF\classes\..\my.class
thanks
=====
Use the link below to send a Nice Card today!
http://nicecards.com/partner.cgi?p15602
please reply to pluto26@altavista.net
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: JAVA class Beans and web.xmk entries ?
Posted by Dan Tran <da...@hotmail.com>.
Interesting!!!! Never heard or need to do this set.
Sounds rediculous to me
-Dan
----- Original Message -----
From: "Rick" <pl...@yahoo.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, May 07, 2003 4:20 PM
Subject: Re: JAVA class Beans and web.xmk entries ?
> Dan,
>
> You gave me examples of entries for servlets.
>
> I have been told I new to add in servlet mapping
> entries in my web.xml for JAVA class beans, NOT
> servlets.
>
> I do not have any servlets. I am using jsp and the
> jsp:usebean tags.
>
>
> --- Dan Tran <da...@hotmail.com> wrote:
> > Rick, you can give your serlvet a friendlier name by
> > configure servlet
> > mapping in your web.xml file and
> > well as passing in startup params (if any)
> >
> > Like http://hostname/yourwebapp/yourservletmap.
> >
> > withouth mapping, you end up to specify the full
> > path of your sevrlet which
> > is:
> >
> >
> http://hostname/yourwebapp/servlet/<fullpathofyourservlet>
> >
> > How do you do the maping, here is an example
> >
> > <servlet>
> >
> >
> <servlet-name>RosettaNetListenerServlet</servlet-name>
> >
> >
> <servlet-class>officefree.rosettanet.ListenerServlet</servlet-class>
> > <load-on-startup>2</load-on-startup>
> > </servlet>
> > <servlet-mapping>
> >
> >
> <servlet-name>RosettaNetListenerServlet</servlet-name>
> > <url-pattern>/RosettaNet</url-pattern>
> > </servlet-mapping>
> >
> >
> >
> > Good luck
> >
> > -Dan
> >
> > ----- Original Message -----
> > From: "Rick" <pl...@yahoo.com>
> > To: <to...@jakarta.apache.org>
> > Sent: Wednesday, May 07, 2003 4:00 PM
> > Subject: JAVA class Beans and web.xmk entries ?
> >
> >
> > >
> > >
> > > I was told my my hosting site that I need to add
> > > servlet mapping entries for my JAVA class beans in
> > my
> > > web.xml
> > >
> > > their directory structure looks like this
> > > servlets-->WEB-INF-->web.xml
> > > ..................-->classes\com\....\my.class
> > > ..................-->lib\my.lib
> > >
> > > does anyone know if servlet entries are required?
> > > and if so does anyone have a sample for a JAVA
> > bean?
> > > I can find all kind of examples for servlets.
> > >
> > > I am confused on this because on my local Tomcat I
> > jst
> > > place my class files under
> > > root\WEB-INF\classes\..\my.class
> > >
> > >
> > > thanks
> > >
> > > =====
> > > Use the link below to send a Nice Card today!
> > > http://nicecards.com/partner.cgi?p15602
> > >
> > > please reply to pluto26@altavista.net
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > The New Yahoo! Search - Faster. Easier. Bingo.
> > > http://search.yahoo.com
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> >
>
>
> =====
> Use the link below to send a Nice Card today!
> http://nicecards.com/partner.cgi?p15602
>
> please reply to pluto26@altavista.net
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: JAVA class Beans and web.xmk entries ?
Posted by Rick <pl...@yahoo.com>.
Dan,
You gave me examples of entries for servlets.
I have been told I new to add in servlet mapping
entries in my web.xml for JAVA class beans, NOT
servlets.
I do not have any servlets. I am using jsp and the
jsp:usebean tags.
--- Dan Tran <da...@hotmail.com> wrote:
> Rick, you can give your serlvet a friendlier name by
> configure servlet
> mapping in your web.xml file and
> well as passing in startup params (if any)
>
> Like http://hostname/yourwebapp/yourservletmap.
>
> withouth mapping, you end up to specify the full
> path of your sevrlet which
> is:
>
>
http://hostname/yourwebapp/servlet/<fullpathofyourservlet>
>
> How do you do the maping, here is an example
>
> <servlet>
>
>
<servlet-name>RosettaNetListenerServlet</servlet-name>
>
>
<servlet-class>officefree.rosettanet.ListenerServlet</servlet-class>
> <load-on-startup>2</load-on-startup>
> </servlet>
> <servlet-mapping>
>
>
<servlet-name>RosettaNetListenerServlet</servlet-name>
> <url-pattern>/RosettaNet</url-pattern>
> </servlet-mapping>
>
>
>
> Good luck
>
> -Dan
>
> ----- Original Message -----
> From: "Rick" <pl...@yahoo.com>
> To: <to...@jakarta.apache.org>
> Sent: Wednesday, May 07, 2003 4:00 PM
> Subject: JAVA class Beans and web.xmk entries ?
>
>
> >
> >
> > I was told my my hosting site that I need to add
> > servlet mapping entries for my JAVA class beans in
> my
> > web.xml
> >
> > their directory structure looks like this
> > servlets-->WEB-INF-->web.xml
> > ..................-->classes\com\....\my.class
> > ..................-->lib\my.lib
> >
> > does anyone know if servlet entries are required?
> > and if so does anyone have a sample for a JAVA
> bean?
> > I can find all kind of examples for servlets.
> >
> > I am confused on this because on my local Tomcat I
> jst
> > place my class files under
> > root\WEB-INF\classes\..\my.class
> >
> >
> > thanks
> >
> > =====
> > Use the link below to send a Nice Card today!
> > http://nicecards.com/partner.cgi?p15602
> >
> > please reply to pluto26@altavista.net
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Search - Faster. Easier. Bingo.
> > http://search.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> >
> >
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
>
=====
Use the link below to send a Nice Card today!
http://nicecards.com/partner.cgi?p15602
please reply to pluto26@altavista.net
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: JAVA class Beans and web.xmk entries ?
Posted by Dan Tran <da...@hotmail.com>.
Rick, you can give your serlvet a friendlier name by configure servlet
mapping in your web.xml file and
well as passing in startup params (if any)
Like http://hostname/yourwebapp/yourservletmap.
withouth mapping, you end up to specify the full path of your sevrlet which
is:
http://hostname/yourwebapp/servlet/<fullpathofyourservlet>
How do you do the maping, here is an example
<servlet>
<servlet-name>RosettaNetListenerServlet</servlet-name>
<servlet-class>officefree.rosettanet.ListenerServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>RosettaNetListenerServlet</servlet-name>
<url-pattern>/RosettaNet</url-pattern>
</servlet-mapping>
Good luck
-Dan
----- Original Message -----
From: "Rick" <pl...@yahoo.com>
To: <to...@jakarta.apache.org>
Sent: Wednesday, May 07, 2003 4:00 PM
Subject: JAVA class Beans and web.xmk entries ?
>
>
> I was told my my hosting site that I need to add
> servlet mapping entries for my JAVA class beans in my
> web.xml
>
> their directory structure looks like this
> servlets-->WEB-INF-->web.xml
> ..................-->classes\com\....\my.class
> ..................-->lib\my.lib
>
> does anyone know if servlet entries are required?
> and if so does anyone have a sample for a JAVA bean?
> I can find all kind of examples for servlets.
>
> I am confused on this because on my local Tomcat I jst
> place my class files under
> root\WEB-INF\classes\..\my.class
>
>
> thanks
>
> =====
> Use the link below to send a Nice Card today!
> http://nicecards.com/partner.cgi?p15602
>
> please reply to pluto26@altavista.net
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: How to specify Java version / Java Home for Tomcat 4.1.24
Posted by Tim Funk <fu...@joedog.org>.
Before running the startup script:
SET JAVA_HOME=c:\path\to\javadir
or set it in the global environment variables.
-Tim
Steve Swett wrote:
> I'd like to know how to (1) verify; and (2) set the Java JRE to use for
> Tomcat 4.1.24 -- both when you're running Tomcat as a service, such as
> on a Windows XP machine, as well as when you run it as a program, such
> as starting/stopping with a batch file on Win 98.
>
> It's currently running JDK 1.3 and I want it to run JDK 1.4.
>
> Thanks.
>
> I did search the mail archives and other areas, but couldn't come up
> with the right keywords or something to limit it down.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: How to specify JDK version for Tomcat 4.1.24 ?
Posted by John Turner <to...@johnturner.com>.
Set JAVA_HOME = to whatever JDK you want to use. I typically set this as a
system-level environment variable, even when running Tomcat as a service,
as described in my HOWTO: http://www.johnturner.com/howto.
John
On Thu, 8 May 2003 04:04:53 -0400, Steve Swett <ss...@timptech.com> wrote:
> This is a question. It was either ignored earlier because I didn't have
> a question mark at the end of the subject line or people thought I was
> so stupid they ignored me. It's not that easy to find an answer to this
> on the web site, the documentation, or mailing archives.
>
> -----Original Message-----
> From: Steve Swett [mailto:sswett@timptech.com] Sent: Wednesday, May 07,
> 2003 7:17 PM
> To: 'Tomcat Users List'
> Subject: How to specify Java version / Java Home for Tomcat 4.1.24
>
> I'd like to know how to (1) verify; and (2) set the Java JRE to use for
> Tomcat 4.1.24 -- both when you're running Tomcat as a service, such as
> on a Windows XP machine, as well as when you run it as a program, such
> as starting/stopping with a batch file on Win 98.
>
> It's currently running JDK 1.3 and I want it to run JDK 1.4. I realize
> I was able to set this somehow during initial install, but how do you
> change it after the fact? Personally, I'm using the "service" method.
>
> Thanks.
>
> I did search the mail archives and other areas, but couldn't come up
> with the right keywords or something to limit it down.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
How to specify JDK version for Tomcat 4.1.24 ?
Posted by Steve Swett <ss...@timptech.com>.
This is a question. It was either ignored earlier because I didn't have
a question mark at the end of the subject line or people thought I was
so stupid they ignored me. It's not that easy to find an answer to this
on the web site, the documentation, or mailing archives.
-----Original Message-----
From: Steve Swett [mailto:sswett@timptech.com]
Sent: Wednesday, May 07, 2003 7:17 PM
To: 'Tomcat Users List'
Subject: How to specify Java version / Java Home for Tomcat 4.1.24
I'd like to know how to (1) verify; and (2) set the Java JRE to use for
Tomcat 4.1.24 -- both when you're running Tomcat as a service, such as
on a Windows XP machine, as well as when you run it as a program, such
as starting/stopping with a batch file on Win 98.
It's currently running JDK 1.3 and I want it to run JDK 1.4. I realize
I was able to set this somehow during initial install, but how do you
change it after the fact? Personally, I'm using the "service" method.
Thanks.
I did search the mail archives and other areas, but couldn't come up
with the right keywords or something to limit it down.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
How to specify Java version / Java Home for Tomcat 4.1.24
Posted by Steve Swett <ss...@timptech.com>.
I'd like to know how to (1) verify; and (2) set the Java JRE to use for
Tomcat 4.1.24 -- both when you're running Tomcat as a service, such as
on a Windows XP machine, as well as when you run it as a program, such
as starting/stopping with a batch file on Win 98.
It's currently running JDK 1.3 and I want it to run JDK 1.4.
Thanks.
I did search the mail archives and other areas, but couldn't come up
with the right keywords or something to limit it down.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: JAVA class Beans and web.xmk entries ?
Posted by Rick <pl...@yahoo.com>.
Tim,
thanks that is how I thought it should work also. I
am not sure why my hosting site wants to treat beans
like servlets.
thanks again
--- Tim Funk <fu...@joedog.org> wrote:
> If you only use JSP's - then no changes are needed
> for web.xml. Instantiating
> classes via MyClass x = new MyClass(); should be no
> problem (of course as
> long as you class is in a package). (and the classes
> are their appropriate
> spot in WEB-INF/classes or WEB-INF/lib)
>
>
>
> -Tim
>
> Rick wrote:
> > Tim,
> >
> > the URL you pointed mw to talks about servlets.
> AS I
> > mentioned I only use JAVA class beans, not
> servlets.
> >
> > I use the jsp:useBean and MyClass x = new
> MyClass();
> >
> >
> > --- Tim Funk <fu...@joedog.org> wrote:
> >
> >>That is because you are using the invoker. Its
> evil
> >>and your hoster seems to
> >>be a good one since they disallow it. Here's why:
>
>>http://tomcatfaq.sourceforge.net/miscellaneous.html
> >>
> >>-Tim
> >>
> >>Rick wrote:
> >>
> >>>I was told my my hosting site that I need to add
> >>>servlet mapping entries for my JAVA class beans
> in
> >>
> >>my
> >>
> >>>web.xml
> >>>
> >>>their directory structure looks like this
> >>>servlets-->WEB-INF-->web.xml
> >>>..................-->classes\com\....\my.class
> >>>..................-->lib\my.lib
> >>>
> >>>does anyone know if servlet entries are required?
> >>>and if so does anyone have a sample for a JAVA
> >>
> >>bean?
> >>
> >>>I can find all kind of examples for servlets.
> >>>
> >>>I am confused on this because on my local Tomcat
> I
> >>
> >>jst
> >>
> >>>place my class files under
> >>>root\WEB-INF\classes\..\my.class
> >>>
> >>>
> >>>thanks
> >>>
> >>>=====
> >>>Use the link below to send a Nice Card today!
> >>>http://nicecards.com/partner.cgi?p15602
> >>>
> >>>please reply to pluto26@altavista.net
> >>>
> >>>__________________________________
> >>>Do you Yahoo!?
> >>>The New Yahoo! Search - Faster. Easier. Bingo.
> >>>http://search.yahoo.com
> >>>
> >>>
> >>
> >
>
---------------------------------------------------------------------
> >
> >>>To unsubscribe, e-mail:
> >>
> >>tomcat-user-unsubscribe@jakarta.apache.org
> >>
> >>>For additional commands, e-mail:
> >>
> >>tomcat-user-help@jakarta.apache.org
> >>
> >>>
> >>
> >>
> >
>
---------------------------------------------------------------------
> >
> >>To unsubscribe, e-mail:
> >>tomcat-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail:
> >>tomcat-user-help@jakarta.apache.org
> >>
> >
> >
> >
> > =====
> > Use the link below to send a Nice Card today!
> > http://nicecards.com/partner.cgi?p15602
> >
> > please reply to pluto26@altavista.net
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Search - Faster. Easier. Bingo.
> > http://search.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> >
> >
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
>
=====
Use the link below to send a Nice Card today!
http://nicecards.com/partner.cgi?p15602
please reply to pluto26@altavista.net
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: JAVA class Beans and web.xmk entries ?
Posted by Tim Funk <fu...@joedog.org>.
If you only use JSP's - then no changes are needed for web.xml. Instantiating
classes via MyClass x = new MyClass(); should be no problem (of course as
long as you class is in a package). (and the classes are their appropriate
spot in WEB-INF/classes or WEB-INF/lib)
-Tim
Rick wrote:
> Tim,
>
> the URL you pointed mw to talks about servlets. AS I
> mentioned I only use JAVA class beans, not servlets.
>
> I use the jsp:useBean and MyClass x = new MyClass();
>
>
> --- Tim Funk <fu...@joedog.org> wrote:
>
>>That is because you are using the invoker. Its evil
>>and your hoster seems to
>>be a good one since they disallow it. Here's why:
>>http://tomcatfaq.sourceforge.net/miscellaneous.html
>>
>>-Tim
>>
>>Rick wrote:
>>
>>>I was told my my hosting site that I need to add
>>>servlet mapping entries for my JAVA class beans in
>>
>>my
>>
>>>web.xml
>>>
>>>their directory structure looks like this
>>>servlets-->WEB-INF-->web.xml
>>>..................-->classes\com\....\my.class
>>>..................-->lib\my.lib
>>>
>>>does anyone know if servlet entries are required?
>>>and if so does anyone have a sample for a JAVA
>>
>>bean?
>>
>>>I can find all kind of examples for servlets.
>>>
>>>I am confused on this because on my local Tomcat I
>>
>>jst
>>
>>>place my class files under
>>>root\WEB-INF\classes\..\my.class
>>>
>>>
>>>thanks
>>>
>>>=====
>>>Use the link below to send a Nice Card today!
>>>http://nicecards.com/partner.cgi?p15602
>>>
>>>please reply to pluto26@altavista.net
>>>
>>>__________________________________
>>>Do you Yahoo!?
>>>The New Yahoo! Search - Faster. Easier. Bingo.
>>>http://search.yahoo.com
>>>
>>>
>>
> ---------------------------------------------------------------------
>
>>>To unsubscribe, e-mail:
>>
>>tomcat-user-unsubscribe@jakarta.apache.org
>>
>>>For additional commands, e-mail:
>>
>>tomcat-user-help@jakarta.apache.org
>>
>>>
>>
>>
> ---------------------------------------------------------------------
>
>>To unsubscribe, e-mail:
>>tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail:
>>tomcat-user-help@jakarta.apache.org
>>
>
>
>
> =====
> Use the link below to send a Nice Card today!
> http://nicecards.com/partner.cgi?p15602
>
> please reply to pluto26@altavista.net
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: JAVA class Beans and web.xmk entries ?
Posted by Rick <pl...@yahoo.com>.
Tim,
the URL you pointed mw to talks about servlets. AS I
mentioned I only use JAVA class beans, not servlets.
I use the jsp:useBean and MyClass x = new MyClass();
--- Tim Funk <fu...@joedog.org> wrote:
> That is because you are using the invoker. Its evil
> and your hoster seems to
> be a good one since they disallow it. Here's why:
> http://tomcatfaq.sourceforge.net/miscellaneous.html
>
> -Tim
>
> Rick wrote:
> >
> > I was told my my hosting site that I need to add
> > servlet mapping entries for my JAVA class beans in
> my
> > web.xml
> >
> > their directory structure looks like this
> > servlets-->WEB-INF-->web.xml
> > ..................-->classes\com\....\my.class
> > ..................-->lib\my.lib
> >
> > does anyone know if servlet entries are required?
> > and if so does anyone have a sample for a JAVA
> bean?
> > I can find all kind of examples for servlets.
> >
> > I am confused on this because on my local Tomcat I
> jst
> > place my class files under
> > root\WEB-INF\classes\..\my.class
> >
> >
> > thanks
> >
> > =====
> > Use the link below to send a Nice Card today!
> > http://nicecards.com/partner.cgi?p15602
> >
> > please reply to pluto26@altavista.net
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Search - Faster. Easier. Bingo.
> > http://search.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> >
> >
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
>
=====
Use the link below to send a Nice Card today!
http://nicecards.com/partner.cgi?p15602
please reply to pluto26@altavista.net
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: JAVA class Beans and web.xmk entries ?
Posted by Tim Funk <fu...@joedog.org>.
That is because you are using the invoker. Its evil and your hoster seems to
be a good one since they disallow it. Here's why:
http://tomcatfaq.sourceforge.net/miscellaneous.html
-Tim
Rick wrote:
>
> I was told my my hosting site that I need to add
> servlet mapping entries for my JAVA class beans in my
> web.xml
>
> their directory structure looks like this
> servlets-->WEB-INF-->web.xml
> ..................-->classes\com\....\my.class
> ..................-->lib\my.lib
>
> does anyone know if servlet entries are required?
> and if so does anyone have a sample for a JAVA bean?
> I can find all kind of examples for servlets.
>
> I am confused on this because on my local Tomcat I jst
> place my class files under
> root\WEB-INF\classes\..\my.class
>
>
> thanks
>
> =====
> Use the link below to send a Nice Card today!
> http://nicecards.com/partner.cgi?p15602
>
> please reply to pluto26@altavista.net
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org