Technology : General Technology Notes: Diary of a late,late adopter.
Updated: 8/14/2003; 1:39:09 AM.

 

Frequent Visits
Categories

Subscribe to "Technology" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Monday, August 19, 2002

After banging my head against my fist all day, I finally got servlets to work all by myself.  The thing I was missing turned out to be some tags in my web.xml file.   Get this, PHP people.  To do a simple Hello World program, servlets need a separate xml program that tells the servlet engine where to find your class:

    <servlet-mapping>
        <servlet-name>
            Hello
        </servlet-name>
        <url-pattern>
            /Hello
        </url-pattern>
    </servlet-mapping>

 


5:17:10 PM    comment []

© Copyright 2003 mcgyver5.



Click here to visit the Radio UserLand website.

 


August 2002
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Jul   Sep