• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP web Hosting  RSS feed

 
Irwin Raja
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have developed my jsp website and bought both domain and hosting server.
Now, I'm not sure how to upload my website and how to make it work.. Please someone help me so that I can host my new Website and it can be active.. :(
 
Saif Asif
Ranch Hand
Posts: 440
Eclipse IDE Hibernate Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings Irwin,

Now, I'm not sure how to upload my website and how to make it work

Didnt you host it on your local tomcat machine ever ? Am sure you must have been testing it on some web-server. The same process applies to remote servers.
Well first check to see if you have ssh access to your hosting server or they have some cpanel type application to upload your files and folders to the server. If you have an ssh access ( most java web-hosters do provide ssh access ) , then just simply copy your files from your local pc to the remote web-server.
If you are on Windows environment, then use putty to send the files. Or if you are on Linux , then just simply "scp" command will do the trick.
 
Irwin Raja
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey. Thanks for the effort.. I have tested the website on my local machine, using both netbeans glassfish and tomcat. I tried to upload using FileZilla tool. But it doesn't displays the web page that is supposed to be shown, instead it displays the code of the page.
Something is wrong somewhere and I'm not able to figure it out.. Please help.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be contacting customer support for the hosting site. How are we supposed to know how they want you to deploy your apps?
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In addition to what Bear said, you must know where to upload the files for the container to find them, how your app is configured and things like that.
Also if it is displaying the source code of your page, then I think there is a chance that you don't have a servlet/JSP container there. Even there is a worst case possibility that your JSP is renamed to some other extension like .txt.
 
K. Gil
Ranch Hand
Posts: 75
Java Linux Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
then I think there is a chance that you don't have a servlet/JSP container there


or something wrong with apache / tomcat mapping.

If that's shared hosting with cPanel and shared tomcat, then usual case is that mapping is set to *.jsp so that mod_jk or mod_rewrite redirect these requests to tomcat. If that's private tomcat account, then most of hosts redirect 100% requests to tomcat, just exclude whatever you want to be excluded.

Anyway, whatever it is, I would suggest to contact your host, after all it's a problem on their side, and something you pay for (support).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!