This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets on Apache Web Server

 
Karan Tyagi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • 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
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • 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?
 
ray bond
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic