Compiling servlet outside Domino environment

Hello,

I want to compile a servlet outside Domino environment .

I use borland Jbuilder , and i need to add the “javax.servlet.” package from DOMINO , but i don’t find it .

I use the JDK 1.3 for the compilation

where can i find the Domino 6 package “javax.servlet.” to compile this servlet ??

Here the code of the little applet :

import javax.servlet.ServletRequest;

import javax.servlet.ServletResponse;

import javax.servlet.FilterChain;

import java.io.IOException;

import javax.servlet.ServletException;

import javax.servlet.http.HttpServletRequest;

import edu.yale.its.tp.cas.client.ServiceTicketValidator;

public class SSOFilter extends edu.yale.its.tp.cas.client.filter.CASFilter {

protected final String CST_SESSION_CONNEXION = "CAS_FILTER_USER";

protected final String CST_NOM_PARAMETRE_TICKET = "ticket";

protected final String CST_URL_VALIDATION_CAS = ".......";

protected final String CST_URL_SERVICE = ".......";



public void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain) throws IOException, ServletException {

	boolean utilisateurDejaConnecte = ((HttpServletRequest) request).getSession().getAttribute(CST_SESSION_CONNEXION) != null;

	if (! utilisateurDejaConnecte) {

		if (request.getParameter(CST_NOM_PARAMETRE_TICKET) == null)	{

			return;

		}

		else {

			ServiceTicketValidator sv = new ServiceTicketValidator();

			sv.setCasValidateUrl(CST_URL_VALIDATION_CAS);

			sv.setProxyCallbackUrl(null);

			sv.setService(CST_URL_SERVICE);

			sv.setServiceTicket(request.getParameter(CST_NOM_PARAMETRE_TICKET));

			try  {

                              sv.validate();

                               if (sv.getErrorCode() == null) {

					((HttpServletRequest)request).getSession(true).setAttribute(CST_SESSION_CONNEXION, "Y");

					System.out.println(sv.getResponse());

				}

				else {

					return;

				}

			}

			catch (Exception exception) {

					return;

			}

		}

	}

	else {



	}

	filterChain.doFilter(request, response);

}

}

Subject: RE: Compiling servlet outside Domino environment

Can’t you use standard servlet package from SUN?http://java.sun.com/products/servlet/download.html