This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Trouble using j_security form  RSS feed

 
David Lidz
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After years of finding asnwers in these forums I thought it was about time to create an account^^

Anywho, I have a problem using login form against a tomcat server.
It redirects any user to the loginscreen as wanted but it always fails with he login(ie it ends up in the error page).
I believe the problem lies in the tomcat configuration but I dont really know where, and afetr hours of searching im kinda spent:S

tomcat-users.xl

WEB-INF/web.xml

I know its frowned to use the tomcat-users.xml but its more of a showcase website atm.


 
David Lidz
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was able to solve it, what I didnt know was that Eclipse was working against another tomcat-user.xml file in the workspace folder and not the one in the tomcat directory.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!