Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Having Problem with IFRAME (JSP) Netscape!HELP!!!

843833Aug 20 2001 — edited Aug 21 2001
Hi ppl :)

I�m having problems working out with netscape. If i use a script with one iframe(and i must use it...) at I.Explorer it works but with netscape, no way, the "box" doesn�t appear. :( I need HELP!!

tHIS IS THE CODE :)

<html>
<head>
<!--fd002_captura_dados_POR.jsp-->
<title>BBVA - Fundos - Subscri&ccedil;&atilde;o de Fundos</title>
<LINK rel=STYLESHEET type='text/css' href="estilos/tablas.css">
<script language="Javascript" src="js/fd001_captura_dados.js"></script>
<script language="javascript" src="js/limpar.js"></script>
<script language="javascript" src="js/tiempo.js"></script>


</HEAD>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" class="pag-contenido" onLoad="controlSesion();">
<%@ include file="includecbtf.jsp" %>
<%
out.println("<form method=\"post\" name=\"captura\" action=\"" + urls.get("action") + "\"> ");
%>
<br>
<center>


<table border="0" cellpadding="0" cellspacing="0" width="500">

<tr>
<td colspan="3" ><img src="images/linea1.gif" border="0"></td>
</tr>
<tr>
<td width="250"><img src="images/fundos.gif" border="0"></td>
<td width="82"><img src="images/titular.gif" border="0"></td>
<td width="169" class="fondotitular"><font class="texttitular"><%=datos.get("usuario")%></font></td>
</tr>
<tr>
<td colspan="3"><img src="images/linea1.gif" border="0"></td>
</tr>
</table>
<br><br>
</center>

<center>
<table cellpadding="3" cellspacing="1" border="0" width="535">
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Inten&ccedil;&atilde;o de Subscri&ccedil;&atilde;o do Fundo <%=datos.get("CodigoFundos")%></p></td>
</tr>

</td>


<table>
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Condi&ccedil;&otilde;es</p></td>
</tr>
<tr>
<td class=altas colspan="2" >
<%
java.lang.String selec1 = (java.lang.String)datos.get("CodigoFundos");

String selec= selec1;
String sel="";

if(selec.equals("ACC"))
{
sel= "fundo1.txt";
}
if(selec.equals("APL"))
{
sel= "fundo1.txt";
}

if(selec.equals("BBVD"))
{
sel= "fundo1.txt";
}

if(selec.equals("BBVO"))
{
sel= "fundo1.txt";
}
if(selec.equals("BIT"))
{
sel= "fundo1.txt";
}

if(selec.equals("BON"))
{
sel= "fundo1.txt";
}

if(selec.equals("CAS"))
{
sel= "fundo1.txt";
}

if(selec.equals("CPZ"))
{
sel= "fundo1.txt";
}

if(selec.equals("EXT"))
{
sel= "fundo1.txt";
}

if(selec.equals("FINVEST"))
{
sel= "fundo1.txt";
}

if(selec.equals("GLO"))
{
sel= "fundo1.txt";
}

if(selec.equals("MIX30"))
{
sel= "fundo1.txt";
}

if(selec.equals("MIX60"))
{
sel= "fundo1.txt";
}

if(selec.equals("MI3"))
{
sel= "fundo1.txt";
}

if(selec.equals("MI6"))
{
sel= "fundo1.txt";
}

if(selec.equals("PPA"))
{
sel= "fundo1.txt";
}

if(selec.equals("PPR"))
{
sel= "fundo1.txt";
}

if(selec.equals("TXV"))
{
sel= "fundo1.txt";
}
%>

<iframe width=500 height=300 src=js/<%=sel%>></iframe>

</tr>
<tr>
<td align="right">
<img src="images/aceito.gif" border="0" alt="Aceito">
</td>
<td>
<img src="images/naceito.gif" border="0" alt="N�o Aceito">
</td>

</tr>
</table>
<br>
</center>
<center>
<table cellpadding="3" cellspacing="1" border="0" width="535">
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Inten&ccedil;&atilde;o de Subscri&ccedil;&atilde;o de Fundos</p></td>
</tr>
<tr>
<td class="formgrisosc" width="120"><p class="dato">Seleccione Conta: &nbsp;&nbsp;&nbsp;&nbsp;</p></td>
<%
java.util.Vector v = (java.util.Vector)(datos.get("ListaCuentas"));
java.util.Hashtable elem;
java.util.Enumeration e = v.elements();
%>
<td class="formgrisosc" colspan="3">
<select name="conta" size="1" class="formgrisosc">
<%
while (e.hasMoreElements()){
elem = (com.ibm.dse.base.Hashtable)(e.nextElement());
String cuenta = ((String)elem.get("s_banco")).trim()+"-"+((String)elem.get("s_oficina")).trim()+((String)elem.get("s_dcontrol")).trim()+((String)elem.get("s_num_cuenta")).trim();
out.println("<option value=\"" + cuenta + "\">" + cuenta + "</option>");
}
%>
</select>
</td>
<tr>
<td class="formgriscla" width="120"><p class="dato">Tipo de Subscri��o:</p></td>
<td class="formgriscla" colspan="3">
<select name="tiposubs" size="1" class="formgriscla">
<option>Eventual</option>
</select>
</td>
</tr-->
<tr>
<td class="cabecera" colspan="4"><img src="images/1x1.gif" width=1 height=3 border="0"></td>
</tr>
</table>
<br><br>
<table cellpadding="3" cellspacing="1" border="0" width="535">
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Preencha um dos seguintes campos</p></td>
</tr>
<tr>
<td class="formgrisosc" width="120"><p class="dato">N�mero de Up's:</p></td>
<td class="formgrisosc" colspan="3">
<input type="text" name="numero" size="15" maxlength="15" class="formgrisosc">
</td>
</tr>
<tr>
<td class="formgriscla" width="120"><p class="dato">Montante:</p></td>
<td class="formgriscla" width="80"><input type="text" name="montante" size="15" maxlength="15" class="formgriscla"></td>
<td class="formgriscla" width="50"><p class="dato">Moeda:</p></td>
<td class="formgriscla">
<select name="moeda" size="1" class="formgriscla">
<option value="Escudos" selected>Escudos</option>
<option value="Euro" >Euros</option>
</select>

</td>
</tr>
<tr>
<td class="cabecera" colspan="4"><img src="images/1x1.gif" width=1 height=3 border="0"></td>
</tr>
</table>
</center>
<center>
<table border="0" cellpadding="0" cellspacing="2">
<tr>
<td valign="top"><img src="images/limpar.gif" border="0" alt="Apagar"></td>
<td valign="top"><img src="images/continuar.gif" border="0" alt="Continuar"></td>
</tr>
</table>
</form>
</center>
<br><br>
</body></html>


Please help me out, because the iframes are terrible!

thanks,

Alex
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 18 2001
Added on Aug 20 2001
6 comments
113 views