So, I don't need 'action="servlet/login"', like the book I'm using said? Or, don't need 'action="classes/login"', like I might infer?
Thanks, I'll do the google you recommend, try it, and be back with you in short order (or maybe tomorrow;-). Thanks again! -----Original Message----- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Saturday, May 20, 2006 2:19 PM To: Tomcat Users List Subject: Re: Directory Structure and Can't Find Resources in Tomcat On 5/19/06, Allen Williams <[EMAIL PROTECTED]> wrote: > <form name="loginForm" method="post" > action="WEB-INF/classes/UserConfig.login"> You can't directly address something under WEB-INF; your action should be something like `action="/login"` with a mapping in your web.xml like <servlet> <servlet-name>login</servlet-name> <servlet-class>UserConfig.login</servlet-class> </servlet> <servlet-mapping> <servlet-name>login</servlet-name> <url-pattern>/login</url-pattern> </servlet-mapping> Note: NO "/servlet" in there -- read the Tomcat doc or google for "Tomcat invoker servlet" to understand why... HTH, -- Hassan Schroeder ------------------------ [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]