Hello Mohana,
I got the tomcat starting again.
But that was now very much experimenting instead of knowing what I do :-)
Therefore I would be very glad to know where I can see which libs I need in case of updating struts2. Otherwise I will probably open a similar thread in several month ;-)
For others who have the same problem. I did the following:
- Replace struts2-core-2.0.11.jar with struts2-core-2.2.3.jar
- Replace xwork-2.0.4.jar with xwork-core-2.2.3.jar
- Add commons-fileupload-1.2.2.jar
Greetings
Manuel
EDIT:
unfortunately I have another problem, which I assume has something to do with the update of the xwork lib.
After this line here
ActionContext context = ActionContext.getContext();
context is null and therefore I get NullPointerExceptions if I try to access it.
Since the ActionContext is provided by the xwork2 lib which I updated, I am wondering if I have to take anything else into account?
EDIT2:
Funny..., in the API (
xworks API you can find the following paragraph:
getContext
public static ActionContext getContext()
Returns the ActionContext specific to the current thread.
Returns:
the ActionContext for the current thread, is never null.
Nevertheless this code here
produces the output:
context: null
Curios!?