• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

how to run jsp files in godaddy server

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi....all

how to enable java in godaddy server,actually i have created small application in java and tested it locally,but when i tried to run the same application in godaddy server the output is not produce by the server ,den i made simple jsp program as

<html>
<head>
<body>
<h1>first page</h1>
</body>
</head>
</html>

and saved it as new.jsp and tries to run it but i get the strange output..i.e the code itself as output.

i have already posted my queries in godaddys server but i need the answers ASAP.

so,can anyone tellme what is wrong in that,and give the solution to my queries.

1.where can we find the webapps folder in godaddy server?
2.how to enable java in my hosting account?
3.can i have access to the webapps folder of godaddy server?


Regards,
Vikas Malviya



 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe you have to have a dedicated hosted server with Tomcat running. I was just looking into this too. I however knew that I needed a Container like Tomcat running before sticking a .jsp page up on the server.
I am trying to find out if Tomcat can be started on a Virtual Hosted Account.

I hope this helps...
 
Steve Hunt
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did more reading on this and did find that you can (even on a virtual hosted server) turn on Tomcat and run JPS and Servlets. There are complications at times, like having to wait 24hrs for your war files to show up, but it can be done.
Here is a helpful link that I found: http://mail-archives.apache.org/mod_mbox/tomcat-users/200905.mbox/%3C269849.169.qm@web33303.mail.mud.yahoo.com%3E
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!