Problem in executing multithreaded program
Hi all,
I have a java program with 3 thread, thread1 , thread2 ,
thread3. When I call thread1.run() , thread2.run() and
thread3.run() .. the execution of thread1 and thread2 start but
thread3 does not run.
Thread1 contains linked list handling , Thread2 contains
execution of "tcpdump" command and Thread3 contains execution of
"ping" command. Can anybody tell me why my thread3 is not running ??
|
3/13/2010 8:58:01 AM
|
0
|
vaibhav <khatavkarvaibha...@gmail.com>
|
|
XPath question.
I have a document which has two elements: ValueOverride and ValueDefault
For example:
<MyDoc>
<ValueOverride>The override value</ValueOverride>
<ValueDefault>The default value</ValueDefault>
</MyDoc>
I need a single XPath expression that will return ValueOverride if it is
non-empty, and ValueDefault otherwise.
Is this possible to do with XPath?
Thanks,
Daniel.
--
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
|
3/12/2010 10:56:46 PM
|
4
|
Daniel Pitts <newsgroup.spamfil...@virtualinfinity.net>
|
Cheeps Guest houses Karachi Independents fully furnished
Cheeps Guest houses Karachi Independents fully furnished
Bungalows
http://guest-houses-5star-hotels-karachi.blogspot.com
|
3/12/2010 7:35:19 PM
|
0
|
ghgh <resourt...@gmail.com>
|
Cheeps Guest houses Karachi Independents fully furnished
Cheeps Guest houses Karachi Independents fully furnished
Bungalows
http://guest-houses-5star-hotels-karachi.blogspot.com
|
3/12/2010 5:18:43 PM
|
0
|
jgjghj <resourt...@gmail.com>
|
Date comparisons
Hi,
I'm using Java 1.5. I have a java.util.Date object and I would like
to determine if it's date (i.e. year, month, and day) are greater than
(in the future) or equal to today's date (year, month, and day).
However, I don't care about any time component (hour, minute,
second ...) when the comparison is taking place. What is the easiest
way I can determine this?
Thanks, - Dave
|
3/12/2010 4:12:03 PM
|
10
|
laredotornado <laredotorn...@zipmail.com>
|
accessing java bean's property
Hi,
I have this bean:
public class Item {
private String type;
private Boolean pub;
public String getType() { return type;}
public Boolean isPub() { return pub;}
}
I can use item.getType() to get the type value, but I'm looking for a
generic way, say I have a string 'Type', then I'd like to get the
value of type of a certain object, any idea how to achieve this?
Thanks.
A.C.
|
3/12/2010 2:02:15 PM
|
3
|
"angelochen...@gmail.com" <angelochen...@gmail.com>
|
Open popup from JSP - Servlet ??
Could some Java guru please help ?? I have
a JSP, from inside which of which I do a POST to a Servlet, which then
does some operations inside its 'doPost' method and at the end
dynamically generates a Web page. Currently,
this page is rendered inside a frame. How do I
make the page be rendered inside a popup window ? Any hints,
suggestions would be of
immense value - thanks in advance for your
help.
|
3/12/2010 10:43:51 AM
|
2
|
Daku <dakup...@gmail.com>
|
Bollywood Latest Pictures movies
Bollywood Latest Pictures movies
Latest Movies Download
Kareena Kapoor Pictures and videos Katrina Kaif Pictures Download
All In One Blog Download Free Videos
http://hotbyhot.blogspot.com/
|
3/12/2010 8:41:55 AM
|
0
|
kathar008 basha <kathar...@gmail.com>
|
trouble download drools example via cvs
hi,
I have attempted to do the first set of instructions mentioned in the
link below to anonymously download drools via cvs...not sure is it is
working...don't know if its an issue at my end of their end. Anyway I
can trouble shoot this issue. Objective is to download the cvs repo.
http://legacy.drools.codehaus.org/CVS+Download+Instructions
--deostroll
|
3/12/2010 5:16:30 AM
|
6
|
deostroll <deostr...@gmail.com>
|
solutions manual to A First Course In Probability 7th Edition by Sheldon M. Ross
I have the comprehensive instructor's solutions manuals in an
electronic format for the following textbooks. They include full
solutions to all the problems in the text, but please DO NOT POST
HERE, instead send me email including title and edition of the
solutions manual u need.
NOTE: This service is NOT free
My email: markrainsun( at )gmail( dot )com
Here are some from my list ...
solutions manual to A First Course in Differential Equations (7th
ed.) Zill & Diferential Equations (5th ed.)Zill & Cullen
solutions manual to A Course in Game Theory by Osborne, Rubinstein
solut
|
3/12/2010 4:49:04 AM
|
1
|
Mark Rain <markrains...@gmail.com>
|
Hello,everybody,the good shoping place,the new year approaching, click in. Let's facelift bar!
Hello,everybody,the good shoping place,the new year approaching, click
in. Let's facelift bar!
===== HTTP://steezeclothing.com ====
Air jordan(1-24)shoes $33
UGG BOOT $50
Nike shox(R4,NZ,OZ,TL1,TL2,TL3) $35
Handbags(Coach lv fendi d&g) $35
Tshirts (Polo ,ed hardy,lacoste) $16
Jean(True Religion,ed hardy,coogi) $30
Sunglasses(Oakey,coach,gucci,Armaini) $16
New era cap $15
Bikini (Ed hardy,polo) $25
FREE SHIPPING
|
3/12/2010 3:59:03 AM
|
0
|
marrylin <lin.jiany...@hotmail.com>
|
First class developer: who ?
Someone says if one does not know the difference between "equality" and
"equivalence", then one is an entry-level developer at best.
What is your opnion ? (I think we should not talk about mathematical
concepts, since it is the software developer in question.)
Thanks.
|
3/12/2010 3:10:57 AM
|
29
|
"...@my-rialto" <ecp_...@my-rialto.com>
|
Java Interview Questions
This article attempts to discuss core java IT technical interview
questions in detail. These are some of the java job interview
questions that are frequently asked in java interviews.
Questions from different people and communities are consolidated in
place for your convenience. These questions are organized according to
various java topics.
Follow the content : http://www.ezdia.com//Java-Interview-Question/Content.do?id=1340
This is to help you prepare well for java related technical
interviews. I wish you good luck and hope you find a great job.
|
3/11/2010 5:32:15 PM
|
0
|
Additya <addy....@gmail.com>
|
ImportError: No module named ffnet
I hope you'll forgive if this is not the correct NG.
I have the .py file in Eclipse
#@PydevCodeAnalysisIgnore
from ffnet import ffnet, mlgraph
topology = mlgraph( (2, 3, 1) )
nn = ffnet(topology)
I select RunAs / Python Run
I get the error
from ffnet import ffnet, mlgraph
ImportError: No module named ffnet
In the folder Python26\lib\site-packages I see
ffnet-0.6.2-py2.6.egg-info
also a folder ffnet
in that folder there is a folder Examples
If I click one of the examples pyrhon.exe opens and runs it OK.
Is there enough in the above for you to tell me how to procede?
|
3/11/2010 2:41:51 PM
|
4
|
" Cal Who" <CalWhoNOS...@roadrunner.com>
|
Speaking of thread safety?
Does anybody know if the Observable/Observer calls to update() are on
the EDT?
Thanks,
--
Knute Johnson
email s/nospam/knute2010/
|
3/10/2010 6:15:07 PM
|
27
|
Knute Johnson <nos...@rabbitbrush.frazmtn.com>
|
Exception Handling
public class Qn24 {
static class A
{
void process() throws Exception { throw new
Exception(); }
}
static class B extends A
{
void process() { System.out.println("B "); }
}
public static void main(String[] args)
{
A a = new B();
a.process();
}
}
Why does the above code results in a compilation error? since it is
always invoking class B's process() method which doesnt throw any
exception.
|
3/10/2010 5:53:40 AM
|
23
|
Javas <deepan....@gmail.com>
|
JDBC Connection Issue
This is a multi-part message in MIME format.
--------------090708090704040103010901
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi All,
I'm running a simple perl script that checks if port 3306(mysql) is open
or not and display's either PASSED or FAILED
Perl Code: http://pastebin.org/108205
This small script seems to be working fine, but when I put into place
our java applications that are using mysql though the jdbc driver
started to crash (The services crash over night after a jboss restart).
I started to do some testing
|
3/10/2010 4:44:40 AM
|
20
|
jross <jo...@cognyx.com>
|
Godaddy promo codes 2010
Godaddy promo codes 2010
http://hotingcoupon2010.blogspot.com/2010/03/godaddy-promo-codes-2010.html
|
3/9/2010 8:05:55 PM
|
0
|
jakob jak <hosting.man2...@gmail.com>
|
Hashcode and Equal
import java.util.*;
public class Qn353
{
private String name;
public Qn353(String name)
{
this.name = name;
}
public boolean equals(Object o)
{
if ( ! (o instanceof Qn353) ) return false;
Qn353 p = (Qn353) o;
return p.name.equals(this.name);
}
public static void main(String [] args)
{
HashSet<Object> hs = new HashSet<Object>();
hs.add(p1);
hs.add(p2);
System.out.println(hs.siz
|
3/9/2010 10:09:09 AM
|
5
|
Javas <deepan....@gmail.com>
|
Thread safety documentation
The "Calendar.getInstance() thread safe?" is yet another instance of a
recurring problem with Java APIs, the lack of consistent documentation
and default rules for thread safety. Often, these questions can only be
resolved by examination of the source code, which is unsatisfactory
because it is vulnerable to future changes that would preserve
everything that is documented.
I now have some free time, and would like to try to contribute to a
resolution of the problem. Is there an existing effort I should join, or
do I need to start a new one?
Patricia
|
3/8/2010 11:57:10 PM
|
9
|
Patricia Shanahan <p...@acm.org>
|
click me
please clic it it will be usefull to you
http://123maza.com/78/healthyfitness/
|
3/7/2010 6:24:17 PM
|
3
|
madhan <karun.mad...@gmail.com>
|
Calendar.getInstance() thread safe?
Hi,
In a multi-threaded application, I encountered problems with dates being
"reset" to 1970, or being negative when converted into ms since 1970.
I use Calendar to do operations on dates, and as I see no obvious bug in the
code, and as the problem occurs randomly and after a certain time, I was
wondering if that was a multi-threading issue.
So the question is: Is Calendar.getInstance() thread safe?
I did not find a satisfying answer searching the web.
Is there asbolutely no possibility that two (or more) threads calling
Calendar.getInstance() at the same time get the sa
|
3/7/2010 3:59:57 PM
|
16
|
endymion <pubc...@free.fr>
|
INFORMATICAS INSTALLATION STEP BY STEP
Informatica Installation step by step
http://installinformatica8.blogspot.com/2010/02/informatica-installation-step-by-step.html
|
3/6/2010 5:52:19 PM
|
0
|
serve <pettupinna...@gmail.com>
|
Shop online without credit card
Shop online without credit card. It=92s only @ http://www.shoppingreps.com?=
SourceId=3D1259
Membership is absolutely free. Join and enjoy your shopping. For more
details visit http://www.shoppingreps.com?SourceId=3D1259
|
3/6/2010 4:21:40 PM
|
0
|
soniyaa 1111 <soniyaa1...@gmail.com>
|
Call for Paper The International Journal of Computer Science (IJCS)
Call for Paper
The International Journal of Computer Science (IJCS) publishes
original papers on all subjects relevant to computer science,
communication network, and information systems. The highest priority
will be given to those contributions concerned with a discussion of
the background of a practical problem, the establishment of an
appropriate model, the determination of a solution, approximate or
exact, analytical or numerical, and a discussion of the relevance of
the results when applied to the real-life problem. Paper submissions
are invited in the area of computer science, i
|
3/6/2010 3:32:45 PM
|
0
|
editor ijcs <ijcsorgedi...@gmail.com>
|
Buy Genuine Google Adsense Account only for Rs.200/- for indian people.
Buy Genuine Google Adsense Account only for Rs.200/- for indian
people.
For more details visit
http://www.buygoogleadsense.tk/
We also provide procedure for creating unlimited
google adsense account trick .
|
3/5/2010 8:19:34 PM
|
0
|
Google Adsense <earnmoney9...@gmail.com>
|
Buy Genuine Google Adsense Account only for Rs.200/- for indian people.
Buy Genuine Google Adsense Account only for Rs.200/- for indian
people.
For more details visit
http://www.buygoogleadsense.tk/
We also provide procedure for creating unlimited
google adsense account trick .
|
3/5/2010 8:19:20 PM
|
0
|
Google Adsense <earnmoney9...@gmail.com>
|
Trouble converting an XML doc into a string
Hi,
I'm using Java 1.5, dom4j 1.6, axis 1.4, cglib 2.1_3, and commons-
beanutils 1.7.0. I'm trying to figure out why converting an XML
document to a string is not working. I'm trying to build a very
simple XML doc like so ...
private Document createXMLDocument(String firstName, String
lastName, String number, String year, String month,
DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document document = builder.newDocument();
Element documentRoot = document.createElement("response
|
3/5/2010 5:10:18 PM
|
2
|
laredotornado <laredotorn...@zipmail.com>
|
Applet Navigation
I got asked this question about Applet use by blind people. I did not
know the answer.
"One question I was hoping you would answer what keystroke allows a
user to get into an applet on a web page, or get out of an applet on a
web page? I'm asking because if someone is disabled, a web app must
perform all function without a mouse and only using a keyboard.
When I go to you sample pages, it is easy to navigate using the
keyboard (using Tab and Shift+Tab) to get to every field in the
applet, but I cannot get out with the keyboard to get to the other
links on the page. If I Alt+
|
3/5/2010 8:00:19 AM
|
3
|
Roedy Green <see_webs...@mindprod.com.invalid>
|
CodeWarrior begins on Mar 5, 06:00 pm IST. Certificates & Prizes worth 20,000 INR.
Problem Statements of CodeWarrior Round 2 will be released on _Mar 5,
06:00 pm IST_. Registrations are open till Mar 14, 09:00 pm IST. So
form your team now, if you have not participated in Round 1.
Here is the problems break-up:
* 2 Puzzles
* 2 Algorithm Designing Problems
* 2 C/CPP Debugging Problems
* 1 Algorithm Intensive Programming Challenge
There are prizes worth more than _20,000 INR_. _Codechef T-Shirts_
will be awarded to the first team to score full marks for the
Algorithm Intensive Programming Challenge.
_Certificates to be given to 30 teams_.
Note: Round2
|
3/5/2010 7:51:41 AM
|
0
|
Abhishek Gupta <abhi.gup...@gmail.com>
|
CodeWarrior begins on Mar 5, 06:00 pm IST. Certificates & Prizes worth 20,000 INR.
Problem Statements of CodeWarrior(http://itbhu.ac.in/codefest/
event.php?eid=4) Round 2 will be released on _Mar 5, 06:00 pm IST_.
Registrations are open till Mar 14, 09:00 pm IST. So form your team
now, if you have not participated in Round 1.
Here is the problems break-up:
* 2 Puzzles
* 2 Algorithm Designing Problems
* 2 C/CPP Debugging Problems
* 1 Algorithm Intensive Programming Challenge
There are prizes worth more than _20,000 INR_. _Codechef T-Shirts_
will be awarded to the first team to score full marks for the
Algorithm Intensive Programming Challenge.
_Certi
|
3/5/2010 5:17:47 AM
|
0
|
codefest <1989.gau...@googlemail.com>
|
Make Money Your Blogspot or Blogger Wordpress CPM and CPC advertisment
Make Money Your Blogspot or Blogger Wordpress CPM and CPC advertisment
Premium CPM/CPC advertising.
PromoteBurner is ad system focused on CPM and CPC advertisment. We
offering monetizing of your traffic with totally clean CPM/CPC
banners. PromoteBurner is open for users from whole world, who wants
to monetize their traffic.
System specifications:
- We are accepting traffic from all countries.
- Users from whole world are welcome.
- Monthly payments with NO MINIMUM.
- 5% Affiliate program.
- Quality promote material
http://promoteburner.com/?r=1848
ANY HELP STEPS AND
|
3/5/2010 4:01:34 AM
|
0
|
kathar008 basha <kathar...@gmail.com>
|
baufinanzierungen online , bauspardarlehen zins , bausparen finanzierung , immobilien kredite , eigenheimzulage forum , eigenheimzulage 1998 , kredit baufinanzierung ,
baufinanzierungen online , bauspardarlehen zins , bausparen
finanzierung , immobilien kredite , eigenheimzulage forum ,
eigenheimzulage 1998 , kredit baufinanzierung ,
+
+
+++ GUENSTIGE KREDITE ONLINE +++ KREDITE IM INTERNET OHNE SCHUFA
IMMOBILIEN +++
+
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOB
|
3/5/2010 3:09:11 AM
|
0
|
lucky-villa <weasle182...@googlemail.com>
|
How to convert one text file into one large String?
I remember that there is a way(just one method call) to convert one text
file ("msg.txt") their content into one String. For example:
msg.txt has the following content:
Hello?
123
Good morning
I want to get the String "Hello?123Good morning" from it. I know I can
do it manually by reading it line by line and concatenate them. But I
remember there is a method calling to accomplish this.
I searched all the methods in File.java(from Sun) and
FileUtils.java(from Apache) and could not find it.
Can you help me? Thank you.
|
3/4/2010 9:54:59 PM
|
15
|
www <...@nospam.com>
|
How to get the file name from a String containing the path plus the file name?
Hi,
I have a String "dirA/dirB/dirC/file.txt". How to use String
manipulation technique to get "file.txt"?
String fullName = "dirA/dirB/dirC/file.txt";
int index = fullName.lastIndexOf("\\"); //here is a problem, if I try
lastIndexOf("\"), there is a compile error
String fileName = fullName.subString(index); //but does not work
Thank you very much.
ps: I am working on linux.
|
3/4/2010 8:06:05 PM
|
5
|
www <...@nospam.com>
|
Warning message with proprietary class
In my Tomcat 6.0.20 container I am using sun.misc.BASE64Encoder to get
NTLM Intranet username and everything works. Unfortunately I get the
below warning message after I compile the class:
-----------------------
Auth.java:3: warning: sun.misc.BASE64Encoder is Sun proprietary API
and
may be removed in a future release import sun.misc.BASE64Encoder;
^
1 warning
----------------------------
It seems the sun.misc.BASE64Encoder is Sun proprietary API and is
available from the rt.jar? I was wondering if I should put the rt.jar
in my web app lib folder (\WEB-INF\lib) ju
|
3/4/2010 1:55:45 AM
|
1
|
francan <franca...@yahoo.com>
|
Best Practices for Writing XML
What are the best-regarded Java classes for writing XML these days?
I'm afraid I've been out of touch with XML for a few years and long ago lost
track of what is well-regarded in the Java community for creating XML files.
I have a need to write an XML file but NOT to work with it any further; the
file will be read by Microsoft Word but not processed any further. If
someone can point me to some suitable classes for writing XML - and,
ideally, a tutorial describing the proper use of these classes - I would
really appreciate that.
--
Rhino
|
3/3/2010 9:42:50 PM
|
13
|
"Rhino" <no.offline.contact.ple...@example.com>
|
baufinanzierung baugeld , eigentumswohnungen finanzieren , eigenheimzulage baby , hypothek 15 jahre , kreditrechner hauskauf , kreditrechner eigenheim , immobilienkredit online ,
baufinanzierung baugeld , eigentumswohnungen finanzieren ,
eigenheimzulage baby , hypothek 15 jahre , kreditrechner hauskauf ,
kreditrechner eigenheim , immobilienkredit online ,
+
+
+++ GUENSTIGE KREDITE ONLINE +++ KREDITE IM INTERNET OHNE SCHUFA
IMMOBILIEN +++
+
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http:
|
3/3/2010 5:33:57 PM
|
0
|
susanne hamburger <speakermagne...@googlemail.com>
|
Embedded Industry Expert Opinions Needed
VDC is conducting its annual survey of mobile and embedded engineers
so if you are involved in the engineering of mobile or embedded
systems/software, this is your chance to influence key solution
suppliers.
The research covers embedded software, hardware, tools, and
development practices. Your thoughts will improve our insights into
the engineering community and help to influence next generation
solutions.
In addition, VDC will provide all respondents who complete the
survey:
* Instant access to a summary of VDC's 2009 survey findings;
* Entry into a prize drawing for one o
|
3/3/2010 5:27:09 PM
|
0
|
OnTargetEmbedded <crom...@vdcresearch.com>
|
Java3D: how to transform an object loaded with obj loader
How can I transform an object which I loaded with a loader as below?
What is the code when I want to move it to (5,5,5)?
thanks
ObjectFile f = new ObjectFile();
Scene loadedShip = null;
try {
loadedShip = f.load("C:/Users/Nicolas/Documents/
NetBeansProjects/3dGame/src/Gamestar/obj.obj");
} catch (FileNotFoundException e) {
System.err.println(e);
System.exit(1);
} catch (ParsingErrorException e) {
System.err.println(e);
System.exit(1);
} catch (IncorrectFormatException e
|
3/3/2010 5:12:28 PM
|
2
|
NickPick <dickreu...@yahoo.com>
|
Java DOM: add an attribute to a node
Hi all,
I need to write a new XML file from scratch, I've just a doubt about
adding an attribute to an element.
This is the code, but maybe there is a way to write less code to do
that.
What do you think about that ?
//START CODE
....
Document doc=docBuilder.newDocument();
Node rootNode=doc.createElement("MarketNews");
Attr id=doc.createAttribute("id");
id.setValue("123456");
NamedNodeMap rootAttr=rootNode.getAttributes();
rootAttr.setNamedItem(id);
doc.appendChild(rootNode);
....
//END CODE
Thanks all and best regards,
Ale
|
3/3/2010 4:33:01 PM
|
2
|
Ale <abonizzon...@gmail.com>
|
Whitepaper on Location Intelligence
The Yellowfin BI team have produced a new paper on "Location
Intelligence", the mashup of BI with GIS
Extract
More than 70% of your organizational data has a location component -
be it a customer address or a sales territory. This combined with the
growing ability of businesses to quickly absorb large volumes of data,
together with the increased availability of digital maps and spatially-
enabled applications has created an unprecedented opportunity to
incorporate geographic factors into decision making processes and
analysis.
Location Intelligence is the capacity to organize a
|
3/3/2010 10:12:05 AM
|
0
|
JTP PR <janinepellet...@yahoo.ca>
|
"Class not found" when loading java Applet from forwarded Domain?
I have a problem with the following situation:
A domain www.aaa.com is linked/forwarded to a sub directory of another domain e.g. www.bbb.com\aaastuff
on another server.
So when a user enters www.aaa.com in his browser all stuff should be retrieved and presented from the directory
of www.bbb.com\aaastuff. This works well in general except one thing:
The web page contains an applet with the definition shown below. Instead of showing the applet
a white rectangle is shown and the java console tells the user:
java.lang.ClassNotFoundException: Logo.class
Why?
Yes, the java cl
|
3/3/2010 7:41:10 AM
|
1
|
sgr...@inf.uni-karlsruhe.com (Susanne Grabe)
|
Java/J2EE with Struts | Richmond,VA | 6 months
Title: Java/J2EE Developer
Location: Richmond, VA
Duration: 6 months
5+ years of experience in Java,J2EE.
STRUTS must be need
Candidate must be local to Richmond
Send your resume to jobs@mapleresource.net
|
3/2/2010 4:09:45 PM
|
0
|
kin <kindlesyst...@gmail.com>
|
Microsoft Word Autocorrects
I have been attempting to decode a file used my Microsoft Word, one
that stores the autocorrects, possibly to create some utilities to
manage them, export, import etc.
I wrote this little program to dump out the contents of an autocorrect
file to test my understanding of the format. It had a number of
unexpected wrinkles after I thought I had it nailed.
There are still few puzzles left. I thought some people here might
enjoy the challenge of solving them. If not, just ignore this post.
/*
* @(#)Autocorrects.java
*
* Summary: read MS Word autocorrects file.
*
* Copyrig
|
3/2/2010 11:39:24 AM
|
1
|
Roedy Green <see_webs...@mindprod.com.invalid>
|
java Date to c# ticks
Hi
I have a c# application which reads data from a database. Some of the data
is a "time" which is actually a c# "ticks" value (written to the db by
another c# application).
Now I am writing a java application, which collects data and writes it to
the database for the c# application to read. So how do I convert a java
"Date" to a value which the c# application can interpret as "ticks"?
Thanks,
Peter
|
3/2/2010 7:09:39 AM
|
22
|
"Peter K" <pe...@parcelvej.dk>
|
jdbc connection
hey m writing program in java to connect it to mysql.
I have given driver name as
Class.forName("com.mysql.jdbc.Driver");
but i am getting ClassNotFoundException.
Please help me what shall i do.
|
3/2/2010 4:35:11 AM
|
3
|
sangeeta chowdhary <sangitachowdh...@gmail.com>
|
Best way to check if all elements in a List are unique
Hi,
I"m using Java 1.5. Given a java.util.List that I know to have at
least one element, what is the best way to check that all elements in
the list are unique ?
Thanks, - Dave
|
3/1/2010 10:29:29 PM
|
25
|
laredotornado <laredotorn...@zipmail.com>
|
Reflection accessing subclass
Hi,
Can anyone please tell me how I would access a subclass members with
reflection.
So for example:
public class MyTestClass
{
public class SourceObj
{
String mytest1;
}
String mytest1;
int mytest2;
long mytest3;
List<String> mytest4 = new java.util.ArrayList<String>();
HashMap<String,String> mytest5 = new HashMap<String, String>();
SourceObj mytest6 = new SourceObj();
}
I want to set the value of mytest6.mytest1
Thanks,
Max
|
3/1/2010 10:28:05 PM
|
1
|
askmax <ask...@gmail.com>
|
read html file into org.w3c.dom.html.htmldocument
Hi,
how do i read a local html file into a org.w3c.dom.html.htmldocument ?
I want to dynamically change the values of the elements in html.
TIA J.
|
3/1/2010 1:54:50 PM
|
1
|
"Jozza" <...@hmm.com>
|
EL and regular expression
I am trying to use a Regular Expression in Tomcat 6.0.20 with EL and
its not working:
<c:set var="info" value="joe2222" />
Here are results = ${fn:replace(info,'\d+','')}<br><br>
Error message -
org.apache.jasper.JasperException: An exception occurred processing
JSP page /jsp/reg2.jsp at line 14
11:
12:
13: <c:set var="info" value="joe2222" />
14: Here are results = ${fn:replace(info,'\d+','')}<br><br>
Please advise.
|
2/28/2010 2:32:49 PM
|
0
|
francan <franca...@yahoo.com>
|
EL and regular expression
I am trying to use a regular expression in EL and its not working:
<c:set var="info" value="joe2222" />
Here are results = ${fn:replace(info,'\d+','')}<br><br>
Error message:
org.apache.jasper.JasperException: An exception occurred processing
JSP page /jsp/reg.jsp at line 14
Please advise.
|
2/28/2010 2:29:30 PM
|
0
|
francan <franca...@yahoo.com>
|
Top Certifications in all Fields - A Complete Guide
Top Certifications in all Fields - A Complete Guide
RedHat Linux: http://career-assessments.blogspot.com/2008/01/red-hat-linux-certification-program_26.html
PMP: http://career-assessments.blogspot.com/2008/02/pmp-project-management-professional.html
Oracle: http://career-assessments.blogspot.com/2008/01/oracle-certifications-aspirants.html
Java: http://career-assessments.blogspot.com/2008/01/sun-java-certifications.html
Cisco: http://career-assessments.blogspot.com/2008/01/cisco-certifications-newbies.html
Networking: http://ccnahelpguides.blogspot.com
Study Abroad
GMAT: http://gmat-pr
|
2/28/2010 6:08:29 AM
|
0
|
IT eBooks <infotech.eb...@gmail.com>
|
Norton Internet Security 2010 v17.5.0.127 Final
Norton Internet Security 2010 v17.5.0.127 Final
download all antivirus programs 2010 free now
Avira AntiVir PersonalEdition 8.2.0.334
http://alagmysoft.blogspot.com/2010/02/avira-antivir-personaledition-820334.html
Keys For Kav/kis Kaspersky
http://alagmysoft.blogspot.com/2010/02/keys-for-kavkis-kaspersky.html
Norton Internet Security 2010 v17.5.0.127 Final
http://alagmysoft.blogspot.com/2010/02/norton-internet-security-2010-v1750127.html
Eset NOD32 Smart Security Home And Business Edition 4.0.437
http://alagmysoft.blogspot.com/2010/02/eset-nod32-smart-security-home-and.
|
2/27/2010 10:30:49 PM
|
0
|
hussam elagmy <translatorhos...@gmail.com>
|
Norton Internet Security 2010 v17.5.0.127 Final
Norton Internet Security 2010 v17.5.0.127 Final
download all antivirus programs 2010 free now
Avira AntiVir PersonalEdition 8.2.0.334
http://alagmysoft.blogspot.com/2010/02/avira-antivir-personaledition-820334.html
Keys For Kav/kis Kaspersky
http://alagmysoft.blogspot.com/2010/02/keys-for-kavkis-kaspersky.html
Norton Internet Security 2010 v17.5.0.127 Final
http://alagmysoft.blogspot.com/2010/02/norton-internet-security-2010-v1750127.html
Eset NOD32 Smart Security Home And Business Edition 4.0.437
http://alagmysoft.blogspot.com/2010/02/eset-nod32-smart-security-home-and.
|
2/27/2010 10:29:38 PM
|
0
|
hussam elagmy <translatorhos...@gmail.com>
|
Could this unclosed() byteArrayInputStream cause high Heap usage ?
Hi all,
As part of our reporting integrated with our JSF/JSP application, the
report is converted to PDF then sent to browser for user to display.
mean while during peak load our Heap usage could reach 3.5GB - 4GB. So
I am suspecting the unclosed byteArrayInputStream is the cause.
(This is a production application so I am collecting information
before change the code)
Is the unclosed() byteArrayInputStream really cause the problem ?
(the codes is below)
Thank you,
Krist
ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)
reportClientDoc.getPrintOutput
|
2/5/2010 11:21:04 AM
|
0
|
Krist <krisl...@gmail.com>
|
Motivation of software professionals
Hi all,
I am doing a research about motivation in software development, the
most efficient practices to motivate software engineers, their
popularity, etc.
As a part of the research, I am doing an online survey for software
engineers and managers in software development. It takes just several
minutes and filling it is a good opportunity to share your opinion
about the motivation practices being used in the software industry
today:
http://ask.wizefish.com/en/MotivationSurvey.aspx
Anyone who does the survey and leaves any contacts will be sent the
results.
Also, if someone is
|
2/5/2010 11:19:22 AM
|
7
|
Stefan Kiryazov <stefan.kirya...@gmail.com>
|
symbol lister for java (like nm)
All,
I'm looking for something the equivalent of nm in java.
I want to be able to give a utility either the name of a class file,
or the name of a jar file, have that utility go into the jar file and
give a listing of all the symbols in that file (like nm does for C). I
know that c++filt demangles these symbols, but I'm not sure how to get
a list of mangled symbols in the first place to demangle!
Anyways, I would have thought this would be a fairly simple (and
generic) request, but apparently not - a google search for 'symbol
list tool java' and 'nm for java' returns nothing str
|
2/5/2010 1:13:24 AM
|
1
|
horos22 <ed.pesc...@gmail.com>
|
Example of building a list of file names?
Can anyone point me to an example of Java code that searches for all the
files within a given Windows directory (and doesn't recurse into
subdirectories) and then stores the file names in some kind of array or
collection? For example, if my directory was c:\foo, it would store a list
of all the files found in the foo directory.
I've lost most of my old code examples due to a hard drive crash and feel
sure that this kind of code must have been done umpteen times before. I'll
write it from scratch if I have to but I'm hoping some kind soul can point
me to an example or just post
|
2/4/2010 7:13:59 PM
|
5
|
"Rhino" <no.offline.contact.ple...@example.com>
|
Protected nested generic constrained inheritance
Hi,
Two example programs below, I'm wondering if someone could tell me
why example 1 doesn't work, given that example 2 does? The error says
that a nested class has protected access, but I am accessing it from
an inheriting class
Thank you,
Kind regards,
Eliott
/////////////////////////////////////////////////////////////////////
// Example 1
/////////////////////////////////////////////////////////////////////
// test/A.java
package test;
import test.A.NA;
public class A<T extends NA>
{
protected static class NA
{
}
}
// test/extend/B.java
|
2/4/2010 6:10:09 PM
|
9
|
MRe <pgd...@gmail.com>
|
Java reg exp question
Hi,
I'm using Java 1.5. How do I find all strings matching a particular
pattern in a larger string? For example, I have HTML page source, and
I want to find all the names of the checkboxes where I'm guaranteed
the checkboxes will appear on the page like so ...
<input type="checkbox" value="true"
name="invoicingReport:invoicingTable:1:_idJsp17"/>
Thanks for your help, - Dave
|
2/4/2010 5:50:32 PM
|
1
|
laredotornado <laredotorn...@zipmail.com>
|
A First Course in the Finite Element Method, 4th Edition logan
I have solutions manuals to all problems and exercises in these
textbooks. To get one in an electronic format contact me at:
kalvinmanual(at)gmail(dot)com and let me know its title, author and
edition. Please this service is NOT free.
solutions manual to A Course in Game Theory by Osborne, Rubinstein
solutions manual to A Course in Modern Mathematical Physics by Peter
Szekeres
solutions manual to A First Course in Abstract Algebra (7th Ed., John
B. Fraleigh)
solutions manual to A First Course in Differential Equations - The
Classic Fifth Edition By Zill, Dennis G
solutions manu
|
2/4/2010 12:25:48 AM
|
0
|
Peter Kalvin <kalvinman...@gmail.com>
|
call javascript library in jsp
How to call the tablekit javascript library in jsp?
I downloaded the tablekit javascript library and put it in the js
directory which is in the jsp directory.
i.e. the directory is
C:\workspace\com.mycomp.data.war\WEB-INF\jsp\js
The jsp page is as follows and display correctly with FF and chrome on
Windows Vista.
However, the column of the page is not sorted by clicking on the
column.
i.e. the tablekit javascript library sorting function does not work
on the web page generated by jsp.
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<table border="1" class="sortable r
|
2/3/2010 3:07:36 PM
|
5
|
albert kao <albertk...@gmail.com>
|
Meet Arab, Russian, American Singles From All Over The World
Meet Singles In Your Area
Arabs, American, Russian Singles
From All Over The World
Waiting For You At Marinzo
Join Marinzo And Start Your Love Life Now
Join Marinzo Now For Free !!
Enjoy exciting features offered by our site:
* Profiles with galleries and audio/video
* Personal weblogs and friends-lists
* Audio/video chat, IM and recorder
* SPAM-blocking and anti-SPAM system
* ZIP-codes search, matchmaking and so much
more!!
http://www.marinzo.com
|
2/3/2010 2:07:38 PM
|
0
|
qwertyyyy <qwerty204102...@gmail.com>
|
CardLayout & setting focus problem
Hello - I'm using CardLayout to edit few cards of information.
Unfortunatelly there is problem - when I show next card - text box on next
card don't receives focus automaticaly. Calling requestFocusInWindow method
does not work to. Could you help me.
Regards
Jacek
|
2/3/2010 10:48:40 AM
|
3
|
"JKW" <jacek.kwa...@wp.pl>
|
Dynamically refresh (update) JSP webpage when JMS notification is received
After a notification from JMS is received, how to dynamically refresh
(update) a JSP webpage?
Please post any tutorial or website or idea.
This is for FF, Chrome, IE on windows Vista & 7.
Thanks.
|
2/2/2010 10:00:44 PM
|
1
|
albert kao <albertk...@gmail.com>
|
Foreign keys in MySQL and referential integrity of Database
A foreign key in a My Sql database is a field (or fields) of a table
that points to a primary key of an other table. Such keys are defined
in a database to ensure that only fields that supposed to appear in a
database may be permitted.
What is their requirement ? Why are they useful ?
For enhancing the referential integrity of your database, you need
foreign key. Read more on how they are defined and created. Learn
through some examples.
http://sulabhjain.wordpress.com/2010/02/01/foreign-keys-and-referential-integrity-in-database/
|
2/2/2010 6:12:33 AM
|
0
|
Weasley <samyaksul...@gmail.com>
|
SWT: TextField ModifyListener
Hello everyone,
quick question:
If I have two text fields and want to clear the text of one when there
is a ModifyEvent on the other one, I do the following:
public class OrderModifyListener implements ModifyListener
{
MainWindow mainWindow;
public OrderModifyListener(MainWindow window)
{
mainWindow = window;
}
public void modifyText(ModifyEvent e)
{
if (!(mainWindow.getQualifierField().getText().equals("")))
{
mainWindow.getQualifierField().setText("");
}
}
}
The following is happening:
If there is text in the Qualifierfield, it is being c
|
2/1/2010 4:19:34 PM
|
5
|
"Claus K." <claus.k...@googlemail.com>
|
Access SNMP using Java
hi friends,
could you please tell me how to access the MIB objects of SNMP using
Java Code.
and i very thankful If u refer any article related to SNMP using
Java.
Thanks in Advance
|
2/1/2010 11:07:21 AM
|
11
|
frank <frank...@gmail.com>
|
JPanel
Hi every body
I am new at Java and I have a question for you.I just wonder how I can
add several objects from several classes(lets say I have three
classes MyLine, MyRectangle, and MyOval) to one JPanel class .
I have tried this way but it did not work!
public class MyPanel extends JPanel {
MyPanel(){
MyRect rec = new MyRect();
MyOval ova = new MyOval();
add(rec);
add(ova);
}
}
I know that I can add several JLabel or JButton to Jpanel object but
can I do this for Graphic classes as well?
could you please give a hint about that?
bes
|
2/1/2010 9:34:05 AM
|
0
|
BEHROUZ <behse...@gmail.com>
|
Write data to file
Hi All
Do you know how to write data to file as below format
first data is readable , second data is byte value
for (int i = 192 ; i < 223 ; i++) {
for ( int j = 129 ; i <= 223 , j++) {
output to file i ,j ;
output to byte of i , byte f j;
}
}
I does not know how to update below file.
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
public class build_binary {
public static void main(String[] args) {
Strin
|
2/1/2010 8:42:44 AM
|
2
|
moonhkt <moon...@gmail.com>
|
Code and Creation 01324
This is a free and informational site I created for application development and application development source on the net. Enjoy, and it's free, nothing to register oir sign up for just an informational site.
http://codeandcreation.com
aArD/#N/hyDjysxz(>gJvo&/_
|
1/31/2010 5:35:11 PM
|
0
|
Virgina Hernandez<gh...@yahoo.com>
|
Jave ME and BT
Hi,
Where is error in my function to connect with BT (middlet is signed with
export root certificate to emulator)
this code make exception:
--------------------
String url = dAgent.selectService(serverUUID,
ServiceRecord.NOAUTHENTICATE_NOENCRYPT, false);
-----------------------------
Output:
>Searching for service
>javax.bluetooth.BluetoothConnectionException: Error in btl2cap::connect ()
> at com.sun.jsr082.bluetooth.btl2cap.L2CAPConnectionImpl.doOpen(),
> bci=79
> at com.sun.jsr082.bluetooth.btl2cap.L2CAPConnectionImpl.<init>(),
> bci=64
wha
|
1/31/2010 1:45:35 PM
|
0
|
"Rafal\(sxat\)" <gon...@(op).pl>
|
persistence / object backend to file / serialization
http://joafip.sourceforge.net/
can be see as a:
- an "intelligent" serialization: write only changes, read only object
needed
- manage more object than memory can contains
- an alternate persistence solution to relationnal database
|
1/31/2010 10:47:02 AM
|
27
|
luc peuvrier <lcp...@gmail.com>
|
Create Password Protected PDF from byteArrayInputStream
Hi All,
We need to create a password protected PDF to send to Client's browser
from JSF web application.
We already have the report data in byteArrayInputStream, so we need a
Java library to convert it into password protected PDF.
Has anybody done this using free Java PDF Library, what is it ?
Thank you,
xtanto
|
1/31/2010 2:51:15 AM
|
1
|
Krist <krisl...@gmail.com>
|
Display image on form...
Hi All,
I want to display user image on one form (like user profile page). I
have to option as metion below:
1. Store image with its relative path in table column.
2. Store image in DB itself using blob as column data type.
But each method hs its own drawback
In first solution when we are using relative path it use OS level
search using relative path which is a native call.
In second method DB size will grow like any thing.
I am confuse and not able to decide which approch will be good. I
request you all to suggest me I should go with which approach also
suggest if there is ot
|
1/30/2010 11:42:27 AM
|
3
|
Amit Jain <amitatgro...@gmail.com>
|
free website design software , flash website design , web site designers , to use website design software , nof 7.0 , easy web design , website designing software , website design software templates
free website design software , flash website design , web site
designers , to use website design software , nof 7.0 , easy web
design , website designing software , website design software
templates , web design software , homepage design software ,
WEBSITE DESIGN SOFTWARE +++ WEBSEITEN DESIGN SOFTWARE +++ WEBSEITEN
ERSTELLEN
+
+
+
+
+
http://WWW.NETOBJECTSFUSION.NL/
http://WWW.NETOBJECTSFUSION.NL/
http://WWW.NETOBJECTSFUSION.NL/
http://WWW.NETOBJECTSFUSION.NL/
http://WWW.NETOBJECTSFUSION.NL/
http://WWW.NETOBJECTSFUSION.NL/
+
+
+
+
+
kostenlose webseiten nof styles
n
|
1/30/2010 12:40:25 AM
|
0
|
gabi neues <meandmymachin...@googlemail.com>
|
closing an app
Got a simple app that's a frame and a jpanel with buttons on it.
Can't work out how to close it using one of the buttons rather than the
graphical interface provided.
--
Dirk
http://www.transcendence.me.uk/ - Transcendence UK
http://www.theconsensus.org/ - A UK political party
http://www.blogtalkradio.com/onetribe - Occult Talk Show
|
1/29/2010 11:45:49 PM
|
2
|
Dirk Bruere at NeoPax <dirk.bru...@gmail.com>
|
Help resolving NoSuchMethodError
Hi,
I'm trying to write some JUnit (3.8.1) tests using Maven (1.1, can't
upgrade now), and Java 1.5. In my Maven dependency list, I have
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.7.0</version>
</dependency>
And when I run my test, it dies with ...
org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/
String;Ljava/lang/Class;)I
java.lang.NoSuchMethodError:
org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lan
|
1/29/2010 4:16:22 PM
|
1
|
laredotornado <laredotorn...@zipmail.com>
|
Save xls file as blob to db ?
Can someone post me link for some example regarding the topic ? I wan't to
do it via hibernate.
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4817 (20100129) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
|
1/29/2010 11:59:50 AM
|
2
|
"tomo" <t...@tomo.net>
|
JNI crash Java and generates strange file - hs_err_pidxxx.log
Hello,
I have developed windows application that calls java application using
JNI. During this procedure application crashes and hs_err_pidxxx.log
(xxx- any numbers) file is generated. I don't know from which part I
should look for problem? Is it bug in windows or java application?
Thank You
|
1/29/2010 11:27:38 AM
|
2
|
column <column.col...@gmail.com>
|
Read utf-8 file return utf-16 coding hex string ?
Hi All
Why using utf-8, the hex value return 51cc and 6668 ?
od -cx utf8_file01.text
22e5 878c e699 a822 with " befor and after
http://www.fileformat.info/info/unicode/char/51cc/index.htm
http://www.fileformat.info/info/unicode/char/6668/index.htm
Output
......
101 ? 20940 HEX=51cc BIN=101000111001100
102 ? 26216 HEX=6668 BIN=110011001101000
Java program
import java.nio.charset.Charset ;
import java.io.*;
import java.lang.String.*;
import java.lang.Integer.*;
public class read_utf_line {
public static void main(String[] args) {
File aFile = new File("ut
|
1/29/2010 7:40:07 AM
|
19
|
moonhkt <moon...@gmail.com>
|
Why does this generic method need a cast on the return value?
I'm constructing a generic method with a couple of type parameters,
and the method returns an instance of one of them. The function
parameters provided should allow the type parameters to be
determined. I've gotten all compile errors out of the generic method,
but I'm confused by what happens when I call the method. Eclipse
seems to think the method returns "Object", so it says it can't
convert the response without a cast.
The following is a very simplified version of my class, just to
demonstrate the problem. Note that I have two generic methods and
calls to them, one of them t
|
1/28/2010 11:04:48 PM
|
0
|
"david.karr" <davidmichaelk...@gmail.com>
|
Java class for data type mapper?
I'm sure someone has this. Need to map data types from all the various
dbs. I can reverse it out of the Postgresql doc but does anyone at
least have a better doc; for I'd have to look up each sqltype
definition from the vendor jdbc classes. http://www.ispirer.com/wiki/sqlways/postgresql/data-types
We need Java code, not a tool. Maybe this mapping exists inside some
ETL open source tool already?
Thanks in advance for any pointers or suggestions,
TimJowers
|
1/28/2010 8:12:13 PM
|
6
|
New Java 456 <newjava...@gmail.com>
|
jsp/servlet target
Hello, in a JSP, I would like that my form call a servlet and then
refresh current page. What is the best way to do that ? Should I use
the form "target" field an how ? should I add parameter to my form or
hardly code in my servlet the forwarded page ?
Thanks a lot.
|
1/28/2010 1:53:11 PM
|
1
|
Pif <fjs...@laposte.net>
|
DSP in Java
I'm looking into the possibility of writing a Third Octave equalizer in
Java, with the following features.
SPDIF in, followed by EQ, then spdif out. Can Java do the i/o?
Are there suitable DSP libraries available?
--
Dirk
http://www.transcendence.me.uk/ - Transcendence UK
http://www.theconsensus.org/ - A UK political party
http://www.blogtalkradio.com/onetribe - Occult Talk Show
|
1/28/2010 12:20:20 PM
|
1
|
Dirk Bruere at NeoPax <dirk.bru...@gmail.com>
|
Java Goldmine has been updated: http://preciseinfo.org/Convert/index_Convert_Java.html
Good news:
Site search has been fully implemented.
You can search the entire Java collection or a single chapter
related to specific context to find what you are looking for.
Bad news:
We are currently out of sync with google.
So, if you do a google search you might see a different article
than what google shows.
Java Goldmine collection contains the extensive collection of articles
going back several years. It includes thousands of code
examples and expert discussions on all major topics.
The information is organized by relevant topics, covered
>by the corresponding ch
|
1/28/2010 2:41:23 AM
|
0
|
ta...@mongo.net (tanix)
|
Code and Creation 69647
This is a free and informational site I created for application development and application development source on the net. Enjoy, and it's free, nothing to register oir sign up for just an informational site.
http://codeandcreation.com
U@LV!Dt>s)>*uO?A@U$zldT^*
|
1/28/2010 12:53:34 AM
|
1
|
Virgina Hernandez<gh...@yahoo.com>
|
Any ideas how to avoid this code checker error?
Hi,
I'm using Java 1.5 on a Resin 3.0.19 web/app server. I'm using PMD as
the code-checker, and in an EJB, it is complaining about
public List<SubvendorCustomerRecord> getSubvendorCustomerReport(
final Integer subvendorId) throws RemoteException {
List<SubvendorCustomerRecord> results = new
ArrayList<SubvendorCustomerRecord>();
try {
AbstractReport report = new SubvendorCustomerReport(subvendorId);
results.addAll( report.getReportData() );
} catch (Exception e) {
LOG.error(e.getMessage(), e);
throw new RemoteException(e.getMessage());
}
return resul
|
1/27/2010 10:55:12 PM
|
35
|
laredotornado <laredotorn...@zipmail.com>
|
Can Someone please help me with my Computer stuff? 38889
I use the computer and the Net on a regular basis but I don't know a whole lot about it all, especially when it gets technical. I have an Acer Aspire AM5100-U5300A. I would like to speed this computer up, I would like a very good grasphics card without spending a fortune. Once I find out what I need I willo just go to ebay but I don't know what kind of meory, cards and such are compaitble with my machine. Help please.
Virgina
ghtpl@yahoo.com
http://ipods-imacs.com
DqWx/LComA&gS/D_)viG/l*mi
|
1/27/2010 8:58:27 PM
|
0
|
Virgina Hernandez<gh...@yahoo.com>
|
ZipInputStream bug
I was going to make a farm of data files that mostly contain
bytes, but I wanted to make it possible to store 32-bit ints
just in case. So I tried to use zip-encoding to make the
sizes smaller in the usual case. Unfortunately, *some* of the
data files don't read back correctly.
Here is an example of a 4096-byte file that writes correctly
with ZipOutputStream, but does not read back correctly with
ZipInputStream. If I manually extract the zipped file, the
data is correct.
Is anyone maintaining the Zip utilities?
Dan Hoey
haoyuep at aol.com
============================> cut
|
1/27/2010 6:44:04 PM
|
3
|
Dan Hoey <haoy...@aol.com>
|
ANN: GR8 in the US CFP ending 05.Feb.2010
If you wish to submit a presentation, go to http://www.gr8conf.org/proposal/create.
GR8 in the US is a one day conference dedicated to the software
language Groovy, software development frameworks Grails and Griffon,
and related technology. It will be held April 16th, 2010 at the
Holiday Inn Bloomington I-35W, 1201 West 94th Street, Bloomington, MN
55431. Guillaume Laforge is the Groovy project lead and co-author of
"Groovy in Action" will be the keynote speaker. Venkat Subramaniam,
founder of Agile Developer and author or co-author of the books ".NET
Gotchas" (O'Reilly), "Practices
|
1/27/2010 6:04:17 PM
|
0
|
bill turner <goo...@changent.com>
|
How to make CORBA pick the appropriate Proxy?
Starting out from an ior String, the app does essentially that:
- ORB orb = org.omg.CORBA.ORB.init(
new String[0], java.util.Properties() );
- org.omg.CORBA.Object servObj =
orb.string_to_object( ior );
- factoryInst = SomeFactoryHelper.narrow ( servObj );
(plus lots of null-checks, and enclosing try-catch.)
We use JacORB, and the problem is, that it isn't aware
of the proxy that is configured with the browser.
The application runs with webstart, and both the hosting website,
the jnlp document and the jars named therein are successfully
retrieved through t
|
1/27/2010 3:29:28 PM
|
1
|
Andreas Leitgeb <...@gamma.logic.tuwien.ac.at>
|
getResourceAsStream() problem
Hello, I have a problem with getResourceAsStream().
I'm using these tools: Eclipse JEE edition version 3.5.1 with the Apache
CXF plugin and Apache Tomcat version 6.0.20. Java is version 6. This is
under Windows.
I've written a very simple JAX-WS web service, here's the complete code:
package bioweb;
import java.rmi.Remote;
import java.rmi.RemoteException;
import javax.jws.WebMethod;
import javax.jws.WebService;
@WebService(name="BioWebInterface", targetNamespace="http://bioweb/")
public interface BioWebInterface extends Remote {
@WebMethod(operationName="sayHello
|
1/27/2010 3:02:08 PM
|
19
|
Fencer <no.i.d...@want.mail.from.spammers.com>
|
Read utf-8 char one by one
Hi All
how to read utf-8 char one by one ?
Below not work.
import java.nio.charset.Charset ;
import java.io.*;
import java.lang.String;
public class read_utf_char {
public static void main(String[] args) {
File aFile = new File("utf8_test.text");
try {
String str = "";
char[] ch = new char[];
BufferedReader in = new BufferedReader(
new InputStreamReader(new FileInputStream(aFile), "UTF8"));
while ( in.read(ch) != -1 )
{
System.out.print(ch);
}
} catch (UnsupportedEncodingException e) {
} catch (IOException e) {
}
|
1/27/2010 8:56:45 AM
|
13
|
moonhkt <moon...@gmail.com>
|
How to get an include-path of jni.h that is able to be different on different platforms.
Hi,
Now, I am trying to get an include-path of jni.h file to use in my
Makefile.
However, there is some difficult thing for me because the absolute
path of the header file is different according to platforms.
in case of linux
$JAVA_HOME/include/linux
in case of macos
$JAVA_HOME/Headers/
in case of solaris
$JAVA_HOME/include
...... all different..
So....
Is there any simple way to know an absolute path of the header file in
Makefile?
thanks...
|
1/27/2010 6:21:02 AM
|
2
|
junyoung <juneng...@gmail.com>
|
split UTF-8 string to multi UTF8-file
Hi All
I have one utf-8, I want split input file into multi UTF-8. Can I
using str.substring to extract string ? When input file have BOM code,
how to remove the BOM code ?
import java.nio.charset.Charset ;
import java.io.*;
import java.lang.String;
public class read_utf {
public static void main(String[] args) {
File aFile = new File("input.txt");
File oFileDetail = new File("input_det.html");
File oFileHeader = new File("input_hdr.html");
File oFileSKU = new File("input_sku.html");
try {
System.out.println("Header");
System.out.println("Detail");
System.out.pr
|
1/26/2010 2:13:45 PM
|
2
|
moonhkt <moon...@gmail.com>
|
ZipOutputStream
ZipOutputStream: if I put an uncompressed file named "mimetype" into
the zip and the content of the file is "application/html+zip", there
are 5 bytes between the filename and the content:
01 14 00 EB FF
Normally (in Winzip), uncompressed content immediately follows the
filename, shows WinZIP. What are those 5 bytes for and how can I do
things the WinZIP way ?
In other words, I want to get rid of those 5 bytes when building my
ZIP file.
Is there some setting for this in the class ?
|
1/25/2010 10:16:18 PM
|
14
|
Erik <e...@hotmail.com>
|
Using browser's proxy-settings from a javaws-app?
I've got an application running with javaws. The server is behind
a socks proxy (which is configured in firefox, and the hosting
website works fine).
JavaWS (per ControlPanel) is configured to use the browser's proxy-
settings and successfully downloads all the .jar-files mentioned in
the jnlp-document.
The application itself attempts to open a corba connection to the
server (the same one that served the jnlp and the jar files), but for
some reasons it does not use the proxy-settings, but instead tries
to reach the server directly and fails.
The application code seems to us
|
1/25/2010 8:25:44 PM
|
0
|
Andreas Leitgeb <...@gamma.logic.tuwien.ac.at>
|
Java 1.5_22 crash my server, please for help
Hi,
I've got Java 1.5_22 with tomcat 6 on centos 32bit.
After one day, two days of working in production, my server crash with
the error:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xb7962d4f, pid=3307, tid=1355598736
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_22-b03 mixed mode)
# Problematic frame:
# V [libjvm.so+0x402d4f]
#
# An error report file with more information is saved as
hs_err_pid3307.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
|
1/25/2010 5:26:42 PM
|
16
|
Sherkan <grze...@gmail.com>
|