File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I setup form-based authentication?

 
Sheldon Plankton
Ranch Hand
Posts: 33
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 122
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3695
IntelliJ IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic