I'm probably more over-aged and no doubt underemployed than you.

1. The best thing to read are the developer docs
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
and they may also be found in your webapps.

2. The ANT script will with a little bit of work "automagicly"
compile and copy your apps in the appropriate format.
Any overage newbie who could figure out a SysAbend S 0c1,
code in assembler, or work a keypunch, will be able to
read these most Excellent docs and produce an app.

3. A couple of tricky areas that I encountered:
a. In tomcat 4.1.12 they changed the defaults associated with servlets
for security reasons. See the last para of the readme for the gory stuff.

b. If you copy a WAR file which is sortof a "WebApplication Jar" file
into webapps dir, when tomcat starts up it will unpack the war and 
create your appdir and deploy it. Before installing a new war, you 
should delete the "appdir" associated with the war.

so for newbie.war make sure there is not a webapp/newbie when
you start tomcat.

c. you can also take build a webapp/newbie app with the appropriate
structure and avoid the war.

4. Now this is a quickie for an oldie.
The serious student will pick up copies of 

Hunter, Java Servlet Programming(O'Reilly), 
Hall,MoreServlets(Addison-Wesley) ,
Bergsten, JSPs(Oreilly)

after he has read the docs aforementioned.

Those docs will get you your Helloworld without
having to complain that Tomcat is messing with
your mind.

Enjoy. It's a lot more fun than COBOL.

At 01:53 PM 11/24/02, you wrote:
>  hi Michele, this is the over-aged Newbie!!! I like the way that you put things, 
>incidentally! I was just wondering if anyone could sort of start to point me in the 
>right/correct direction when it comes to creating JSP's and Servlets in the Tomcat 
>container!! That's all that I am asking for, frankly!! Do I possibly have to create 
>some kind of a "context" or just what exactly do I have to do?? And also, I might 
>"throw in" this pertinent question: How do I see a JSP/Servlet using the Visual Cafe 
>application ?
>*********************************************************************
>
> On Sat 11/23, Michele Emmi  wrote:From: Michele Emmi [mailto: 
>[EMAIL PROTECTED]]To: [EMAIL PROTECTED]: Sat, 23 Nov 2002 
>21:26:58 -0500Subject: Re: Over-aged Newbie needs some helpBut if he is an 
>"over-aged" newbie he might prefer book over reading off a 
>computer screen....god knows this  over-aged newbie does!
>
>I am reading:
>
>Apache Jarkart-Tomcat by Goodwill
>Sun one programming by Mogha and Bhargava
>
>Michele
>
>
>
>
>>From: "Craig R. McClanahan" 
>>Reply-To: "Tomcat Users List" 
>>To: Tomcat Users List 
>>Subject: Re: Over-aged Newbie needs some help
>>Date: Sat, 23 Nov 2002 16:20:05 -0800 (PST)
>>
>>
>>
>>On Sat, 23 Nov 2002, Steve R Burrus wrote:
>>
>> >
>> >  Hi, I need some degree of help/assistance from someone re. just how 
>>exactly you
>> > go about starting to build or create JSP's or Servlets in the Tomcat 
>>container!!!
>> > Do you first establish a "context" or something??! And, then if that's 
>>the case,
>> > where do you go from there anyway? Incidentally, I am still "basking" in 
>>the
>> > afterglow of just being able to install Tomcat!!!
>> >
>>
>>One useful starting point is packaged with Tomcat itself -- the
>>Application Developer's Guide.  If you've installed a default Tomcat, it
>>will be available at:
>>
>>   http://localhost:8080/tomcat-docs/appdev/
>>
>>or online at:
>>
>>   http://jakarta.apache.org:8080/tomcat/tomcat-4.1-doc/appdev/
>>
>>For more background on servlet and JSP concepts and development, I
>>recommend the Java Web Services Tutorial, which has many chapters on the
>>web technologies that Tomcat implements:
>>
>>   http://java.sun.com/webservices/docs/1.0/tutorial/index.html
>>
>>Craig
>>
>>
>>--
>>To unsubscribe, e-mail:   
>>
>>For additional commands, e-mail: 
>>
>
>
>_________________________________________________________________
>MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
>http://join.msn.com/?page=features/virus
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>
>
>
>_______________________________________________
>Join Excite! - http://www.excite.com
>The most personalized portal on the Web!


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

Reply via email to