you can decompile class files with jad. make a web search for it as I don't know where you can get it from. This will output a *.jad file, just rename it to *.java and you're off.
David -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Lorena Carlo Sent: 22 November 2001 15:21 To: [EMAIL PROTECTED] Subject: 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
