Hi All,
I have recently used POI 3.0.1 for generating the Excel Sheet from a Java Program. Now I am supposed to create Excel Charts using this framework.
I have searched internet but co...
I'm trying to find the best way, in term of performance, to get a number of days between two dates with saturday & sunday excluded.
Currently, I have one to loop through all days between them...
Hi,
using tomcat, soap to write small application. below is some code snippet. what is 'SOAPAction' ?
code snippet:
Call call = baseServiceAxisImpl.startServiceCall( endpoint ...
Passing parameters from the command line to your ant build file.
You can pass parameters from the command line to your ant build file by using properties.
Using ant -Dname=value lets you d...
Is there an easy way to do this (using 1.4) ?
thank u.
When using JDBC PreparedStatements, binding variables are very simple to assign to each "?" in a SQL statement.
How does one assign binding variables to a SQL statement within an "IN" claus...
I'm having trouble reading certain 8-bit ASCII characters from a VARCHAR field in one table and writing it back to another table (eg. ASCII 0xFD int/253 TM "trademark" & 0xF9 int/249 "bullet")...
Hello experts,
I have a circle plotted in x,y coordinates. The center is at (14,5) with a radius of 5.
I have a point (*) at (16,6). I need a formula to determine the x,y coordinates ...
Hello,
I'm building an AJAX file uploader which uses JDBC/MySQL on the server-side, together with the Apache Commons FileUpload API.
In order to write to the database, I need the upload ...
Hello,
What's the difference between a Vector and, say an Array list?
They seem to do similar tasks, but I'm not sure when I'd use one, as apposed to another.
Any comments/answers wou...
I am newbie to JAVA
I need to maintain a list of UNIQUE connected usernames. I guess something like this snippet:
users = new something; // array ? Lists ? Iterator ?
function check_us...
Hi, all
I am creating a web site with JSP. Could you please tell me how to generate a random string which consists of any number or any characters (1-9 or a-z or A-Z). Thanks.
I need to get the process id of a java program being currently run and output that process id to the screen. This code must work in Unix and Windows NT4.
are there any publicly available cl...
Hi,
I am trying to add a string array to a string arrayList but having no success.
String[] tempArray; //6 elements
ArrayList <String> mainArrayList = new ArrayList <String> ();
Can...
Hi All,
I am doing the following:
Runtime.getRuntime().exec ( "cmd.exe /C start C:/lxf/ipssources/bin/integrate/covenant.bat" ) ;
Cmd pops up and I do not want it like that I want cmd t...
i m trying to implement connection pooling in my application the configuration description is
my apploication web.xml
<resource-ref>
<description>Oracle Datasource example</description...
Hi Experts
I want to checkout project from cvs with ant.
I wrote script that works good with pserver connection, but it doesn't work with extssh connection ...
this is mylogin task
<t...
BigDecimal big = new BigDecimal("12345678987654321.12345");
how to format it to 12345678987654321.1234
I am beginner and I would like to create a connection to ms sql server and I have an Error Message: java.sql.SQLException: No suitable driver found for jdbc:microsoft:sqlserver://192.168.1.251...
Hello,
how do I add JButton JTable cells.
I have created a default model. I pass Object data[ ][ ] and Object column[ ].
I have 5 columns. Out of 5 columns, 4 columns contain string value a...
I have a JAVA program with JButtons on a panel.
Long story short, the program does quick calculation and then moves a graphic object. If I let the program run full speed, it makes all its ...
Difference between Map and Set
Hi,
I created a Web Service Client (type java) from an wsdl using RAD 6
Now, I created a class that can use the web service successfully.
This web service is for sending email notific...
how to call java method in jsp page - the input field
eg : <td>><input type="text" name="rec_qty" onchange="???"></td>
hi there..
I have no knowledge of java programming (lets make that clear from the outset :).
I've been told to change this file:
log4j.rootLogger=debug, stdout, file
log4j.appender...