-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John,

On 7/9/2010 4:15 AM, John Byrne wrote:
> The requested resource (/ukjava1900) is not available.

[snip]

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

As others have pointed out, your URL mapping and <form> action action
URL are of mismatched case. I believe this situation was also pointed
out the last time you were asking roughly the same question(s).

> This is the first line in servlet uk1900java.java
> 
> package formprocessors;

If your file is called uk1900java.java, the class should be
formprocessors.uk1900java, not formprocessors.Uk1900Java. Perhaps if you
are on Windows, the case of the filename is not important. As long as
the following file exists, you ought to be okay:

[yourwebapp]/WEB-INF/classes/formprocessors/Uk1900Java.class

> <FORM action=/ukjava1900

It seems the only problem you have in your setup is the case mismatch of
the form action and the URL mapping for your servlet. Pick the one you
like the best (with or without caps) and change the other. Another
option would be to map both the upper-case and lower-case versions to
the same servlet, though that seems a bit lazy.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkw3dmIACgkQ9CaO5/Lv0PDGYgCgm1tDb2tNuTyBIHdRLmFXvymR
BZcAn3K0SwHZHjvkG+mIdg3Yg9Vw/MVY
=n1Zb
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to