Hi Yash,
Thanks for the suggestion, i relocated the files to WEB-INF/classes and it picked up the keys from there, but it does not display the fonts in arabic.
if i open the properties file in notepad, it displays the key values in arabic, but not when i open it in weblogic workshop.
the approach i am using is as follows.
<%
String lang = request.getParameter("lang");
System.out.println(lang);
if(lang==null)
{
session.setAttribute("currPage","Login");
%>
<html>
<head>
<title>
Dubai Municipality - Login
</title>
</head>
<body background="/DubaiM/resources/images/bg_logo1.gif" bgproperties="fixed" style="font-family:times new roman;">
<jsp:include page="Header.jsp" />
<br><br><br><br>
<center>
<table bgcolor=#CAE1FF cellspacing=1 width=320 style="border-style

ouble;border-width:2px;border-color:#000099;" bordercolor=darkblue border="1">
<netui:form action="login" tagId="login" >
<tr>
<th colspan="3" align=center><font size = +1 style="color:#000099;">FileNet System</font></th>
<tr>
<tr>
<td><font style="color:#000099;">
<b>User Name</b>
</font></td><td>
<netui:textBox tagId="user_name" dataSource="{actionForm.user_name}"></netui:textBox>
</td>
<td rowspan="3" align="center">
<netui:image src="/DubaiM/resources/images/key.gif" align="center"></netui:image>
</td>
</tr>
<tr>
<td><font style="color:#000099;">
<b>Password</b>
</font></td>
<td>
<netui:textBox tagId="password" dataSource="{actionForm.password}" password="true"></netui:textBox>
</td>
</tr>
<tr>
<td align=center colspan=2>
<netui:button type="submit" value="Login" action="login" tagId="login" style="background-color:#cae1ff;font-size:13pt;color:#000099;"></netui:button>
<netui:button type="reset" value="Clear" action="login" tagId="reset" style="background-color:#cae1ff;font-size:13pt;color:#000099;"></netui:button>
</td>
</tr>
</netui:form>
</table></center>
<br>
<center><b><font size="+4" color="#000099" style="color:#000099;">Dubai Municipality</font></b>
<br>
<table width="300">
<tr>
<form action="Login.jsp" method="post">
<td style="font-size:12pt;color:#000099;"><b>Select Language اختيار اللغة</b></td>
<td><br>
<select name="lang">
<option value="English" selected>English
<option value="Arabic">Arabic
</select>
</td>
<td><netui:imageButton src="resources/images/go.gif"></netui:imageButton></td>
</form>
</tr>
</table></center>
<br>
<jsp:include page="Footer.jsp" />
</body>
</html>
<%
}
else
{
session.setAttribute("currPage","Login");
Locale locale = null;
if(lang.equals("Arabic"))
//locale = Locale.getDefault();
locale = new Locale("ar","AE");
else
locale = Locale.US;
session.putValue("mylocale",locale);
ResourceBundle bundle = ResourceBundle.getBundle("Messages",locale);
%>
<html>
<head>
<title>
Dubai Municipality - Login
</title>
</head>
<body background="/DubaiM/resources/images/bg_logo1.gif" bgproperties="fixed" style="font-family:times new roman;" >
<jsp:include page="Header.jsp" />
<br><br><br><br>
<center>
<table bgcolor=#CAE1FF cellspacing=1 width=320 style="border-style

ouble;border-width:2px;border-color:#000099;" bordercolor=darkblue border="1">
<netui:form action="login" tagId="login">
<tr>
<th colspan="3" align=center><font size = +1 style="color:#000099;">FileNet System</font></th>
<tr>
<tr>
<td><font style="color:#000099;">
<b><%= bundle.getString("username")%></b>
</font></td>
<td>
<netui:textBox tagId="user_name" dataSource="{actionForm.user_name}"></netui:textBox>
</td>
<td rowspan="3" align="center">
<netui:image src="/DubaiM/resources/images/key.gif" align="center"></netui:image>
</td>
</tr>
<tr>
<td><font style="color:#000099;">
<b><%= bundle.getString("password")%></b>
</font></td>
<td>
<netui:textBox tagId="password" dataSource="{actionForm.password}" password="true"></netui:textBox>
</td>
</tr>
<tr>
<td align=center colspan=2>
<netui:button type="submit" value="Login" action="login" tagId="login" style="background-color:#cae1ff;font-size:13pt;color:#000099;"></netui:button>
<netui:button type="reset" value='<%= bundle.getString("Clear")%>' action="login" tagId="reset" style="background-color:#cae1ff;font-size:13pt;color:#000099;"></netui:button>
</td>
</tr>
</netui:form>
</table></center>
<br>
<center><b><font size="+4" color="#000099" style="color:#000099;">Dubai Municipality</font></b>
<br>
<table width="300">
<tr>
<td style="font-size:12pt;color:#000099;"><b>Select Language اختيار اللغة</b></td>
<td><br>
<form action="Login.jsp" method="post">
<select name="lang">
<option value="English">English
<option value="Arabic" selected>Arabic
</select>
</form>
</td>
<td><netui:imageButton src="resources/images/go.gif"></netui:imageButton></td>
</tr>
</table></center>
<br>
<jsp:include page="Footer.jsp" />
</body>
</html>
<%
}
%>
in arabic all text is from right to left, how can i change the alignment in one place rather than doing it for individual controls.
regards,
sowmya