FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


jsp and java servlet





umeshtangnu
why every time i want to run my program again i need to refresh my apache server(compile java servlets )? if i didn't do that it will cause me these errors


java.lang.NullPointerException
coreservlets.Database.doGet(Database.java:79)
javax.servlet.http.HttpServlet.service(HttpServlet .java:689)
javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
org.apache.catalina.servlets.InvokerServlet.serveR equest(InvokerServlet.java:419)
org.apache.catalina.servlets.InvokerServlet.doGet( InvokerServlet.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet .java:689)
javax.servlet.http.HttpServlet.service(HttpServlet .java:802)


any one can tell me whats going on ?
should i show my code as well ?
mike_phi
Hi there just wanted to get some info with regard to java servlets, first of all is it common for hosting companies to support servlets, e.g. are servelets supported here.

just wanted to fin out how widely they are used, I had a look at some servlet literature and it seems to be a fantastic solution for server side programming.

seeing that you are using apache which I do too what configuration is required on the apache server, is it as easy as enabling php : (

just thought you could give me some pointers or point me in the right direction with regard to setting up and where i should copy required files eg servelet jar and my servlet class files with regard to the apache directory structure.

cheers Mic
MrBlueSky
Here is an excellent article introducing Java Servlets. What they are, how to set up servlets and what they can be used for: http://www.linuxjournal.com/article/4576
It focuses on Linux though.
Related topics
Online Notepad
want to learn java scrpit
Looking for a Javascript shoutbox
[SOFT] El mejor lenguaje de programación
Whos is the FUTURE.... JAVA or .NET
hide html code ..
JSP Help!!!
Java Servlet IDE and development Environmnet
Transfer data between pages on different servers?
How did you find this Site?
JSP/Java hosting
jsp
Java Servlet Help needed
PHP Language
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.