ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have this small web app........ it consists of some jsp's, java classes and the usual web.xml.
Since I'm using struts, I also include the struts-config.xml
I developed it in my computer, using tomcat and mySql. So it works fine in my computer (I didn't manage to get the app.war but it works fine with the normal directory structure of a web app).
I was a school project but I was wondering, what if I did want to deploy it in a "real" server??? what do I really need the server to have??
can I deploy it in let's say... geocities or something like that, maybe even on IIS?
are there any changes that most be done in any xml file?
Your web app doesn't need to be in a war file, as long as it has the correct directory structure. In fact, tomcat "unwar" the files in the directory structure before it can run your app.
You need a java container suchs as tomcat to host your app, you won't be able to deploy on geocities. As far as I know, the last place you can run your java app is MS IIS.
yeah, that'd be ironic to run jsp on IIS, but what I meant was that if there's some compatibility.... I see there's not, and I need a container........ mmm are there free servers out there (or not free) that will offer me that? or is there the need to translate my code into php (or write it in php in the first place)
I doubt you'll be able to find a free one like geocities or tripod to let you run jsp's.
You best bet would be to get yourself your own domain ( $12.95 USD / Year at http://www.domainsatcost.ca ), and using a free DNS service like http://www.afraid.org you can quickly set up your own server at home even if you have a dynamic IP address.
There are far fewer web hosting companies that allow JSP than PHP, and usually more expensive. But I personally would stick with JSP, to me it is more flexible and more powerful, so I'd hate to see you starting porting to PHP
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.