Hi, my current configuration is tomcat 6.0.18 and jdk 1.5. Here are the steps I followed for the migration. 1. Replaced struts.jar with struts-core-1.3.8.jar 2. Updated taglib .tld files which were under /WEB-INF and also kept the corresponding struts-taglib-1.3.8.jar files in lib directory. 3. Kept the external mappings in web.xml for the tld files though. 4. Updated struts-config.xml with <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN" "http://struts.apache.org/dtds/struts-config_1_3.dtd"> 5. As not using any cancel buttons hence did not use the cancellable attribute. 6. Updated validation.xml with specified doctype in strutsupgrade docs. 7. Replaced older jar files with newer versions.
After compiling the files and deploying in Tomcat I get the following error while trying to run.
javax.servlet.ServletException: Wrapper cannot find servlet class jsp.login_jsp or a class it depends onorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:595)
Thanks for the reply sagar. All class files are created during build. I even deleted all the existing ones in tomcat/work folder. So the classes are up to date. Any other pointers? Furthermore do I need to change the jsp header <%@ taglib uri="/tags/struts-bean" prefix="bean" %> to <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> and so forth? [ November 27, 2008: Message edited by: Anthony Gomes ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Migration problem from Struts 1.2.7 to 1.3.8