• 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

Servlets on Apache Web Server

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I have made a small application using Java Servlets. Also have just installed Apache Web Server. In my application I'm simply trying to read some values from an HTML form and insert them into Oracle database. I have put the servlet class file in the jserv's servlet directory. But the data is not going into the database. Help me out.
Karan
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You will need to give us more information to work with. Is JServ working (do the example servlets work?) Is the database working (can you run its non-java example programs?) Is the JDBC driver installed and working? have you set the right parameters to the JDBC driver? Have you created the tables with the right names? Are you using valid SQL? What error messages do you get?
 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello there,
I have also problems running servlets on apache , I have installed apache web server and apache jserv but how to
invoke servlets in apache jserv and how to start jserv ,
thanks
 
Karan Tyagi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, Jserv is working. The database is also working fine. I am using sun.jdbc.odbc.JdbcOdbcDriver. And as a matter of fact when I am executing the servlet using simply the JSDK2.1 StartServer utility the application is working. Values being read from the HTML form are being inserted successfully. So this means that SQL and database created is working fine. I have installed JSDK2.0 for apache. I am getting no errors on the Java Console either. So help me out.

Originally posted by Frank Carver:
You will need to give us more information to work with. Is JServ working (do the example servlets work?) Is the database working (can you run its non-java example programs?) Is the JDBC driver installed and working? have you set the right parameters to the JDBC driver? Have you created the tables with the right names? Are you using valid SQL? What error messages do you get?



[This message has been edited by Karan Tyagi (edited November 20, 2000).]
 
Karan Tyagi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, Jserv is working. The database is also working fine. I am using sun.jdbc.odbc.JdbcOdbcDriver. And as a matter of fact when I am executing the servlet using simply the JSDK2.1 StartServer utility the application is working. Values being read from the HTML form are being inserted successfully. So this means that SQL and database created is working fine. I have installed JSDK2.0 for apache. I am getting no errors on the Java Console either. So help me out.
Karan
 
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic