First day of Java Servlet training course
Monday, 24 March 2003 15:19I'm sitting here in Berlin; it's the first day of the Java Servlets / JavaServer Pages training course my company kindly sent me on.
I've been a bit of a know-it-all a couple of times already, but on the whole, I think I've behaved. I also try not to show off too hard.
I did, however, correct the instructor after he pronounced "query" as /kjuri/ a few too many times.
Our test servlets didn't work outside the "examples" directory (due to a missing entry in the web.xml configuration file?)... "it used to work with the previous version of Tomcat" is, IMO, not a terribly good excuse for an instructor. Putting the newest version of the software on the CD for the students is a good idea in principle, but he should probably still have tried it out beforehand so that we wouldn't waste the time trying to find out why things didn't work.
Lunch was OK (and free!) at a cafeteria belonging to the IHK, in another building.
Oh, and I realised how much I had come to like my default environment... Servant Salamander, gVim, Opera, etc., now that I'm on a machine that lacks them. Thankfully, they have an open Internet connection so those programs and a couple more such as PuTTY were only a few browing steps away.
Update: Apparently, the following is necessary:
I've been a bit of a know-it-all a couple of times already, but on the whole, I think I've behaved. I also try not to show off too hard.
I did, however, correct the instructor after he pronounced "query" as /kjuri/ a few too many times.
Our test servlets didn't work outside the "examples" directory (due to a missing entry in the web.xml configuration file?)... "it used to work with the previous version of Tomcat" is, IMO, not a terribly good excuse for an instructor. Putting the newest version of the software on the CD for the students is a good idea in principle, but he should probably still have tried it out beforehand so that we wouldn't waste the time trying to find out why things didn't work.
Lunch was OK (and free!) at a cafeteria belonging to the IHK, in another building.
Oh, and I realised how much I had come to like my default environment... Servant Salamander, gVim, Opera, etc., now that I'm on a machine that lacks them. Thankfully, they have an open Internet connection so those programs and a couple more such as PuTTY were only a few browing steps away.
Update: Apparently, the following is necessary:
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
no subject
Date: Monday, 24 March 2003 11:11 (UTC)It bugs me when I have to use NT with an ancient version of Netscape! I miss my nice linux environment with my nice modified copy of Phoenix, a decent console, and a decent editor (Emacs). How we're supposed to get any work done with such inferior technology is beyond me.
Have you done any PHP? We've skimmed over it in class and so far it looks pretty useful - less hassle to connect to a DB than perl, but the whole POSIX regexp thing drives me crazy! Bring back awk/perl regexps! Who wants to type [::DIGIT::] or whatever it is when you can just do \d
PHP
Date: Tuesday, 25 March 2003 01:55 (UTC)One advantage it has is that generally, the PHP interpreter is embedded into the webserver, which should make things faster than CGI processes. mod_perl exists, but I've heard it's a real memory hog and can be hard to configure properly.