aspose file tools*
The moose likes Servlets and the fly likes localhost to web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
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://aspose.com/file-tools
 
subject: localhost to web server