• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

localhost to web server

 
Author
Posts: 399
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...???
 
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 399
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You get good luck from rubbing the belly of a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic