Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
How to prevent code repetition with enums?18 Nov 2006 10:15 GMT5
Hello. I was wondering if there is a better way to write the below
code. I have several enums, where each enum is for an option type and
each option has a short 1-3 letter string used when I need to identify
the option from a string. The code for each option type is identical
Calling constructor inside another constructor18 Nov 2006 09:36 GMT8
Hello, I have a problem calling a constructor inside another
constructor, consider this code:
class Point
{
reading a file from WEB-INF?18 Nov 2006 08:51 GMT2
I have some text files I'd like to put on my web server (preferably in the
WEB-INF directory though they could be in a regular web folder) that I will
read and parse from some of my servlets.  Does anyone have a code snippet
from doing this from within, say, my servlet's init() ...
Couple java.net questions18 Nov 2006 02:40 GMT3
I'm encountering a couple of bogosities here, both of which probably
stem from not handling some corner case involving HTTP and URLs.
The first of those is that some browsing has turned up URLs in links
that look like http://www.foo.com/bar/baz?x=mumble&y=frotz#xyz#uvw
How to get the full classpath info18 Nov 2006 02:19 GMT3
Hi, Java guru,
I am in a situation that I need to figure out which *.jar files the
java process is using. Basically this huge J2EE application has a lot
of customized jar files (hundreds jar files). We are troubleshooting an
Please help with java app error "main class not found"18 Nov 2006 00:14 GMT3
I have a java application that works perfect on a fresh installation
(xp). However I'm trying to run on a computer thats had load of rubbish
installed before.
When trying to run my app I get the error message  "main class not
interface & abstract class variables17 Nov 2006 23:56 GMT4
While writing abstract class do you define any variables?
My question is: Why you do that? it doesn't make sense to me becouse
you can't make instance of abstract class..
I understand why to make non-abstract method in abstract class, but
ASCII character 1317 Nov 2006 23:21 GMT1
I will be supplied a file of names delimited by the ASCII character 13.
I know in AppleScript I would set this :
set cr to ASCII character 13
How do I refer or set this in java. I figure I can read the file in an
Display Google map with j2me17 Nov 2006 23:07 GMT3
I need to display a google map in a mobile app for college. Any ideas
welcome
cheers Aidan
J2EE on MAC OSX17 Nov 2006 20:33 GMT1
 i would simply like to start learning some J2EE on Mac OSX 10.4. i
will not need to do anything
 fancy, just learn some basic.
 questons:
Problem with regular expressionsq17 Nov 2006 19:29 GMT8
I have the following problem to solve with regular expressions:
An editor can enter data through a webfronted editor. Certain HTML Tag
are allowed others are not. When he saves the data the content should
be check using regular expressions.
Algorithm to find pairs in array [can not order]17 Nov 2006 17:33 GMT6
Hello, so I am trying to make a better (with less complexity,
prefferably without a nested loop) to find something like pairs of
items in an ArrayList:
So far I've got this:
Is this compiler warning impossible to get rid of?17 Nov 2006 16:17 GMT5
I'm talking about of the following warning:
 "myClass.java uses unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details."
Usually when this warning occours for a LinkedList or for other linear
Rune-Time Error17 Nov 2006 15:38 GMT5
http://img390.imageshack.us/img390/7571/errwe3.png
I compiled the program fine but when I try to execute it, I get the
error above.
Program source code:
Why can a final(!) StringBuffer can be appended?17 Nov 2006 15:04 GMT10
How could it be that I declare a StringBuffer to be final but when I
try to append it to something its value
changes to the appended value?
The StringBuffer is not re-created on the system (immutable right?) so
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.