Author: superwong2007 | Posted on: 11/21/2008 1:15:05 AM | Views : 1137

First of all I have to thx your time to reply me email. Here is my status, I made a console application to execute a batch file, and the batch file will run a java program to do something. I ran the console application in Server machine, everything run as desire. However, when i try to use System.Diagnostic.Process in my web application, it throw this error  java.lang.NoClassDefFoundError: javax/activation/DataSource
Exception in thread "main" I wonder what is the Problem in my code. How come is work prefertly, if I execute the console application in server machine directly. However, it didn't work when it run in web application.The following is the code which i used to call the Process 1 ProcessStartInfo psi = new ProcessStartInfo(str + ...

Go to the complete details ...