Jump to content

lani1234

Members
  • Posts

    47
  • Joined

  • Last visited

lani1234's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. User: lani1234 server: johnny URL: http://lani1234.heliohost.org I am sure my account was suspended because I haven't used it in a while. I would like to start using it again. Can it be un-suspended?
  2. In my project, in the Web Content folder, I have one folder with all my style sheets in it, and another folder with all my images in it. When you deploy my war file, I am getting a 404 file not found for me style sheets and images. I tried using the full URL: <link href="../CandCForHelio/css/styleLogin.css" rel="stylesheet" type="text/css" /> <img src="../CandCForHelio/images/usernameText.png" class="label" /> Can you please explain how to make this work on your server? This isn't shown in your little servlet tutorial. Is there any way to make it so that we can deploy our own .war files? It is very frustrating to have to wait over 24 hours just to find out that it still doesn't work and it's a painfully slow process for debugging.
  3. I have placed a new war file in my home directory: home/lani1234/CandC.war If you could please deploy it, I would appreciate it. Thank you
  4. I have placed a new war file in my home directory: home/lani1234/CandC.war If you could please deploy it, I would appreciate it. Thank you
  5. My application needs to be able to change from one jsp page to another jsp page. The following 2 lines of code work within an ajax function on my machine: window.location.href = "redirectPage.jsp" and window.location.href = "../TestingHelioWarWithDB/redirectPage.jsp" But when my war file is deployed on your server, I get a 404 error: HTTP Status 404 - /TestingHelioWarWithDB/redirectPage.jsp type Status report message /TestingHelioWarWithDB/redirectPage.jsp description The requested resource is not available. Apache Tomcat/7.0.32 Are there any error logs specific to this issue that you can see??
  6. I have placed one more new war file in my home directory: home/lani1234/TestingHelioWarWithDB.war I left one test out of the last war file by accident. If you could please deploy this one, I would appreciate it. Thank you
  7. I have success with the database connection now. I have one more test war file to upload and test. It is unclear to me if I need the full URL to a servlet inside an ajax call, but I would guess that I do. Once I know that my ajax is working correctly, I can rebuild the application that I was hoping to host in the first place. Thank you for helping to problem solve. I hope this thread will help others. They key was really in that complete URL to reach the servlet. I have never seen it done this way but I am glad to have figured out why the project would work on a few other servers but not on heliohost.
  8. I have placed a new war file in my home directory: home/lani1234/TestingHelioWarWithDB.war If you could please deploy it, I would appreciate it. Thank you
  9. I have placed a new war file in my home directory: home/lani1234/TestingHelioWarWithDB.war If you could please deploy it, I would appreciate it. Thank you
  10. The full URL to the servlet seems to have worked. That is "../nameOfProject/NameOfServlet" Now I am going to add a database connection back in, and a redirect to another resulting jsp from the servlet. For the redirect back to a jsp from the servlet, I think request.getRequestDispatcher("/result.jsp").forward(request, response); will work without the project name, but we will have to see. Uploaded new war file...
  11. I have placed a new war file in my home directory: home/lani1234/TestingHelioWarNoDB.war If you could please deploy it, I would appreciate it. Thank you
  12. Thank you. I have created a hello world project like the one in this tutorial, using the link URL that you have shown. That very well may be the problem. My URL to connect to the servlet didn't include the project name previously. I have removed the part where I try to connect to the database just to make sure this works without the database. If this works, I will add the database connection back in and try it again. Uploaded new war file...
  13. I am wondering if now it is a database connection issue. When I go directly to the URL of the servlet: http://lani1234.heliohost.org/TestingWarFileOnHelioNEW2/LoginServlet the application behaves how it is supposed to, which is to redirect to another jsp that just displays a message about the user trying to log in. But when I try to connect through the main jsp page (that is index.jsp --> Servlet --> Result.jsp), I am still not getting through correctly.
  14. Can you please let me know what errors you are seeing now? Although I changed the java version to 1.6, the war is still not working.
  15. I have placed another new war file in my home directory: home/lani1234/TestingWarFileOnHelioNEW2.war If you could please deploy it, hopefully this will solve the Java version problem.
×
×
  • Create New...