D hanu

Greenhorn
+ Follow
since Jan 30, 2011
D likes ...
Eclipse IDE
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by D hanu

A value appears as selected in html only when page is rendered. Try loading the page and you will find that the first dropdown would also not have any selected option.

But once you select an item, since the page is re-rendered due to valuechangelistener, html code would appear as selected. Try re-rendering the page second time to see the second dropdown value selected.
13 years ago
JSF
the welcome file should be a pure html/jsp file without any jsf extension.

I tried the following and got a solution. The following is the index.jsp



And my web.xml looks like


So my url looks like http://server_address/appln_name/faces/login.jsp
I can access also through http://server_address/appln_name.

Use c:redirect instead of jsp:forward because jsp session gets invalidated during session timeout.
Hope this resolves your problem.
13 years ago
JSF
I tried this and I found a solution. Check if this works for you.




When i tried using binding attribute for the second drop down, it did work for me.
13 years ago
JSF
Try #160; to provide whitespace.

#160; is JSF equivalent of html nbsp
13 years ago
JSF