Hi guys
Actually I'm stucked with a vector problem actually I have a vector in I have stored some id's now I want to take those id's 1 by 1out and wanna store them into a variable how will I do that ..
Like right now I hae a fuction for adding a id to vector but I do not have a function to r
there is no need to check if (rs.next() == true)
simply give if (rs.next(){
continu}
else
{
ur error.jsp
}
deepa
- Original Message -
From: "anurag dewan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 28, 2001 9:24 AM
Subject: Re: a ver
Insted of if(rs.next()==true) can u try with
if(rx.next())
{
}
Sagar.
--- anurag dewan <[EMAIL PROTECTED]> wrote:
> hi,
> my if statement is
> DriverManager.registerDriver(new
> oracle.jdbc.driver.OracleDriver());
>
con=DriverManager.getConnection("jdbc:oracle:thin:@'ip..address..':1521:
hi,
my if statement is
DriverManager.registerDriver(new
oracle.jdbc.driver.OracleDriver());
con=DriverManager.getConnection("jdbc:oracle:thin:@'ip..address..':1521:ORCL","scott","tiger");
Statement statement= con.createStatement();
ResultSet rs= statement.executeQuery("SELECT * from
terminal where
It might be there is some problem with your if
statement ? by the way how u r checking the strings
with '==' of Object.equeals() method ?
Sagar.
--- anurag dewan <[EMAIL PROTECTED]> wrote:
> hi,
> In my main.jsp page i am getting the username and
> password form the user,checking it from the data
n" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 26, 2001 9:00 PM
Subject: a very basic problem
> hi,
> In my main.jsp page i am getting the username and
> password form the user,checking it from the database
> and if correct then redirecting the user
hi,
In my main.jsp page i am getting the username and
password form the user,checking it from the database
and if correct then redirecting the user to the
login.jsp.
This procedure is going on fine...
but when trying to redirect the user to an error.jsp
page when the
username or password is not co
> Your username
> Your Passowrd
two times name attribute?
Should be:
Your username
Your Passowrd
Regards
Uwe
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP
Hi All
i am new to JSP programming
could somebody tell me what is the problem with the above code.
when the jsp is called first time it should display login page
and then
after that it should disllay welcom
it is throwing following exception
___
This might sound silly, but read the docs. The README is a good place to
start.
Scott Stirling
West Newton, MA
-Original Message-
From: Xia Xing
To: [EMAIL PROTECTED]
Sent: 1/23/00 10:35 PM
Subject: [JSP-INTEREST] jsp's basic problem
hi,everybody,
I just dl tomcat 3.0 and
hi,everybody,
I just dl tomcat 3.0 and some examples. How can I run it? Is it necessary to
startup Apache+Jserv, besides Tomcat itself? I have set classpath for tools.jar, what
else should I set?
BTW, My platform is Win98.
thanx in advance.
=
11 matches
Mail list logo