来个例子你看看.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD><BODY>
<input type="button" value="tttt" onClick="alert(screen.height)">
<a href="#here">fff</a>
fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>
fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>
<a name="here">
你想要的位置Our final stop has the job of finishing what EditSubscriptionAction.java and subscription.jsp started. After the usual logic and error checking, SaveSubscriptionAction either deletes or updates the subscription object being handled by this request, and cleans up the bean, just to be tidy. By now, you should be very comfortable reading through the source on your own, to pickup the finer points.This concludes our tour. To review, you may wish to trace the path a new user takes when they register with the application for the first time You should also read over each of the .java and JSP files carefully, since we only covered the high points here.
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD><BODY>
<input type="button" value="tttt" onClick="alert(screen.height)">
<a href="#here">fff</a>
fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>
fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>
<a name="here">
你想要的位置Our final stop has the job of finishing what EditSubscriptionAction.java and subscription.jsp started. After the usual logic and error checking, SaveSubscriptionAction either deletes or updates the subscription object being handled by this request, and cleans up the bean, just to be tidy. By now, you should be very comfortable reading through the source on your own, to pickup the finer points.This concludes our tour. To review, you may wish to trace the path a new user takes when they register with the application for the first time You should also read over each of the .java and JSP files carefully, since we only covered the high points here.
</BODY>
</HTML>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<a name="test"><b>test</b></a><br>
testtesttesttesttesttesttesttesttesttest
链接<a href="#here">说明</a>,就是在连接的前面加上#号.
加上<a name="here">获得位置.<HTML>
<HEAD>
<TITLE> New Document </TITLE>
</HEAD>
<BODY>
<a href="#here">说明</a>
111111111111111111
<br>
11111111111111111
<br>
1111111111111111111
<br>
11111111111111111
<br>
11111111111111111
<br>
11111111111111111
<br>
11111111111111111
<br>
11111111111111111
<br>fdsafdsafdsafd
<br>
11111111111111111
<br>
11111111111111111
<br>
11111111111111111
<br>fdsafdsafdsafd
<br>
11111111111111111
<br>
11111111111111111
<br>
11111111111111111
<br>fdsafdsafdsafd
<br>
11111111111111111
<br>
11111111111111111
<br>
11111111111111111
<br>fdsafdsafdsafd
<br>
11111111111111111
<br>
11111111111111111
<br>
11111111111111111
<br>fdsafdsafdsafd
<br>
11111111111111111
<br>
11111111111111111
<br>
11111111111111111
<br>fdsafdsafdsafd
<br>
11111111111111111
<br>
11111111111111111
<br>
11111111111111111
<br>fdsafdsafdsafd
<br>
11111111111111111
<br>
11111111111111111
<br>
11111111111111111
<br>fdsafdsafdsafd
<br>
11111111111111111
<br>
11111111111111111
<br>
11111111111111111
<br>fdsafdsafdsafd
<br>
11111111111111111
<br>
11111111111111111
<br>
11111111111111111
<br>
<a name="here">
你想要的位置Our final stop has the job of finishing what EditSubscriptionAction.java and subscription.jsp started. After the usual logic and error checking, SaveSubscriptionAction either deletes or updates the subscription object being handled by this request, and cleans up the bean, just to be tidy. By now, you should be very comfortable reading through the source on your own, to pickup the finer points.This concludes our tour. To review, you may wish to trace the path a new user takes when they register with the application for the first time You should also read over each of the .java and JSP files carefully, since we only covered the high points here.
</BODY>
</HTML>