  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | How to patch a class file | How to patch a class file 2003-12-05 - By David Evans
Back Hello,
I have a problem with tomcat and Ie 5.0 on a Mac. I have found the answer to my problem here: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6983
its says i should: ******************************* The file to patch is src/catalina/src/share/org/apache/catalina/util/CookieTools.java
Jay jsissom@(protected)
--- CookieTools.java Thu Apr 4 20:35:47 2002 +++ CookieTools.fix Thu Apr 4 20:37:07 2002 @@ -166,7 +166,7 @@
// Secure if (cookie.getSecure()) { - buf.append (";Secure"); + buf.append ("; Secure"); } }
****************************
so i looked in my tomcat directory and i found: /usr/java/jakarta-tomcat-4 (See http://cat-4.ora-code.com).0.4/server/lib/catalina.jar when i "jar tf catalina.jar" i find: org/apache/catalina/util/CookieTools 
so how do make the change to the class file? my assumption would be i download the source for my version of tomcat (4.0.4) compile the CookieTools.java to Cookie Tools.class and then use jar to update the CookieTools.class in the catalina.jar file.
Any help on this would be greatly appreciated.
dave
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|
 |