Now the OpenSource winds and clouds, the author is also one of the supporters of OpenSource; but the two days of discovery when using WebWork2 under WebLogic, let the author put the development of OpenSource.
OpenSymphony is one of the objects that I like to be open source organization. From learning OsWorkflow, I will know that it has a lot of short and delicate software. Webwork is one of them; WebWork is already a reputation, and it is also very high in China, but ......
Last week, use WebWork2.1.jar, in WebLogic Server 6.1, discovery, paramsinterceptor can't use! All places with paramsinterceptor report NullPointersException, from com.opensymphony.xwork.interceptor.ParametersInterceptor reported .... Check information .... Ask the master ..... See the source code ..... No problem .....
Week 5. Under the guidance of the master, it is changed to WebWork2.1.7.jar, not reporting NullPointerexception, but all Parameter is adding "[" after "["] ", such as UserName =" hongsoft ", it take After coming, it becomes username = "[hongsoft]" ..... Depressed ..... check the information .... Ask the master ..... See the source code ..... No problem .... .
Zhou 6, staying at home is also annoying, because the problem is not found, the company came, check the information .... Ask the master ..... See the source code ..... No problem ..... Found Webwork's FAQ Some introductions how to use Webwork under WebLogic6.1, try ... don't, try again ... still can't, watch FAQ also introduce how to use Webwork in WebLogic 7.0, don't change tomorrow to replace 7.0. ....
Zhou 7, change 7.0, trial, no, try again; discovery 2.1.1.jar to 2.1.5.jar question; 2. Jar and 2.1.7.jar Question, change WebWork.jar, Change xwork.jar, change xwork-spring.jar, change .... No ...
Zhou 8, there is no way, look carefully ... Problem solve, the introduction on FAQ is all kind, doubt that they have not tried it. Hey, OpenSource ........
Attachment: Use WebWork2's solution to modify or configure the total control servletdispatcher of Extend WebWork2 and configured to Web.xml: package com.hongsoft.agile;
import java.io.IOException; import java.util.Enumeration; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import com.opensymphony.webwork.dispatcher.ServletDispatcher;