Jump to content

haohiep

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by haohiep

  1. I try to connect to my site : http://hmusic.heliohost.org but 503&502 errors always appear. What is the problem? 502 ==> bad gateway 503 ==> Service Temporarily Unavailable admin, can you help me to fix the problems. Do we need to restart tomcat to solve it?
  2. in this case, there is a static file main.jsp --> It will work with errors, but I need servlet "main" do some tasks before it redirects to view "main.jsp"
  3. My project uses Spring framework. In the root public_html folder, there is a file request.jsp which contains a code line: <% response.sendRedirect("/index.htm"); %> this code line will send a request to a servlet name indexController (pattern according to spring framework). In this servlet will process some tasks and respone a view name "index.jsp". I tried to test a second project I have uploaded new folder name "test" with a simple servlet (not Spring framework). I placed a static file "index.jsp" (not using with servlet) --> it works fine. But I tried to use a request to servlet name "main"--> Not found ==> So I think the problem is in servlet. hmusic.heliohost.org/test/index.jsp --> work hmusic.heliohost.org/test/main --> not found (main is servlet's name) --------------------------------------------------------------------------------------------------------------------------------------------------------- EDIT: hmusic.heliohost.org/test/main is a directory that does not exist, but hmusic.heliohost.org/test/main.jsp does. --------------------------------------------------------------------------------------------------------------------------------------------------------- Everything works normally in my localhost. In this case, hmusic.heliohost.org/test/main is a request to sevlet (JSP servlet can understand that). So. if I am wrong, let's show me how to access to this serlvet name "main"
  4. My web project can't run in heliohost at hmusic.helihost.org although I works fine in my localhost. I don't know what causes the problem and whether tomcat runs. Can you help me to know how to check/config tomcat (I can't find tomcat in cpanel) and even how to run my web project. Thanks in advance. username: haohiep domain: hmusic.heliohost.org
  5. I still don't know how to run a jsp project with spring and hibernate framework. Can't you help me how to run it.
  6. username: haohiep domain: hmusic.heliohost.org email: lenguyenhaohiep@gmail.com I have requested to enable java but when I try to connect to hmusic.heliohost.org to open jsptest.jsp but I doesn't seem working. Requests Method and servlet path maybe weren't executed. This is result Request Method: <%= request.getMethod() %> Servlet Path: <%= request.getServletPath() %> Please help me how to upload/deploy JSP spring and hibernate framework on host. I unziped war-file and upload to public_html folder but I don't know how to run it. Besides, I don't know how and where I can set and config tomcat. Please help me. Thanks alot. EDIT: It has only been 13 hours and 33 minutes.
×
×
  • Create New...