Jump to content

softlab

Members
  • Posts

    270
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by softlab

  1. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  2. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  3. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  4. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  5. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  6. Hi, I'm softlab on Johnny. In my servlet I have these lines of code: request.getSession().setAttribute("paginaUtente",paginaUtente); RequestDispatcher dispatcher = contesto.getRequestDispatcher(paginaJSP); dispatcher.forward(request,response); and the attribute is set to "../sicurezza/accesso.jsp". When the jsp page is served, there are these lines of code: String paginaUtente = (String)session.getAttribute("paginaUtente"); paginaUtente = paginaUtente == null ? "" : paginaUtente.trim(); but now the attribute is empty. Why the value set in the session by the servlet is not available for the JSP? Do not they use the same session? Thanks
  7. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  8. Hi. I'm softlab on Johnny. My home is home/infopar/. From the index.jsp page I click a link to another page, served by a Servlet. In the request I have a parameter (the name of the page the main jsp has to include) whose value is "../sicurezza/accesso.jsp"; the servlet puts this parameter in session and in the jsp I try to include that page, but nothing happens. I have some logs written by the servlet (under home/infopar/public_html/webCat/logs), but the instruction dispatcher.forward(request,response); is reached (it correctly points to the index.jsp page) and is the last of the service method of the servlet. I continue to see index.jsp page and no page is included (where I expect to see a login page). Am I missing something? Thanks
  9. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  10. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  11. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. I could not connect to my MySQL database. Think I solved (added '%' in remote MySQL). Thanks
  12. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version.
  13. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version.
  14. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. I take also the opportunity to ask you if you could please delete two files in the folder webCat (log\webCat.log and log\webCat.log.lck) I'm non able to delete (553 Prohibited file name error for both files). I take the opportunity to ask you if you could please delete two files in the folder webCat (log\webCat.log and log\webCat.log.lck) I'm non able to delete (553 Prohibited file name for both files).I take the opportunity to ask you if you could please delete two files in the folder webCat (log\webCat.log and log\webCat.log.lck) I'm non able to delete (553 Prohibited file name for both files).I take the opportunity to ask you if you could please delete two files in the folder webCat (log\webCat.log and log\webCat.log.lck) I'm non able to delete (553 Prohibited file name for both files). Thanks
  15. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  16. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  17. I tried creating the directories I need, but I get this error Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request POST /webCat/ServletServizi. Reason: Error reading from remote server In the log file under cPanel I see nothing that can explain me what has happened. The log folder I created under public_html/webcat/log is empty.
  18. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  19. HsqlDB libraries are packed into the war file, so the database files and the log directory. I see that under /home/infopar/public_html/ there is no file nor directory; I thought that the war file would have been exploded into my public_html folder, so I have the db and log folder packed in it. What can I do? Is sufficient to create the two directories into my public_html folder to have my application access them? Thanks
  20. Hi. I'm softlab on Johnny. My home is home/infopar/. I'm trying to access my hsqldb database from within a servlet using the string jdbc:hsqldb:home/infopar/public_html/webCat/db/ and to write a log file home/infopar/public_html/webCat/log/webCat.log. I get a NullPointerException when I try to write something in the log file. Are the paths I use wrong? In addiction, I don't see my webCat folder under public_html, so how can I look the log file I would try to write? Thanks
  21. Sorry for the inconvenience, I didn't know.
  22. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  23. a. infopar b. infopar.heliohost.org c. Johnny. I have deployed webCat.war. I try from my servlet to create a log file for my application FileHandler nomeFile = new FileHandler("/home/infopar/webCat/log/webCat.log",true); where /home/infopar is my home as of cPanel. I do not see any error about this in error logs in cPanel, but I get a NullPointerException when the servlet tries to write something in the log file. I think it has not been created, but where should I point to create one? Is path /home/infopar/webCat/ correct? Thanks
  24. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  25. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war. Thanks
×
×
  • Create New...