JSTL dropdown choose statement needs to select a session varable?

i want the drop down to select the value in the session varable but i dont know how?

the drop down:

<jsp:useBean id="skill" class="com.Database.Skill" scope="page">

</jsp:useBean>

<select name="SkillName">

<option> Please Select... </option>

<c:forEach var="s" items="${skill.skills}">

<c:when test="${s.skillname == sname}">

<option selected="selected" name="<c:out value="${s.skillname}"/> ">

<c:out value="${s.skillname}"/>

</option>

</c:when>

<c:otherwise>

<option name="<c:out value="${s.skillname}"/> ">

<c:out value="${s.skillname}"/>

</option>

</c:otherwise>

</c:forEach>

</select>

the session varable:

session.setAttribute("sname", sname );

also for the same sort of thing i have another session varable which contains the full name (forename and surname as below:

String ename = request.getParameter("EmployeeName");

and the foreach loop reads in the surname and forename split up as you see below. again i want to select the name in the list which is in the session but im unsure how:

<jsp:useBean id="employee" class="com.Database.Employee" scope="page">

</jsp:useBean>

<select name="EmployeeName">

<option> Please Select... </option>

<c:forEach var="emp" items="${employee.employees}">

<option name="<c:out value="${emp.forename}"/> <c:out value="${emp.surname}"/>">

<c:out value="${emp.forename}"/> <c:out value="${emp.surname}"/>

</option>

</c:forEach>

</select>

[2671 byte] By [h1400046a] at [2007-11-26 20:09:04]
# 1
<c:if test=${sessionScope.someVar.myValue ='something'}/>
jgalacambraa at 2007-7-9 23:12:04 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...