Hi Folks,
I'm trying to set up a simple databased servet - based on the servlet examples.
I've got a database that returns an average value for every month of the year from a database (each of which when clicked on will go down so that every day of that month is visible). I've recreated both the WebHit class files and WebHitDataSet file (both of which work well together).
My problem comes with the WebHitChart file (or my equillant of it - both fail to compile for the same reason).
I don't seem to be able to find the javax.servlet files - i've done an API serach but they're not in 1.4 - but the sun website does talk about them - but not where they are, so what do i need to set my classpath to/download them from?
Servlet Question - 90% sure hasn't been asked before
Re: Servlet Question - 90% sure hasn't been asked before
Sorry, i'm a bit dimm.
solved that one now....
solved that one now....
Re: Servlet Question - 90% sure hasn't been asked before
The javax.servlet.* packages are part of J2EE not the standard JDK. You can either download the J2EE SDK from Sun (http://java.sun.com/j2ee/download.html) or you can probably find the classes bundled as a part of your application server / servlet engine. With Tomcat 4.x for example they are in [TOMCAT_HOME]/common/lib/servlet.jar.
Regards,
Richard...
Regards,
Richard...
Re: Servlet Question - 90% sure hasn't been asked before
Thanks for that, it was actually in my JSP, there was just an mistake in the classpath they described.
Thanks for your help.
Thanks for your help.