Hi,
I tried to put a line into a text file without success:
try
{
FileWriter fw = new FileWriter("out.txt");
BufferedWriter bw = new BufferedWriter(fw);
}
catch(IOException e)
{
}
bw.write("inputed a line: ");
It said "bw cannot be resolved".
Just learnt how to get a line...
Hi,
I am using eclips3.0 and found
String file = "dddd.txt";
FileReader fr = new FileReader(file);
not working. It said:
Unhandled exception type FileNotFoundException
Can you tell me what I am doing wrong? Does eclips3.0 support that?
Hi,
I want the css special for <input type="text"> and tried to put the following in my style.css file but not wording:
input.text {font-size: 14px; line-height: 19px; height: 19px; border: 1px solid;}
What I am doing wrong?
Thank you in advance.
I found it will get a big empty space after following block:
<form...>
<table>
<tr><td>...</td></tr>
</table>
</form>
I then chage to this and found the empty space became much smaller, that is what I need:
<table>
<form...>
<tr><td>...</td></tr>
</form>
</table>
However, W3C validator said I...
Hi,
I tried following code and it looks fine. It does not need a "lestioner" to fire the return key press event.
1. Can you check if this code is OK?
2. If this code is OK, why we need to use "listioner"?
import java.applet.Applet;
import java.awt.*;
public class ListPrime extends Applet
{...
Hi,
I used to have pages titles.asp?group=a, titles.asp@group=b and titles.asp@group=c?but now I have page titles.asp?group=a only. When Googlebot visited my site, it still visited titles.asp?group=a and titles.asp@group=b.
How to tell Googlebot not to visit titles.asp?group=a and...
Hi, Can you check what is wrong (must very simple) in the code. It got Debug Error when free().
#include <stdlib.h>
#include <stdio.h>
int main()
{
int nRow=10, nCol=5, i; double **a;
a = malloc(nRow * sizeof(double *));
for (i=0;i<nRow;i++)
a[i]=malloc(nCol*sizeof(double *));
a[8][2]=12.3...
Hi,
When submit a form by click the submit button, can we do response.cookies("xxx")="yyy"?
Perhaps we can assign the cookies by Javascript, but I think that is very complex....
Thank you in advance.
Hi,
Current page is:
<form action="Next.asp" method="post">
<input type="text" value="abc" name="input1">
<input type="submit">
</form>
<a htef="Next.asp">Next</a>
After click the submit button, <input type="submit">, we go to next page, Next.asp, and we can get the value "abc" by...
Very strange!!
I used DataGrid to display .mdb by connection and recordset by ADO. It works fine. I then set the layout propty and run again, but nothing can by displaied this time! I change back the setting, no good. Why?
Hi,
I have just learnt how to run an applet by putting <applet code="xxx.class"></applet> in a Html file. So, we need put xxx.class in the server. But do we need to put some dll or anything into the user's PC?
Thank you in advance.
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.