Most probably there is a type somewhere between you form's fields, and the
name of the parameters you are trying to retrieve.

Joseph Karau
Kingland Systems
[EMAIL PROTECTED]
507-536-3629
AIM: jkara3629


-----Original Message-----
From: sufi malak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 1:46 PM
To: [EMAIL PROTECTED]
Subject: if with null ??


I have a file called add.jsp, the form that has the input fields and the
action processing are all in this file, what I want is :
when this file is for the first time displayed it will not be processed but
only show the form, The problem is when I filled up all the fields and I
submit the if statment never executed.

Thanks

<%
String ipaddress = request.getParameter("ipaddress");
System.out.println("ipaddress ================" + ipaddress);
String user      = request.getParameter("user");
String newname   = request.getParameter("newname");
String jack   = request.getParameter("jack");
String os        = request.getParameter("os");
String pc        = request.getParameter("pc");
String processor = request.getParameter("processor");
String memory    = request.getParameter("memory");
String domain    = request.getParameter("domain");
%>
<% if ( (ipaddress!=null)&& (user!=null)&& (newname!=null)&& (jack !=null)&&
(os !=null)&&
        (pc !=null)&& (processor!=null)&& (memory !=null)&& (domain !=null))
                { %>

DTABASE OPERATION
<% } %>

<form method="POST" action="add.jsp">
input fields here
<form>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

===========================================================================
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

Reply via email to