Thanks, I resolved this issue by having Eclipse use the Tomcat SDK. Unfortunately I now have a different problem with my initial app.
I have an HTML page - index.html which asks the user to select one of two values from a dropdown and then click a Submit button. It's a regular HTML form using POST request. I have a context in my server.xml, I have a servlet mapped in web.xml. I have the servlet class compiled and in the deployment dir under webapps in tomcat directory. However, when I hit the submit button on the HTML, nothing happens. not sure where I went wrong. On Sun, Mar 1, 2009 at 8:56 AM, supareno <reno.rkc...@free.fr> wrote: > Mighty, > > you need to add to your classpath project the servlet.api to compile > servlet > <tomcat6.0.x>/lib/servlet-api.api > (right click on the projet -> build path/configure build path choose > librairy/ add external jar) > > in glassfish v2, it is in <glassfish>/lib/javaee.jar > > now with javaee5, i'm not sure that is possible to download the ee sdk > separeted from glassfish > it was possible with j2ee 1.4 > > hope this help > > supareno > > Hi, >> I am working on Mac OS X. >> I have the latest version of Tomcat, and Eclipse Europa. >> >> Mac OS X did not come with J2EE. >> >> I downloaded J2EE with GlassFish from Sun. Set it up by running the setup >> shell script. Unfortunately the directory structure is very different now, >> I >> am guessing the J2EE is inside GlassFish somewhere. I need to set it up in >> Eclipse to be able to compile Servlets and the like. and I cannot find the >> right Jars. >> >> 1. Could somebody point me to where the jars are now within GlassFish so I >> can add them to Eclipse? >> 2. Is there a way to install J2EE without this GlassFish stuff, just >> alongside the J2SE? >> >> Thank you. >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >