Ulvi Cetin

Ranch Hand
+ Follow
since Mar 03, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Ulvi Cetin

Thanks Steve, I figured out the line #s, but could never be able to figure out line wrappings.
Hi Eclipse users,

I want to wrap long lines on my Java editor. The Max Line Width under Window->Preferences->Java->Code Style->Code Formatter is 80. But, the editor is not wrapping lines longer 80 chars. Anything else I need to do?

Also, I wish to turn on the line numbers? Anyone knows how to do this?

Thx.
I downloaded NetBeans 3.5 and started to use it. I liked it so far. I cannot use the latest version, since it requires J2SE at least 1.4.2 and I need to use a lower version. The thing I like about NetBeans is that you can install Struts plug-in. Is it possible to get Struts plug-in for Eclipse?
Hi, I would like to get some IDE recommendations for Servlet/Java (and may be some JSP) development. It would be better if it is free and runs on Windows and Linux. Thx.
20 years ago
Hi, I would like to get some IDE recommendations for Servlet/Java (and may be some JSP) development. It would be better if it is free and runs on Windows and Linux. Thx.
I want the code to use modI=-1 in case of an exception, but why does it stop executing and shows exception on the screen (java.lang.NumberFormatException: For input string: "N/A")? The whole method is too large to be posted here. Thx.
20 years ago
I have this below sample code inside a method which throws Exception:

......
int modI = 0;
try {
modI = Integer.parseInt(result.getString("mod_req").trim());
} catch (NumberFormatException x) {
modI = -1;
}
......

When the code trows a parsing exception, is it possible to have this code continue executing? Right now it just shows that there is NumberFormatException and stops executing. Thx.
20 years ago
My Tomcat version is 4.1.29. I tried putting swallowOutput="true" in the Context tag, but didn't solve the problem. Any other suggestions.
20 years ago
I need to turn off stdout.log file output, since the file is getting very large and unmanageble (750MB+). I just looked in to my config files and couldn't see any entry creating this file.

Thx.
20 years ago
Is the Servlet/JSP APIs 2.4/2.0 are backward compatible with the versions 2.3/1.2?

I am planning to upgrade Tomcat from 4.1 to 5.5. I have a variety of virtual hosts running on this server. I wouldn't want to have some incompatibility issues after I install the server and migrate them. Thanks.
20 years ago
Yes but this in an unattended software which runs in the middle of the nite. If this happens, there is no way I will notice it restart the program.
20 years ago
The code executes 9 out of 10 times, but once in a while, I get this connection timeout exception. I am guessing it is caused by slow internet traffic, but not sure.
20 years ago
I am getting java.net.ConnectException: Connection timed out: connect on an HttpURLConnection. Is this caused by a slow internet connection? Is there a way to set the timeout to a longer time?

Thx.
20 years ago
I have a method in a servlet and want to invoke it form another. Any ideas how can this be done?

Thx.
21 years ago
This could well be because WhizLabs have more products (more web pages) than Enthuware. That doesn't mean that WhizLabs is better.