views:

79

answers:

3

Is it possible to build a .dll created from a class library in ASP.NET and use it's functionality on a .jsp page? I know how to create the .dll, but I am not very familiar with .jsp pages.

If you could provide an example of the entire .jsp page, that would be great. Thanks!

Edit: I guess what I'm trying to say is that I made a new project in Visual Studio (a class library) that has one public function (returns a string) and when it is compiled, it creates a .dll. I would like to use that .dll on a .jsp page.

A: 

Java and ASP.NET don't work together in this case.

You could make a ASP.NET webservice and consume that from your jsp site.

ZippyV
They certainly can work together in this case without resorting to a web service.
Clay Fowler
If you want to pay a lot of money for it.
ZippyV
A: 

You can use jnbridge to use the class library from jsp. See www.jnbridge.com.

Clay Fowler
A: 

There is mainsoft grasshopper, which is a .NET runtime for a Java Servlet container.

Brian Reiter