Yes, thanks a lot, you're right it's much less complicated your way.
But I still have a doubt, the servlet (the one that forwards to a jsp) how should read the link with the code I am passing to it??
Could it be something like this:
public static
String getUrl(HttpServletRequest req) {
String reqUri = req.getRequestURI().toString();
String queryString = req.getQueryString();
if (queryString != null) {
reqUri += "?"+queryString;
}
return reqUri;
}
Passing the code like this: ..?c=02
Thanks very much again