suppose i have a servlet that looks like the one below. i set a hashtable to be accessible by all the methods in the servlet. when user enters servlet, he goes into step1 and some values will be added to hashtable and then forward to jsp1. at jsp1, he clicks a button and it sends him back to the...
hi ppl, i am writing a java program to transfer some data from one oracle database to another oracle database.
i was thinking of using
INSERT INTO table1 SELECT * FROM table2
but table1 and table2 are on 2 different databases, so that will mean 2 database connections. but the...
if i am reading this correctly, it means you may need to write a macro or something, so that the spreadsheet knows which column to write the "% free" each week.
i have an idea, not sure if it works.
1) for the various csv files, give them fixed name eg wk1.csv, wk2.csv, wk3.csv etc
2) in your...
i don't know if this works.
after the validation,use request.getParameter (...) to get each value (meaning 20 of them), then insert the values into SQL into database.
there are a few errors with your code, eg
1) in your code, you set statement = null, then without getting a database connection, you try to execute SQL?
2) assuming you have gotten a database connection, you declared mydata in the try block but you try to return mydata outside the try block?
hi, may i know how to disable the reverse proxy in iis? i have tried googling but it seems that i have got the wrong searchwords cos most of them tried to link to isa server that i am not using.
lowbk
hi, i would like to ask how to display the rows in the database into columns on crystal reports.
eg my table structure is
person choicenumber fruit
peter 1 apple
peter 2 watermelon
peter 3 orange
john 1 apple
john 2 grapes
john 3...
HI, i need some advice on inserting a subject heading and pre-written message, via msdos batch file to outlook. (i am not spamming)
currently i have
outlook /c ipm.note /m email@email.com
but it doesn't insert subject heading or a pre-written message. i found mailto in microsoft support site...
yes dian, it is a busy server (sun7 running on unix). so it is actually a timeout?? i am not the server administrator, but how to overcome it, as in what should i tell the administrator to do?
lowbk
i wonder if anyone can advise me on this.
i have a form contains a long list of items. The form uses "post" method. After I press the submit button, I got an exception like this:
java.lang.RuntimeException: Read of HTTP Request POST parameters failed: read < content length
at...
let me try, dunno if it is what you are asking.
for the second instance
public int function(String variable)
{
int x;
try
{
x=Integer.parseInt(variable);
}
catch(Exception e)
{
//supposing variable is invalid number
x=0;
}
//continue rest of coding, eg...
i am using apache1.3.33 with tomcat3.2, but the tomcat console keeps showing "stream broken", "Stream closed prematurely".
is there some configuration problem? may i ask how to resolve this?
------------------------------------
HANDLER THREAD PROBLEM: java.io.IOException: Stream broken...
i am running apache with tomcat (os=>win2000), but since yesterday, i am unable to access my server. the apache's error.log shows a series of "[warn] getsockname". the google search only shows that it could be attacked, but no solution.
would appreciate if any kind soul can suggest some solutions.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.