Hi,
I am writting a web application in JSP. In which I have to convert documents to PDF as a part of it.
For this I'm using Runtime class to execute my command,but there is no action from the JSP.
My code is:
Java Code:
<%@ page import="java.io.*,java.uti.*"%>
<%@ include file="./validation.jsp"%>
<%
	String firno="C:\\Program Files\\Apache Software Foundation\\Tomcat 5.5\\webapps\\NewFir\\Reports\\DURABILITY\\X3/2009\\1\\1.doc";
	
	String s = "C:\\Program Files\\PDFCreator\\PDFCreator.exe /NOSTART /PF\""+firno+"\"";
	try{
	Process p = Runtime.getRuntime().exec(s);
	}catch(Exception e){}
	//out.println("Files converted");
%>
File Converted <%=firno%>
Please tell me where i'm going wrong.
If I run it thru cmd it works fine.