Thanks to Strongm's hint. It works! Now display the tail 1Mbytes of a 800Mbytes file only takes 3 seconds. It's wonderful!
As a summary, first use the seek() function to move the file point to the some tail of the big file, then use the get function to read the text into the EMS memory. At the...
The main function that my second method uses:
Public Function SplitFile(SplitFileName As String, BeginningNumber As Long, ReturnErrorDes As String, Split As Long, oName As String) As Boolean
'Use this function to do file spliting. The function return a boolean value, true for successful, false...
After sevel week's running, the size of the tomcat log file will get very large. E.g. yesterday evening the size of the log file gets 700M bytes large. But when tomcat goes un-normally, it's the tail 1M bytes of the log file that can do we help. Just according the tail 1M bytes of this large...
Hi seong,
Now we have found another way to solve this problem. You just need to open a ms-dos window, unstall the tomcat service, and install the serice again, then the memory options worked. You even needn't to modify the catalina.bat file.
Following the uninstall-install steps:
Change to the...
Thank you, thanks to byam and thank sedj again!
This morning we increase Tomcat's memory heap size as you suggested. Hope it will help us with this problem.
The day when we migrated our application some 8days ago we had a problem that we cannt increase Tomcat's memory heap size at the win2003...
Thanks to byam and sedj, thank you very much.
Above all I want to say my sorry that not giving enough infomations needed. Please forgive me, I'll do it better next time.
1. Tomcat version: 4.1.24
Jdk version: 1.4.2.0.5 (version before migration is 1.4.1.2)
2. What is the application...
The tomcat application has served very well in linux for almost half an year. But 7 days ago we're told that the operation system of the two servers must be changed from liunx to windows server 2003 stand edition. It's an order from our clients that we must obey, so we migrate our project...
We need to run our servlet at 20:00pm everyday, so a cron job is required on the linux server to activate this servlet. Could anyone please give us some advice? Thank you very much.
---------------
Now we imeplement this successfully on Microsoft Window os, e.g. the servlet is...
Thank xlbo. Thank you all!
We have tried this method. Now the problem is that ROW 1 will be out of view when click the vertical scroll bar. But if you freeze ROW 1 then you cannt click the horizontal scroll bar to view the last some columns.
How can we? Following is a source code example of...
Thank TonyU!
I mean the previous one, i.e. replacing A,B,C,D with our own captions e.g. "SID", "NAME", "AGE", "ADDRESS", and so on.
Could u please tell me how to implement this?
Thanks again!
Vincent
---------------------
If u think u can, then u can!
Now it will show A, B, C, D ... in the column caption bar, but we need to change them, e.g.
display "EquipName" instead of "A" in the first column,
display "ModelNo." instead of "B" in the second column,
display "Description" indtead of...
Do you meant to package these excel documents in the client side manually firstly, then upload this package to the server and unpackage it in the server side?
It's better than repeat 100 times the same upload action and now we're planning to adpot this method firstly. Thank you palbano, thanks...
Every month our client will receive many monthly reported excel documents from their subsidiary companies. Then they'll upload these excel documents to the server through an upload page. It's a b/s system that helps to parse upon excel files and store corresponded data into the database.
But...
lntk:
Thank you very much! It looks like that we cannt implement the just Equipment Paste function in b/s pages but ur article is very helpful to us.
Now our client has to save the upon copied excel rows as an independent excel file firstly, e.g. C:\\InsertEquip24Jun2003.xls. Then the...
Now we have an equipment maintenance module that helps our guests to store and track all the equipments they had, but now the problem is that our guests require the Equipment Paste function. E.g. every month they will receive an excel document from their colleagues which describes the latest...
Now we hide the animation gif from showing when the page loaded, then we'll pop up a dialogue to ask the user whether to update the database. If he click the YES button then we'll set the animation gif showed while hide it again until the database update work done. But the problem is that when...
Now we can debug into the java code when our system deployed on Weblogic, but it does not work when it deployed on Tomcat, could anyone please tell me what's the problem? Because now there are some bugs from our client needed to be fixed as soon as possible, but these problemes only exist when...
I've get the solution. Following code is the answer. Thanks mwolf00 very much!
<html>
<title>Vincent Test Pop-style Window</title>
<script type="text/javascript">
function doSubmit() {
window.targetWin = window.open("sdfsdfsdfsdfe","targetWin1","height=300...
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.