You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Bongiorno.Christian" <Bo...@ensco.com> on 2001/12/20 14:48:45 UTC

Mildly off topic, but there are too many smart people here

I am a programmer, not an html guy. And as such, I am having some problems
getting jsps to work correctly with a frame set. Here is a sample of a web
page with the html I need


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">

<HTML>
<HEAD>
 <META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
 <META NAME="GENERATOR" Content="Visual Page 2.0 for Windows">
 <TITLE></TITLE>

</HEAD>
<FRAMESET   COLS = "100% "  >
 <FRAMESET  ROWS = "60,99%,50 "   BORDER="0" FRAMESPACING="0"
FRAMEBORDER="NO">
  <FRAME SRC="header.html" NAME="Header" MARGINWIDTH="5" MARGINHEIGHT="5"
NORESIZE>
  <FRAMESET   COLS = "200,100% "  >
   <FRAME SRC="menu.html" NAME="Menu" SCROLLING="NO" MARGINWIDTH="3"
MARGINHEIGHT="10" NORESIZE>

   <FRAME SRC="main.html" NAME="Data" MARGINWIDTH="5" MARGINHEIGHT="5"
RESIZE>

  </FRAMESET>
  <FRAME SRC="footer.html" NAME="Footer" MARGINWIDTH="5" MARGINHEIGHT="5"
RESIZE>
 </FRAMESET>
</FRAMESET>
<NOFRAMES>
<BODY>

<P>

</BODY>

</NOFRAMES>

</HTML>



Right where it say
   <FRAME SRC="main.html" NAME="Data" MARGINWIDTH="5" MARGINHEIGHT="5"
RESIZE>

I need to insert jsp stuff. Here is the jsp file that works. Now to
integrate. I basically want the login jsp to be centered in these frames

<center>
   <form method="POST" action='j_security_check' >
      <table border="0" cellspacing="5">
        <tr>
           <th align="right">Username:</th>
           <td align="left"><input type="text" name="j_username"></td>
        </tr>
        <tr>
           <th align="right">Password:</th>
           <td align="left"><input type="password" name="j_password"></td>
        </tr>
        <tr>
           <td colspan="2">
             <center>
              <p><input type="submit" value="Log In">&nbsp;<input
type="reset">
             </center>
         </td>
      </tr>
      </table>
   </form>
   </center>

would someone help a poor java hack with html?


Chris


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Mildly off topic, but there are too many smart people here

Posted by Bruno VERNAY <Br...@LaPoste.net>.
Can you replace the src="main.html" by src="yourfile.jsp" ?
It should work


*------------------------*
Bruno Mizzi-Vernay
Bruno.Vernay@laposte.net
*------------------------*


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>