I have a website developed mostly in HTML and JSP, and accessing a MySQL database. Having never put such a website online before, I wanted to know what are the steps needed to get it up and running online. I know there needs to be a web server. How do I host a JSP website online?
相关问题
- Web server farms with IIS ? Basic Infos [closed]
- #{facesContext} EL expression not resolved at runt
- jsp caching tag library
- Using WebStorm with Parse.com
- JSP template implementation (Composite View Patter
相关文章
- jsp里面的画布功能,为什么会出错?求大佬找下问题
- WebService 启动调试后,能成功调用函数,但断点进不去任何方法
- JSP String formatting Truncate
- Forward request from servlet to jsp
- Comparing string and boolean in Expression languag
- Passing a Java object value in Custom JSP tag
- Passing a enum value as a tag attribute in JSP
- Using the PHP built-in server in production
You want to install the web server yourself, or you want pay for a java host?
Between the files, there is a web.xml file (probably in the WEB-INF folder). You need to take a look at it, it contains the webapp configuration. You also need to find out where the database configuration parameters are located. Once you’ve configured the webapp for its new hosting environment, you can just copy it to the webserver. It should automatically load. You could try this on your local machine first using a java webserver (like tomcat). This will help you to determine the webapp configuration settings.
Good luck!
You need a servlet container like tomcat or Jetty to host it. There are hosting providers that have it.
But you can also use Google app engine to host it there (though mysql is not supported well there)