Jump to content

softlab

Members
  • Posts

    268
  • 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. 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
  5. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  6. 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
  7. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  8. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  9. 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
  10. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version.
  11. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version.
  12. 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
  13. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  14. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  15. 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.
  16. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  17. 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
  18. 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
  19. Sorry for the inconvenience, I didn't know.
  20. a. infopar b. infopar.heliohost.org c. Johnny. Please, deploy webCat.war, new version. Thanks
  21. 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
  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. Please, deploy webCat.war. Thanks
  24. Hi, I'm infopar on Johnny. Here's my problem. I have my structure under public_html, among the dirs with JSPs I have the folder WEB-INF/classes, in it some folders as it/fp/servlets, in it my servlets. In my web.xml I have: <servlet> <servlet-name>ServletServizi</servlet-name> <servlet-class>it.fp.servlets.ServletServizi</servlet-class> </servlet> <servlet-mapping> <servlet-name>ServletServizi</servlet-name> <url-pattern>/ServletServizi</url-pattern> </servlet-mapping> When from a <form> I hit submit <form action="ServletServizi" method="post" class="menu"> <input name="dati" type="submit" class="pulsante submenu <%=funzioneCorrente%>" value="Dati Parrocchiali"> <input type="hidden" name="funzione" value="datiParrocchiali" /> <input type="hidden" name="paginaUtente" value="../servizio/datiParrocchia.jsp" /> <input type="hidden" name="paginaErrore" value="" /> </form> I get Not Found The requested URL /ServletServizi was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. and in my log file I find [Thu Jan 31 13:14:47 2013] [error] [client 151.25.22.29] File does not exist: /home/infopar/public_html/ServletServizi, referer: http://infopar.heliohost.org/index.jsp What's the problem? Thanks in advance.
  25. Hi. I had my account suspended and reactivated it. I can connect to my cPanel correctly. The account was on Johnny. What I can't do is see my index.jsp page; when i try to connect to it, I only see the jsp code, it seems java is not active. Please help me. My info: a. HelioHost username: infopar b. server my account is on: Johnny c. my HelioHost main domain: infopar.heliohost.org. Thanks
×
×
  • Create New...