Please ignore the majority of my previous reply, did not read the message
close enough. sorry.
The best method would be to use the javascript, unless you want to change
the html into a jsp and do a
<jsp:incude page="/altera_senha_colegio.jsp" />
instead of doing the include file directive.
Joseph Karau
Kingland Systems
[EMAIL PROTECTED]
507-536-3629
AIM: jkara3629
-----Original Message-----
From: Ze Luis [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 2:56 PM
To: [EMAIL PROTECTED]
Subject: change html form elements within a <%@ include file
fileex.html>
this is my code:
<% response.setHeader("Pragma","no-cache");%>
<%@ page import="java.io.*" %>
<%@ page import="javax.servlet.*"%>
<%@ page import="javax.servlet.http.*"%>
<%@ page import="javax.servlet.http.HttpSession"%>
<%@ page import="java.io.IOException"%>
<%@ page import="java.io.*"%>
<%@ page import="java.net.*"%>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.Properties"%>
<%@ page import="java.net.InetAddress"%>
<%@ page import="java.rmi.*"%>
<%@page language="java" errorPage="errorpage.jsp" %>
<%@ include file="carregadriversqlserver.jsp" %>
<%-- Verifica se o usuario esta logado --%>
<%session = request.getSession(true);%>
<% if (session.getValue("login.Logado") == "sim")
{
response.sendRedirect("nao_logado.html"); }
else
{ %>
<%@ include file="altera_senha_colegio.html"%>
<%--
here i need set the value of a text element in a form within
"altera_senha_colegio.html" named "Teste" with "value changed" value.
is it possible?
examples are welcome...
thanks
--%>
<%
}
%>
<%-- Termino da verificacao do Login de usuario --%>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets