Detect your browser's language perference based on the 'Accept-Language' header sent to the web servers.

 

Preferred Languages (in decreasing order):
Locale Language Country
English (United States) English United States

 

Tool's SrcCodes (JSTL)

<table>
	<thead>
		<tr>
			<th>Locale</th>
			<th>Language</th>
			<th>Country</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${pageContext.request.locales}" var="locale"> 
			<tr>
				<td>${locale.displayName}</td>
				<td>${locale.displayLanguage}</td>
				<td>${locale.displayCountry}</td>
			</tr>
		</c:forEach>
	</tbody>
</table>

 

Please provide your valuable feedback and ideas.

About this 'Hello World' site

This site is mainly developed to share coding and technology learning experiences on java / j2ee based technologies.

Simple tutorials / codes have been shared to learn a new technology. Full source code is also available for download.