• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

localhost to web server

 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...???
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic