Search:
Type: Posts; User: sbutt
Search: Search took 0.06 seconds.
- 09-26-2012, 10:06 AM
Thread: Java send mail error on Linux
by sbutt- Replies
- 4
- Views
- 518
Re: Java send mail error on Linux My code throws no exception.
- 09-25-2012, 05:36 PM
Thread: Java send mail error on Linux
by sbutt- Replies
- 4
- Views
- 518
Java send mail error on Linux Hi All,
I have a simple java program that sends an email.
public void sendMail(String content, String date) {
try {
boolean debug = false; - 09-25-2012, 05:29 PM
- Replies
- 5
- Views
- 2,196
Re: JDBC Connect problem on Linux: com.mysql.jdbc.Driver I fianlly managed to resolve that problem by setting the class path in /etc/profile file:
export PATH
JAVA_HOME="/usr/lib/java"
export JAVA_HOME
... - 09-25-2012, 01:09 PM
- Replies
- 5
- Views
- 2,196
Re: JDBC Connect problem on Linux: com.mysql.jdbc.Driver I tried both:
root@HH-Linux1:/opt/integra/middleware/LCPAnalyzer/src# java -cp /opt/integra/middleware/LCPAnalyzer/src/mysql-connector-java-5.1.22-bin.jar;. LCPAnalyzer
Usage: java... - 09-25-2012, 12:30 PM
- Replies
- 5
- Views
- 2,196
JDBC Connect problem on Linux: com.mysql.jdbc.Driver Hi All,
I have a simple java application which reads data from the DB. The application works fine on windows. I have added the 'mysql-connector-java-5.1.22-bin.jar' in my windows classpath.... - 09-24-2012, 05:37 PM
Thread: Java file creation on Linux
by sbutt- Replies
- 4
- Views
- 335
Re: Java file creation on Linux It shows no output on my putty console after i do: java FileTest
import java.io.File;
import java.io.FileOutputStream;
import java.io.PrintStream;
public class FileTest { - 09-24-2012, 05:01 PM
Thread: Java file creation on Linux
by sbutt- Replies
- 4
- Views
- 335
Java file creation on Linux Hi All,
It is actually a very simple problem but i can't get through with it.
I am trying to create a simple txt or html file in my java program. It works fine but on my local windows... - 07-11-2012, 11:14 AM
Thread: xml encoding problem.
by sbutt- Replies
- 0
- Views
- 470
xml encoding problem. Hi All,
I am trying to embedd an xml response string as CData inside an XML tree. The main XML tree is not in my control to create or change. I just have a class object where i am just... - 07-04-2012, 03:44 PM
Thread: calling EJB method
by sbutt- Replies
- 1
- Views
- 516
calling EJB method Hi All,
I have never worked with EJBs so I am kind of stuck with one problem.
I have to make use of one existing EJB project through my external standard java class. The existing EJB... - 07-04-2012, 03:32 PM
Thread: calling EJB method
by sbutt- Replies
- 0
- Views
- 438
calling EJB method Hi All,
I have never worked with EJBs so I am kind of stuck with one problem.
I have to make use of one existing EJB project through my external standard java class. The existing EJB... - 06-27-2012, 06:13 PM
Thread: How to put XML data inside CData
by sbutt- Replies
- 0
- Views
- 699
How to put XML data inside CData Hi All,
I have a string which is infact an xml data. I want to put this xml data inside a cdata and then set it in my main xml tree:
Currently, when i set my xml data into my main xml... - 04-04-2012, 04:35 PM
- Replies
- 0
- Views
- 432
Extraction of CData Part and later its embedding Hi All,
Could someone please help me figure out how I can extract from my xml the CData part, which is also an xml. Once I have the CData xml, I will then apply some xslt script on it and... - 10-25-2011, 06:04 PM
Thread: converting simple C code to Java
by sbutt- Replies
- 4
- Views
- 330
Re: converting simple C code to Java i think it is better to write a simple java program instead of decoding this C code. But thanks anyway.
- 10-25-2011, 04:17 PM
Thread: converting simple C code to Java
by sbutt- Replies
- 4
- Views
- 330
converting simple C code to Java Hi People,
I am new to C programming and have very little idea on how to convert this following C code to Java:
* (DWORD *) roomcode = * (DWORD *) (roomcode + 1) +... - 07-15-2011, 03:41 PM
Thread: file not found error
by sbutt- Replies
- 3
- Views
- 831
this finally worked...
String filePath =... this finally worked...
String filePath = "/META-INF/airlineBaggage/ypsilonBaggage.xml";
String url = Thread.currentThread().getContextClassLoader().getResource(filePath ).getFile();
... - 07-15-2011, 11:39 AM
Thread: file not found error
by sbutt- Replies
- 3
- Views
- 831
tried this
filePath =... tried this
filePath = "ypsilonBaggage.xml"
private static String readFileAsString(String filePath)
{
//File file = new File(filePath); - 07-14-2011, 06:50 PM
Thread: file not found error
by sbutt- Replies
- 3
- Views
- 831
file not found error Hi All,
This is somehow a very basic question, but surprisingly I am stuck in it:(
I am getting this exception:
[AirlineBaggageReader] Error:java.io.FileNotFoundException:....
I am... - 04-20-2009, 06:26 PM
- Replies
- 0
- Views
- 3,623
Maven plugin for eclipse + "Updating Maven Dependencies" problem?? I'm new to ESB + Maven with Eclipse world so please help me resolve this problem. I have imported an ESB project (General->existing project to work space), but after loading eclipse starts Updating...
Results 1 to 18 of 18



License4J 4.0
Yesterday, 12:23 AM in Java Software