softlab Posted January 31, 2013 Posted January 31, 2013 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.
Krydos Posted January 31, 2013 Posted January 31, 2013 If you would like to deploy a .war file follow these steps:Create your account on Johnny http://www.heliohost.org/home/signup/johnnyRequest Java to be enabled on your account http://www.helionet.org/index/forum/74-java-requests/Wait patiently and keep your account active, because Java can only be enabled on a finite number of account at a time, and you must wait in line to have it enabled. It can take up to a month to get Java enabled depending on how many other people are in line ahead of you.Once Java is enabled on your account upload your .war file to your home directory. Ex: /home/username/MyProject.warRequest to have the .war file deployed by creating a new topic in Customer Service http://www.helionet.org/index/forum/45-customer-service/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now