This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark " Struts & IIS" Watch " Struts & IIS" New topic
Author

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 ?

Regards,
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 ]

Merrill
Consultant, Sima Solutions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts & IIS