• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Realm, Eclipse and MySQL

 
Lenny Peter
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone see what is wrong here ...

Login.jsp

SmileyServlet



web.xml




Server XML



MySql DB ida

Table1: roles: rolename (student)
Table2: user: username (alen), password(esbjerg)
Table3: userrole: username(alen), rolename(student)


Thanks

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone see what is wrong here


Yes, you didn't tell us what the problem is.
 
Lenny Peter
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I cannot log in...something is wrong...username or password or codes?

What can I add to my codes to get print out errors in Console?

It should be hidden or not?
<!--
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
-->

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic