Thanks. Sorry to trouble you this far. But i'm still struggling to make it work.
I made few changes.
1) Left server.xml alone. Added Realm configuration into context.xml and removed roleSearch.
2) Changed web.xml
Other than the mysterious question of why it's not working, I'm wondering why I don't see any logs.
Only log I see is
WARNING: [SetPropertiesRule]{Context/Realm} Setting property 'debug' to '4' did not find a matching property. when tomcat starts.
I tried in server.xml after commenting out the default realm configurations. But still no results.
Here are 2 things I would like to bring to notice.
1. I'm running tomcat using eclipse. So the configuration is done through eclipse. (It does detect the realm as I got Connection exception when ldap server was stopped.)
2. I have confirmed that the username and password information is correct. Below is a standalone program that I used to test.
1. Shadow effects for the DIVs doesn't really go well with the theme.
2. Advertisement that appears at the bottom of the page is placed within the content div. It would be better if it is moved outside.
I had been learning RMI and successfully completed it on my local machine. But how do I make it work in a Network.
Also, How do I pass the Interface and the stub to the client machine?
I have a small application that does the following.
input from JSP page -> Controller(updates a db table based on input) -> Page Controller(populates the contents of db table into an ArrayList<....> and sets it as session attribute) -> (JSP reads the value of that session attribute).
When I run this program, it works the first time. Then, I close my browser, and opens it to run it again but nothing gets displayed on page!!!
I'm getting error - "According to TLD or attribute directive in tag file, attribute items does not accept any expressions" at line no.17. After some googling, found out that the problem is with the uri. How do I find the correct URI to be used in taglib directives?
Also, How does the JVM map the uri to classes in JSTL jar files?