YOu
are not using the correct naming pattern for your bean.
The
getter and setter methods should be named
getThePrice() / setThePrice()
because your variable is named thePrice.
Ofcourse you could rename your variable into price or construct a
beandescriptro that explains that
I have tomcat 3.1.1 and my directory look like this:
c:/jakarta-tomcat/webapps/project/WEB-INF
c:/jakarta-tomcat/webapps/project/WEB-INF/classes
c:/jakarta-tomcat/webapps/project/WEB-INF/lib
and in server.xml in the conf directory:
and i call them like this:
http://localh
]Subject:
RE: HELP WITH FIRST APPLICATIONAnyone?.
Here is the .java file (bean). There is a getPrice method and it is
declared public.
package Price;
public class PriceHandler{
private String
thePrice;
public PriceHandler
43)
> at
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
>onnectionHandler.java:210)
> at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
>Compiled Code)
> at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
>Comp
IL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: RE: HELP WITH FIRST APPLICATIONAnyone?.
>Date: Sat, 20 Jan 2001 09:40:36 -0800
>
>Sounds as though you have covered everything, CVS is a source
control system
>
I tried putting in web.xml into the web-inf dir, no joy though,
I got more errors on the webpage
>From: Damian Penney <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: RE: HELP WITH FIRST APPLICATIONAnyone?.
>Date: Sat, 20 Ja
mcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code)
at java.lang.Thread.run(Thread.java:479)
>From: Damian Penney <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: RE: HELP WITH FIRST APPLICATIONAnyone?.
>Date: Sa
Sounds as though you have covered everything, CVS is a source control system
that you don't have to worry about, not sure what build.xml is but my apps
are coming along fine and I've never touched it :) You may need a web.xml
file in the web-inf dir, just copy one from the examples.
Are you getti