Hello Carlos,

Thanks for your idea, I use Websphere Application Server (Application
Server) and I don't have the web.xml file, do you know how can I remap my
servlets in websphere?.  Any body know?.

Thanks in advance

Lorena

----- Original Message -----
From: Carlos Vicente <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 22, 2001 12:53 PM
Subject: Re: Please give me ideas on this


> Why not you make a class for every servlet wich "extends" it. In  your
> servlet you make the validations, next you call the doPost o doGet of the
> parent original servlet.
> Next you remap the servlets in the xeb.xml in order to substitute the old
> servlet by the new.
>
> Youn must'n decompile the servlets.
>
> It's a mad idea?
>
>
> -----Mensaje original-----
> De: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]En nombre de Lorena Carlo
> Enviado el: jueves, 22 de noviembre de 2001 16:21
> Para: [EMAIL PROTECTED]
> Asunto: Please give me ideas on this
>
>
> Hello All,
>
> I have a problem, please give me some ideas to solve it.  I have a web
> application that I have to modify, but I don't have the source code
(.java),
> I just have the classes.  I need to do some validations before calling the
> servlets on the web application.  I can not change the hiperlinks in the
> primary server that call my servlets.   I have to do a servlet with the
same
> name of the servlet that is called in the http request, but I can not have
2
> servlets with the same name in the same web application and I can not
rename
> the other compiled servlet, because I don't have the source code to change
> the name of the class and recompile it.   I tried to put the servlets that
I
> don't have the source code in another web application an try to use this
> instruction:  RequestDispatcher rd =
> getServletContext().getRequestDispatcher("/servlet/Servletx");
> rd.forward(request, response); for doing some validations and then
redirect
> the response, but I can not redirect it to a servlet that is in another
web
> application.  So I don't know what to do, please servlets gurus, help me
> finding a way to solve this problem.
>
> Thanks in advance,
>
> Lorena Carlo.
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to