Hi All,
I have a requirement to obtain the current date/time, and the date/time 5 mins from now. I can successfully do this using a Calendar, however the API that I am calling requires the ...
Can anyone help where I can get the tutorial or documentation on pega systems?
I am trying to find a ReadToEnd function to remove special characters (carriage returns) from a file. Please review code and provide input. Thanks in advance.
Explanation of Code:
1) The a...
Hi,
Can anyone assist me to convert a date (PST) that is read from Oracle db to user's local time? For instance when PST is 22 Dec 2008, CST(china) is 23 Dec 2008.
Things are working f...
I'm creating a java web service using axis 1.4. I've already generated a client and service from a 3rd party provided wsdl.
The 3rd party server requires authentication and I have their ce...
Hi guys
I am making a web album using asp. When the user clicks on a picture it activates the lightbox script and the picture pops up. (you can see what I mean on the examples of the official...
Hi
In my project it is a requirement of capturing binary data of an image. To get image header and the body content.
thanks 4 replay........
Hi. I'm using Windows XP,
and develop a Java program using org.eclipse.swt.browser.Browser.
In normal, the Browser class uses Internet Explorer as a rendering engine
(I checked it by show...
How do I convert an int to an IP address in Java.
In C, if I was receiving an IP as int32, I could use inet_ntoa() to convert from integer to IP and htonl() ntohl() to convert from HBO to N...
I am getting
org.hibernate.SessionException: Session is closed!
exception while executing following method.
Thanks for suggestion.
I am new to working with MQ Series programming. I need to hava java program put a message on an mq series queue and then retrieve the answer off of another queue. To set up parameters for the...
Hi experts.
I need to generate some test data for an experiment im doing. The following explanation of what im trying to do is very abstract, I just need to get a simple algorithm working i...
Hello,
I'm writing a Java app in which the code runs an executable, and I keep running into a catch-22.
The result of running the executable is that it produces a text file.
My catch...
I am interested in converting a Hex String to a byte Array, and having a method that will always work even if the size of the byte array needed isn't known.
There's a great answer if I want...
I am getting following error while running the code below. Any help would be appreciated.
java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Unknown Source)
at j...
Hi,
I need to get the value of an environment variable in Java.
It crashes as soon as I call the function System.getenv() ...
Map map = System.getenv();
It doesn't even throw an e...
Hi All,
I am using apache commons api to upload a local .txt file on the server, file is a bit bigger on size (some 200 MB), I get this "Read time out" exception number of times. Sometimes i ...
Can we convert String Array (which is having numbers only in the string form) in Java to int Array... Is this possible.??
I want to convert a String Array into an int Array???
I want to know if there any code in J2ME that can get the GSM tower info. like channels of the GSM tower and the distance between the tower and my nokia phone and more info. about it ;
as i ...
I want to upload images to a directory where tomcat server is installed. I want to get the path of webserver. Can it be got by using a relative path.? I am using firefox 3 and java on Eclipde ...
I am using the following code to bring the JFrame to front and to set focus in the frame. This code does not work consistently.
I have tried to use different exceptions and have had trouble getting them to work. I am new to Java and this is my second class. I have finally figured out how to get my program in a GUI and ...
HI experts,
I am trying to run a query on my DB using the following code and its throwing an error saying, Expect DATE got NUMBER.
how to fix this issue?
1) I have installed Apache Tomcat server.
2) Installed JSSE security
4) Uncomment SSL block in server.xml (port=8443)
3) Made keystore with "keytool -genkey -alias tomcat -keyalg RSA"
4)...
I got the following error messages after I ran my ssl java program. Any suggestions?
Thanks for your help in advance!
----------------------------------------------------------------------...