Bad idea. What are you trying to achieve? Even if you do that, by calling main() as any other arbitrary method, or by invoking Runtime or something, What you will achieve is a program running on server. What the client would do with that.
JSP/Servlet/Java Web programming is a request/response based stuff.
If you want to compute something using that program and planning to use the output as a response. Then why not include that particular piece as business component or something and call that in a usual way. May be in a separate thread, if its a long process, let the user interact with the application and notify user once it is done.