What do you mean by the J2EE

Variables via href

Hi Guys!

First of all, thanks for the answers!
Here is my code:

Here is my index.jsp
$ {param.language} "comes from header.jsp where the selection is!

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page session="true"%>

<?xml version="1.0" encoding="UTF-8"?>
"http://www.w3.org/TR/xhtml1/DTD/xhtml-transitional.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Sudoku</title>
<link rel="stylesheet" type="text/css" href="main.css"/>
</head>
<body>
<c:set var="sprache" scope="session" value="${param.sprache}"/>
<div id="header">
<jsp:include page="header.jsp" />

</div>

<div id="menu">
<jsp:include page="menu.jsp" />

</div>
<div id="content">
<c:if test="${not empty param.content}">
<jsp:include page="${param.content}"/>
</c:if>

<c:if test="${empty param.content}">
<jsp:include page="default.jsp"/>
</c:if>
</div>
</body>
</html>

------------------------------------------------
In my header.jsp I now have the selection fields

<form action="index.jsp" >
<dl>
<dt><input type="image" src="images/deutschland.gif" height="20" width="30" alt="Deutsch" name="sprache" value="Deutsch"/></dt>
<dt><input type="image" src="images/grossbritannien.gif" height="20" width="30" alt="English" name="sprache" value="English"/></dt>
<dt><input type="image" src="images/china.gif" height="20" width="30" alt="Chinesisch" name="sprache" value="Chinesisch"/></dt>

</dl>
</form>

-------------------------------------------
Here the menu.jsp
If I click on the flag in the header.jsp, the correct language is displayed here!
If I now click on a link, the language or $ {param.language} will be reset!

<c:choose>
<c:when test="${sessionScope.sprache =='Deutsch'}">
<fmt:setLocale value="de" scope="session" />
</c:when>
<c:when test="${sessionScope.sprache =='English'}">
<fmt:setLocale value="en" scope="session" />
</c:when>
therwise>
<fmt:setLocale value="ch" scope="session" />
therwise>
</c:choose>


<fmt:setBundle basename="resource" scope="session" var="messages" />
<ul>
<li><a href ="<%= response.encodeURL("index.jsp?content=default.jsp")%>"><fmt:message bundle="${messages}" key="menu.home"/> </a></li>
<li><a href ="<%= response.encodeURL("index.jsp?content=sudoku.jsp")%>" ><fmt:message bundle="${messages}" key="menu.spiel"/></a></li>
<li><a href ="<%= response.encodeURL("index.jsp?content=help.jsp")%>" ><fmt:message bundle="${messages}" key="menu.liste"/></a></li>
</ul>


Thank you very much for your help
serious