wood burning stoves 2.0*
The moose likes Tomcat and the fly likes How do I setup form-based authentication? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How do I setup form-based authentication?" Watch "How do I setup form-based authentication?" New topic
Author

How do I setup form-based authentication?

Sheldon Plankton
Ranch Hand

Joined: Feb 11, 2004
Posts: 33
Hi All,
Here's what I got ...

When I point my browser to http://localhost:8080/xyzabcdFileTransfer I get this error ...

I guess I missing something in my web.xml
[ February 26, 2004: Message edited by: Sheldon Plankton ]
Lipman Li
Ranch Hand

Joined: May 02, 2002
Posts: 122
the problem is quite easy to solve, just simply create one file named login.jsp, or you change your existing logon.jsp file to login.jsp.
[ March 02, 2004: Message edited by: Lipman Li ]
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

additional trouble:

what directory is your server.xml pointing to as the 'root' of the webapp ('build' or 'web')?

1) Your 'web' directory doesn't have abcdUploadServlet.class in the right place (that is, it's missing).

2) Your 'build' directory does have the servlet class in place, but abcdUploadServlet.properties file is in the wrong directory (under build/classes, not build/WEB-INF/classes)

Fix up your build.xml to ensure everything gets moved to the proper places.
[ March 02, 2004: Message edited by: Mike Curwen ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I setup form-based authentication?