Hi
The jsp page i created keeps coming up this error msg.
I am stuck here, and i don't see why int i has not been initialized.
Please help
Regards,
==To
unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
Lisa,
ideally u shd not be getting this error.
Maybe u can send more of ur code...
Or else try this. declare int i outside the for loop.
then inside th for loop use (i=0;ifc2List.size();i++).
-anoop
-Original Message-
From: Lisa Xu [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002
This is normal as the query part of the url (the bits after the '?') is
considered part of the url when uniquely identifying cached pages. In fact
if you fetch the index.jsp?param=some twice (with the same param=some),
the second fetch will be pulled out of the cache. To avoid caching, you need
Hi Anoop
Thanks for replying. This might sound all to stupid, but I have tried
declare I outside the loop or not declare it at all. The funny thing is, if
I don't declare it, the compiler knows it, but declare it anywhere in the
program, I get this error msg. May not have been initialised?
hi,
can you send me that code..i will look into it.
-anoop
-Original Message-
From: Lisa Xu [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 12:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Variable i may not have been initialized. for ( int i = 0;
i fc2List.size(); i++ ) ..
Lisa,
probably u have another uninitialized variable i in ur JSP.
please check for it.
-Original Message-
From: Lisa Xu [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 11:55 AM
To: [EMAIL PROTECTED]
Subject: Variable i may not have been initialized. for ( int i = 0; i
how about this?
response.setHeader("Pragma","no-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires",0);
- Original Message -
From: "Adrian Janssen" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 08, 2002 3:46 PM
Subject:
Are you returning false from the onSubmit event after showing the
alert? Typically an onSubmit JavaScript event would look something like
the following, but you have to return false from the validate_form
method to prevent the submit.
form name=form
method=post
action=/servlet/myapp.jsp
Hi
I have ported my entire application in Linux and tried to use the
JavaMail application from different client and it throws me this
exception
When I tried sending an external email address.
nested exception is:
javax.mail.SendFailedException: 550 5.7.1 [EMAIL PROTECTED]...
Relaying denied. IP
hi,
you have to enable relaying in sendmail. your network
administrator should know how to do it.
regards,
Nagarajan.
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Daniel
Sent: Monday, July 08, 2002
Hi,
A java code written in scriptlets (% %) goes in the service method of the
servlet, by default.
Can we control the target location of this code i.e instead of service,
can we specify a doGet or doGet method of the servlet as the target location
of JSP scriptlet code ?
If yes, how ?
regards,
hi all,
I am creating an window to print a jsp page using activex object. How can i
disable the window icon (ie. close X ). Also when ever i opened this window, it
should get minimized.
thanks in advance,
vijay
u need not use applets for this..
u can just have a meta tag to refresh it at regular intervals.
-anoop
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 11:23 AM
To: [EMAIL PROTECTED]
Subject: Re: JSP problem
1.use applet to display it
i don.t agree with meta tag.it.s unfair to the end user.
and if there are heavy contents, the browser will very slowly
but if you use applet(only listbox) ,when you click it .you can get the
newest list
- Original Message -
From: Anoop Kumar V [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
I'd hate to say no absolutely not, but I cannot see a way. Under Tomcat for
instance the JSP interpreter automatically puts the code in the _jspService
of a class that extends HttpJspBase. Since this is all generated code the
only thing that I can see that maybe you could do is change
yes, u r right. This is the default behaviour.
There must be some way to change the default for individual JSP
-Original Message-
From: Adrian Janssen [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 2:50 PM
To: [EMAIL PROTECTED]
Subject: Re: target of JSP scriptlet Code
I'd hate
probably you have been trying to access the variable i outside the for... loop(ie.
when i is local to the for-loop). If that is the case, then you may get this error
message. Try something like :
int i=0;
for(i; ifc2List.size(); i++){
// here comes your for-loop block
}
// now you can
Hi,
Try with below java script code. Call a java script function b4 u submit the form
and there u can set the check box values.
/*
for(var i=0;i4;i++){
if(document.form.elements[i].checked==true)
document.form.elements[i].value=Y;
else {
You could use remote scripting.
There are varoius ways of doing this. one is with an applet, and another can be with a
hidden frame.
OnClick of the dropdown it will bring the latest information.
-Mensaje original-
De: A mailing list about Java Server Pages specification and reference
Hi,
Is there a way by which I can know all the servlets pre compiled from JSPs contained
in a war file.
I can find *servlets* by looking at web.xml but how do I know abt those servlets that
are precompiled from JSPs.
Thanks
Deepth Dinesan
Although this does not directly pertain to JSP's, I thought that the JSP
user community would be interested in this article recently published by
Gov't Computer News regarding DTD's that the gov't created and put into the
public domain for producing US House related documents in XML. The story
See File taglib in Coldtags suite:
http://www.servletsuite.com/jsp.htm
--
Coldbeans Software - server-side Java (tm) components
http://www.servletsuite.com
__
Your favorite stores, helpful shopping tools and great gift ideas.
hey all..
i installed an instance of tomcat version 4.0.4 and running mysql 3.23.51
i'm getting this error:
java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
so far,
1) i've added mm.mysql-2.0.4.bin.jar file (which should have the
org.gjt.mm.mysql driver) to the $TOMCAT_HOME\common\lib\
nevermind got it...
thanks
-Original Message-
From: Lai, Kenny
Sent: Monday, July 08, 2002 8:04 PM
To: [EMAIL PROTECTED]
Subject: tomcat 4 + mysql 3.23.51
hey all..
i installed an instance of tomcat version 4.0.4 and running mysql 3.23.51
i'm getting this error:
24 matches
Mail list logo