aspose file tools
The moose likes Servlets and the fly likes localhost to web server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "localhost to web server" Watch "localhost to web server" New topic
Author

localhost to web server

Malhar Barai
Author
Ranch Hand

Joined: Aug 17, 2001
Posts: 399
hi all
i want a servlet to run on local server & it should access & get the data from my site...
i m using Apache, database is mySQL...
i tried it,but its giving NullPointerException.
any idea...???


Malhar Barai
SOA & Java Book
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Malhar
A little more info please. Is the servlet on your site? Is the servlet remote from your site? What do you mean by your site a database, another web application? Just a different server?
What is giving the null pointer exception? Can you post some code? What exactly are your trying to do?


Dave
Malhar Barai
Author
Ranch Hand

Joined: Aug 17, 2001
Posts: 399
Originally posted by Dave Vick:
Malhar
A little more info please. Is the servlet on your site? Is the servlet remote from your site? What do you mean by your site a database, another web application? Just a different server?
What is giving the null pointer exception? Can you post some code? What exactly are your trying to do?

hi dave
well the servlet is on my localhost. & the database is on my site.
i.e i want to get data from my site w/out uploading the servlet on the site. is it possible..??
hope i m clear
malhar
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: localhost to web server
 
Similar Threads
RMI from start to finish
Need help in build applications using ant : getting exception
Accept compresed requests in tomcat
James Mail Server
Http Post