Women in Technology

Hear us Roar



Article:
  Deploying Web Applications to Tomcat
Subject:   Learn from my mistakes from this tutorial!
Date:   2003-02-11 08:12:20
From:   anonymous2
Hi All,


I followed the tutorial and found some missing infos and I did some errors too. I use tomcat 4.1 and modified the code to link to a MS Access database on Windows XP.
1)
Missing in web.xml in this tutorial:
<servlet-mapping>
<servlet-name>login</servlet-name>
<url-pattern>/servlet/login</url-pattern>
</servlet-mapping>


and if you do this:
<servlet-mapping>
<servlet-name>login</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>


All URL containing /servlet/ will be redirect to the login class!!!


2) Recheck your typo, I wrote WEB_INF instead on WEB-INF! Lost a half day why a having a 404 page!


3) ODBC, Data Source Name: use the SYSTEM dsn and not the USER dsn


Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • Learn from my mistakes from this tutorial!
    2005-06-18 12:29:03  tjmcgee [View]

    2 Years later and I'm making the mistake that you made, Thank you sooooooooo much for writing: Recheck your typo, I lost half a day as well, drove me mad