Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested Java Solutions: 4001 - 4025 of 9956
 
This code works with locale US but gives java.text.ParseException: Unparseable date in French and other locales. String sDate= "Nov 12, 2007"; DateFormat df = new SimpleDateFormat("MMM d, ...
I am using Apache commons HTTPClient 3 for file upload from a stand alone java client to servlet. How can I use authentication with domain username & password. for example: host : 192.168.2...
im playing about with the system tray functionality example from the web.  it is possible to display a ballon message the icon is added to the tray?  I havent found an examples yet. i trie...
Dear java programmers,j I am new to Voip/Sip and i want to build desktop Voip Telephony application and using the asterisk server for that i found using asterisk-java , jain-sip are the suit...
For one of the projects I suggested Display Tag ( http://displaytag.sourceforge.net/11/ )for generating the table based on the java bean. Please share you personal experiences and feed back or...
Hi, Actually I have objects of type inputstream, outputstream  as shown in code below: OutputStream raw = new BufferedOutputStream(connection.getOutputStream( ));          Writer out = ne...
Hi, I`m using a pretty bog standard jFileChooser.showSaveDialog() method to save files from the "text editor" I am developing as a project.  What I am looking to add to this jFileChooser.sh...
I need a java api that I can use to convert Word Documents to PDF on the fly.  I don't want to use POI or IText because I need it to support complex tables.   Thanks
I'm trying to get a servlet working to product Jasper Reports using Tomcat.  I have the compiled Jasper report already created and am trying to get the report to be output as a PDF file. I kee...
Hi, I want to fetch unique rows using Criteria API in hibernate. Is there any way I can do that? Pls let me know if there is an example for this. Thanks
objects, might you be monitoring this site at; Australia Current Time: Saturday, February 03, 2007 8:16:55 PM I am hoping that you might be. Question: If junit comes bundled with Eclipse,...
I want to install a j2me application on nokia 6230i. The application comprises two files. application.jad application.jar have no clue to how to go about it? can you guys help
I want to use LinkedList in java to store a set of integer. However for a 1 LinkedList the effeciency of the data structure not so great. Therefore i want to split the LinkedList Belo...
hi, Why my javamail attachment not working. Even thought I'm getting email but no attachement. I tried to hard code the file path but still no use... .... String fileName = "c:/abc/te...
I have a method which iterates over result set. If the resultset fetchsize is increased to 2000, the method takes less time, so I wondered : If the result set is 80 and I had a fetch si...
what is difference between  JAX-RPC and the provider defined in wsdd in axis?? <service name="EmpTest" provider="java:RPC" style="rpc" use="encoded">
I am copying a file using this code: FileChannel in = null, out = null;                 in = new FileInputStream(aFile).getChannel();                 out = new FileOutputStream(rootPath +...
I want to make an HTTP connection and just change the HTTP_REFERER and HTTP_USER_AGENT here is my code    URLConnection con = url.openConnection();    con.setRequestProperty("HTTP_REFERER",...
i have this: String [] data_array = request.getParameterValues("name"); //i need to add more item inside, thus, i change it to List List data_list = new ArrayList(data_array); for ...
I am developing MIDlet application using mobile to send an email. I found some source codes in some web site they are using java.net.InetAddress But I got complication error as I need to a...
I want to know if I have a PGP key is there a Java Library or how would I use PGP in side Java to encrypt a file. Thanks :) Db
This may be something really simple, but eclipse won't recognize classpaths.   I get a no class def found error at lib.dir.  I can prove that the correct jar exists. Is there a trick?  or a c...
Hi, I am calling an oracle function using following code: ------------------ CallableStatement cs = connection.prepareCall("?= {call fn_test_valid(?,?)}"); cs.registerOutParameter(1, Typ...
I have a hashmap and I have put some values and keys. HashMap Map = new HashMap(); Map.put("key1","1"); Map.put("key2","2"); Map.put("Key3","3"); Would somebody please tell me how can...
Hi, I use DispatchAction with the parameter "submit". When the module is called the first time, the URL is like this /action.do"submit=init. This works well. Once inside the application, user...