This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes  Struts & IIS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark " Struts & IIS" Watch " Struts & IIS" New topic

Struts & IIS

Gaurav Pawar
Ranch Hand

Joined: Sep 12, 2006
Posts: 37
Hi all,
I have a struts application whose (MODEL) bean loads a dll (a JNI program). This works fine with TOmcat setup on Windows Machine!!!

Now i need to deploy the application on a linux server. THis would eventually create a problem for my DLL to load and execute!!!

Can i use Struts with IIS? (i can use windows server then!!)

If yes then can anyone please forward me articles/references to do so.

If not how do i get the DLL working on my Linux machine ?

Gaurav Pawar
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Struts runs under a Java Application Server. While A Struts application works just fine with an IIS webserver forwarding to a Java Application server, it will not work with IIS alone.

Furthermore, a DLL will not run on Linux. End of conversation. If you want your application to work on linux, you will either have to rewrite the dll code in Java, or compile the code in the dll into a .so file usable on Linux.
[ November 06, 2006: Message edited by: Merrill Higginson ]

Consultant, Sima Solutions
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Struts & IIS
It's not a secret anymore!