comp.lang.java.help
  Home FAQ Contact Sign in
comp.lang.java.help only
 
Advanced search
July 2008
motuwethfrsasuw
 123456 27
78910111213 28
14151617181920 29
21222324252627 30
28293031    31
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.java.help Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Language about Java         


Author: Gani
Date: Jul 31, 2008 09:40

Free Java Book Information

Chapter Definition of all Information in Java
Show full article (8.58Kb)
no comments
  Complete Learn about Java         


Author: Gani
Date: Jul 31, 2008 09:37

Free Java Book Information

Chapter Definition of all Information in Java
Show full article (8.58Kb)
1 Comment
  Finding simple Java class for implementation of text recognition         


Author: cumlibrisnonsolus
Date: Jul 31, 2008 05:45

Hello you all.

I am in a hobby project and would need a easy-to-use Java class or
component I can use more or less out of the box in my project for
simple text recognition. I want to compare one or more pieces of text
with one or more pieces of text to get some sort of indication if (1)
the information is auto-generated and (2) the writer is the same
person.

Do not look for a high probability, have from a small to medium amount
of text material to work with, just need something that can raise a
red flag and merit human attention in some cases.

Any hints on where I should go looking?

As a small side-question, I'd also appriciate info on similar open-
source class/component to scramble (or rather perform simple
encryption).

/Thanks
no comments
  Re: Distributing Java Source         


Author: Alexandr Nevsky
Date: Jul 30, 2008 16:37

In article
<190a8597-b59c-4d68-b16b-e0409b7ef344@m73g2000hsh.googlegroups.com>, Lew
lewscanon.com> foamed at the mouth:
>Jason Cavett wrote:
>>> From Jewish "scriptures".
>Please do not quote anti-Semitic claptrap that others have posted.

Anti-Semitic claptrap, said the mouth foaming zionist pathological
liar and fabricator of bullshit?

Ha, ha, ha, ha, ha.

If Jewish "scriptures" are "anti-Semitic",
then you need medical attention. Urgently.

First of all, those that use this rotten "anti-Semitic" trick,
are not Semites. They are Khazars, a Turko-Finnish tribe.
They came from what is now known as Ukraine and the
Caucasus region. They have never stepped a foot on the
"holy land".

Now, how about these, you zionist sicko?
Are they also "anti-Semitic"?

Quote:
Show full article (30.44Kb)
1 Comment
  Java Interview Question bank         


Author: Jobs
Date: Jul 30, 2008 06:42

Java Interview Question bank
http://www.questpond.com
Free design pattern videos
http://www.questpond.com/FreeDesign1.htm
no comments
  Findbugs and locks?         


Author: Knute Johnson
Date: Jul 29, 2008 22:06

Findbugs gives the warning "Method does not release lock on all
exception paths" on a method like the one below. Could it be because
the lock is from an array of locks and it can't determine which? Or is
it because you could put code outside of the try/finally block that
could leave without unlocking the lock? Any other ideas? It can't
leave the method without unlocking can it?

ReentrantReadWriteLock lock[] = new ReentrantReadWriteLock[5];
for (int i=0; i lock[i] = new ReentrantReadWriteLock();

static void method(int n) throws IOException {
lock[n].writeLock().lock();
try {
// do some disk I/O
} finally {
lock[n].writeLock().unlock();
}
}

Thanks,

--
Show full article (0.97Kb)
10 Comments
  import statement         


Author: varun chadha
Date: Jul 29, 2008 12:27

when we use import statement such as:
import java.util.*
or any such, we are referring to the java/util/*.class classes. but
where is this package located in my jdk directory. Also i dont need to
specify the CLASSPATH if i directly compile my source file on
commandprompt as:
c:\{mydirectoryname}> javac Hello.java
so how is java.util.* accessed directly because as far as i know this
is not the absolute path?
one more thing-
import statement works non-recursively. i.e we have to write two
seperate statements:
import javax.servlet.*;
import javax.servlet.http.*;

so for following directory structure:
javacode/
Hello.class
otherclasses/
Welcome.class
Show full article (0.73Kb)
no comments
  Tomcat 6: Having the JSP read a file from webapp directory         


Author: Steve
Date: Jul 29, 2008 09:04

Hi;

I'm running Tomcat 6 as a stand alone service on Windows XP.. I used
the Apache-Tomcat installer ( it was convenient! ).

I have a JSP application that reads in various parameters from a file
in its webapp ( context? ) directory. The webbapp directory is not
the default. I set the webapp directory via

c:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina
\localhost\myjspapp.xml

The webapp directory for "myjspapp" would be

c:\home\tomcatapps\myjspapp

This directory would contain a file called "useful_params.prop"

myjspapp would read this file ( this is how it has been working and we
are migrating it over from another servlet container software )

The problem is that myjspapp doesn't seem to finding this file
"useful_params.prop".

Is there a way without changing the code for myjspapp to get it to
find that file in c:\home\tomcatapps\myjspapp ?
1 Comment
  Re: Error in the equal method of generic Pair class         


Author: RedGrittyBrick
Date: Jul 29, 2008 02:20

puzzlecracker wrote:
>
> [...]
>

You posted this *separately* to c.l.j.help and c.l.j.programmer.
That is called multiposting. Multiposting is bad for many reasons.
Some of those reasons are explained here:
http://www.blakjak.demon.co.uk/mul_crss.htm
http://www.cs.tut.fi/~jkorpela/usenet/xpost.html

I find it counterproductive to kick sand in the eyes of my potential
helpers. You may too.

--
RGB
no comments
  Error in the equal method of generic Pair class         


Author: puzzlecracker
Date: Jul 28, 2008 19:42

public class Pair
{

@Override
public boolean equals( Object o )
{
if ( this == o )
{
return true;
}
if ( o == null || !(getClass().isInstance( o )) )
{
return false;
}
Pair other = getClass().cast(o);
return (first == null? other.first == null :
first.equals( other.first ))
&& (second == null? other.second == null :
second.equals( other.second ));
}
Show full article (0.58Kb)
no comments
1 2 3 4 5 6 7 8 9