Hello:
I'm trying to use this JSP witn WEBSPHERE of IBM. But I'm receiving the
following message when I try to show it on a browser. Please a I need help.
thank.

Javier


HTTP Error 405
405 Method Not Allowed
The method specified in the Request Line is not allowed for the resource
identified by the request. Please ensure that you have the proper MIME type
set up for the resource you are requesting.
Please contact the server's administrator if this problem persists.


THE JSP IS:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!-- Sample JSP page using a JavaBean -->
<HTML><HEAD>
<META name="GENERATOR" content="IBM WebSphere Page Designer V3.0.2 for
Windows">
<META http-equiv="Content-Style-Type" content="text/css">
<TITLE>This is the page title</TITLE>
<%@ language="Java" %>
<%! String usuarioIngresado =""; %>
<%! String passwordIngresada =""; %>
</HEAD>
<BODY
background="file:///C:/WebSphere/Studio/Projects/FormBC/FormBCjsp/image/back
ground.gif">
<% usuarioIngresado = request.getParameter("usuario") %>
<% passwordIngresada = request.getParameter("password") %>
<% session.putValue("usuario",usuarioIngresado); %>
<% session.putValue("password", passwordIngresada); %>
<P align="center"><B><FONT SIZE="6">OPCIONES</FONT></B></P>
<P></P>
<P align="right">&nbsp;Usuario: <%= usuarioIngresado %> </P>
<UL>
  <LI><A
href="file:///C:/WebSphere/Studio/Projects/FormBC/FormBCjsp/FormularioDeCons
ulta.jsp">Consulta de Ordenes</A>
</UL>
</BODY></HTML>

COMPILED WITH WEBSPHERE STUDIO

*-------------------Inicio del proceso de JSP-------------------*

Origen del
JSP:C:\WebSphere\Studio\check_out\FormBC\FormBCjsp\MenuDeOpciones.jsp

La generaci�n ha terminado satisfactoriamente... Compilando.

C:\WebSphere\Studio\check_out\FormBC\FormBCjsp\_MenuDeOpciones_xjsp.java:58:
Expresi�n de tipo no v�lida.
                ! String usuarioIngresado ="";
                ^
C:\WebSphere\Studio\check_out\FormBC\FormBCjsp\_MenuDeOpciones_xjsp.java:62:
Expresi�n de tipo no v�lida.
                ! String passwordIngresada ="";
                ^
C:\WebSphere\Studio\check_out\FormBC\FormBCjsp\_MenuDeOpciones_xjsp.java:66:
Expresi�n de tipo no v�lida.
                 usuarioIngresado = request.getParameter("usuario")
                                  ^
C:\WebSphere\Studio\check_out\FormBC\FormBCjsp\_MenuDeOpciones_xjsp.java:68:
Declaraci�n no v�lida.
        _static_data_0.writeChars(548, 2, out);
                                 ^
C:\WebSphere\Studio\check_out\FormBC\FormBCjsp\_MenuDeOpciones_xjsp.java:70:
Expresi�n de tipo no v�lida.
                 passwordIngresada = request.getParameter("password")
                                   ^
C:\WebSphere\Studio\check_out\FormBC\FormBCjsp\_MenuDeOpciones_xjsp.java:72:
Declaraci�n no v�lida.
        _static_data_0.writeChars(608, 2, out);
                                 ^
C:\WebSphere\Studio\check_out\FormBC\FormBCjsp\_MenuDeOpciones_xjsp.java:74:
Variable o nombre de clase no definidos: session
                 session.putValue("usuario",usuarioIngresado);
                 ^
C:\WebSphere\Studio\check_out\FormBC\FormBCjsp\_MenuDeOpciones_xjsp.java:78:
Variable o nombre de clase no definidos: session
                 session.putValue("password", passwordIngresada);
                 ^
8 errores

*-------------------Fin del proceso de JSP-------------------*

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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

Reply via email to