RE: API for running JSP

2008-04-15 Thread Yair Ben-Meir
Well, I found a solution: String path = "C:\\Program Files\\tomcat6"; Embedded embedded = new Embedded(); embedded.setCatalinaBase(path); embedded.setCatalinaHome("C:\\Program Fi

API for running JSP

2008-04-13 Thread Yair Ben-Meir
Hi I m looking for a way to run a JSP by an API from my code, instead of sending an HTTP request to a server. That means that I m not going to start tomcat, and instead just use Tomcat's classes to run a JSP from my (desktop) application, as if surfing to it. Is there way to do this? Thanks Yai