[jboss-user] [JBoss Portal] - Re: insert images into portal-server.war/login.jsp

rashmi_setty do-not-reply at jboss.com
Sun Oct 8 23:06:13 EDT 2006


Hi below is how my jsp looks.
I am inserting image in jsp using img tag .I have placed the images in images folder under D:\jboss\jboss-portal-2.4.0\server\default\deploy\jboss-portal.sar\portal-server.war
Please help...
Thanks in advance!!

<?xml version="1.0" encoding="utf-8"?>
  | <head>
  | </head>
  | <html>
  | <body OnLoad="document.loginform.j_username.focus();">
  | 
  | <form method="POST" action="<%= response.encodeURL("j_security_check") %>" name="loginform" id="loginForm">
  |             <table width="350" height="200" cellpadding="0" cellspacing="0" class="form">
  |                <tr>
  |                   <td align="right" width="100">
  |                      Username: 
  |                   </td>
  |                   <td align="left">
  |                      <input type="text" name="j_username" value=""/>
  |                   </td>
  |                </tr>
  |                <tr>
  |                   <td align="right" width="100">
  |                      Password: 
  |                   </td>
  |                   <td align="left">
  |                      <input type="password" name="j_password" value=""/>
  |                   </td>
  |                </tr>
  |                <tr>
  |                   <td colspan="2" align="center">
  |                      <input type="submit" name="login" value="Login"/>
  |                   </td>
  |                </tr>
  |             </table>
  |          </form>
  | <table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
  |   <tr>
  |     <td align="center" background="/images/bot_bg.gif"><img src="/images/clear.gif" width="1" height="30" /></td>
  |   </tr>
  |      <tr>
  |     <td height="24" align="center" valign="top" class="text"><br />
  |       Copyright © 2006 Tata Sky Ltd.<br />
  |       <img src="/images/trademark.gif" width="500" height="23" /><br /></td>
  |   </tr>
  | </table>
  | 
  | </body>
  | </html>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976870#3976870

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976870




More information about the jboss-user mailing list