I think it is not the place for the Java class that is the main problem. Tomcat wants some description that it should hand over to your java class when a call to the servlet comes from the net. That is done either explicitely in a web.xml file, or implicitely by meta-information that your IDE...
Hi,
I "inherited" a Tomcat application that does some logging on System.out. Now I have a problem with a loop in a called function. That means that the actual transaction does not come to its end, and therefore I do not get the last log entries.
I tried to repair that by inserting a call...
Hello,
I have no answer but I am interested in it. I doubt that your collegue was right. That means, I think there is no way to use Java 1.4 under WAS 5.1. What is your state in the meantime, did you succeed?
Thanks
Perhaps you want to know why '4' is converted to integer value 52: 52 is the value of ASCII value x34 for the character '4', and the base ASCII is contained in the code used in Java for characters. Contained - not equal!
If you want to get the value 4, you should use method parse() of class...
I got a funny problem on my LINUX (SUSE 8.0 and 8.2), using a 100MB internal ZIP drive.
I have a Win2000 and a LINUX on the same disk (and of course same machine).
First everything worked fine. (I had SUSE 8.0 then).
Then I forgot a ZIP medium in the drive when I rebooted the machine with...
Perhaps you also need a call " pack ();" or a similar method before you call getSize. You have assigned the LayoutManager with the setLayout call, but it has not yet done its work because it is waiting whether you add further components. Maybe the size is set up after that call.
I think you have a .jar file in the windows system that is missing on the Unix machine; perhaps you can find it, transfer it and put it in the class path. I think you are right with 'import java.util.regex.*;'
An other possibility: do you have the same version of JDK on both machines? I think...
I have a type of number crunching program, and as I wanted to be able to interrupt it and continue it later, I put everything in a single control class and several depending classes. At interrupt time, I write the control class (and implicitely the depending classes) with Java Object IO, at...
In my case, I had a telefone contact to HP service; They say it is a hardware problem, and the PSC950 will be repaired or replaced in the next days or weeks. I wait for that.
I think I have a similar problem; when I need a scan, the light is on, but the scan device which moves normally across the surface makes only one or two little steps; you hear little 'clicks'. After that, the device is blocked.
I brought the complete device back to the shop with this problem...
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.