i am making a project on network search engine.using following specifications:-

-Servlets.
-JSP.
-RMI.
-JDBC.
-Tomcat version 6.0.12

-->The problem is that i am unable to access server from browser while doing registration and login of users. The url being used is :-
http://[B]192.168.1.23:8080[/B]/SearchEngineServer/MainController?ACTION=registerme

here bolded information is the i.p. address of server(running in localhost). it necessary to include i.p. address in the url as using it information regarding the file will be sent.

code for registration is as follows:-
<%@include file="global.jsp"%>
<html>
<head>
 
 
 
<title>Network Search Engine</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
 
<body bgcolor="#F5F4E7" text="#000000">
 
<%out.println("IP:"+serverIpAddress);%>
 
<form name="form1" method="post" action="http://<%=serverIpAddress%>:8080/SearchEngineServer/MainController?ACTION=registerme">
  <p>&nbsp;</p><h1 align="center"><font color="#FF0000" face="Times New Roman, Times, serif" size="+7"><i><font face="Georgia">N</font></i></font><i><font size="7" color="#0000FF" face="Monotype Corsiva">e</font><font size="7" color="#33CC00" face="Monotype Corsiva">t</font><font size="7" color="#FF00CC" face="Monotype Corsiva">w</font><font size="7" color="#FF0000" face="Monotype Corsiva">o</font><font size="7" color="#FFFF00" face="Monotype Corsiva"><font color="#0000FF">r</font><font color="#33CC00">k</font></font><font size="7" color="#FFFF00" face="Times New Roman, Times, serif"> 
    <font color="#FF0000" face="Georgia">S</font><font color="#0000FF" face="Monotype Corsiva">e</font><font color="#33CC00" face="Monotype Corsiva">a</font><font color="#FF00FF" face="Monotype Corsiva">r</font><font color="#FF0000" face="Monotype Corsiva">c</font><font color="#0000FF" face="Monotype Corsiva">h</font> 
    <font color="#FF0000" face="Georgia">E</font><font color="#0000FF" face="Monotype Corsiva">n</font><font color="#33CC00" face="Monotype Corsiva">g</font><font color="#FF00FF" face="Monotype Corsiva">i</font></font><font size="7" color="#FF0000" face="Monotype Corsiva">n</font><font size="7" color="#0000FF" face="Monotype Corsiva">e</font></i></h1>
  <hr align="center" noshade>
  <p align="center"></p>
  <table width="75%" border="1" align="center">
    <tr bgcolor="#999340"> 
      <td colspan="2"><font color="#F5F4E7"><b>Registeration</b></font></td>
    </tr>
    <tr> 
      <td width="33%"><font color="#999340">User Name</font></td>
      <td width="67%">
        <input type="text" name="name">
      </td>
    </tr>
    <tr>
      <td width="33%"><font color="#999340">Password</font></td>
      <td width="67%">
        <input type="password" name="pass">
      </td>
    </tr>
    <tr> 
      <td width="33%"><font color="#999340">Confirm Password</font></td>
      <td width="67%">
        <input type="password" name="cpass">
      </td>
    </tr>
 
<tr>
      <td width="33%"><font color="#999340">Group</font></td>
      <td width="67%">
        <input type="text" name="group">
      </td>
    </tr>
 
 
    <tr> 
      <td width="33%"> 
        <div align="center">
          <input type="submit" name="Submit" value="   Submit   ">
        </div>
      </td>
      <td width="67%"> 
        <div align="center">
          <input type="reset" name="reset" value="   Reset   ">
        </div>
      </td>
    </tr>
  </table>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
</form>
</body>
</html>
server i.p. address is embedded in global.jsp page.

Please help!