Hello,
I need to migrate one application from Struts1.0 to Struts1.0. Its a very simple web appliction that is deployed sucessfully in exploded directory format.
Now the moment I replace struts.jar with struts-1.2.jar , it stops functioning.
Intresting point is I don't receive any exception and no log on the console. As a result I see a white screen (though earlier with struts.jar I could see login screen).
HAve any once faced such problem earlier, and comment something then that woudl be of great help.
Thanks in advance
Regards
Pavitra
-
Struts 1.0 to 1.2 (3 messages)
- Posted by: Pavitra Saxena
- Posted on: November 11 2005 06:05 EST
Threaded Messages (3)
- Re: Struts 1.0 to 1.2 by benjamin thomas on November 14 2005 18:18 EST
- Re: Struts 1.0 to 1.2 by Will Adams on December 21 2006 08:50 EST
- Migrating from Struts 1.1 to 1.2.4 by Darshan Shroff on April 22 2010 08:25 EDT
-
Re: Struts 1.0 to 1.2[ Go to top ]
- Posted by: benjamin thomas
- Posted on: November 14 2005 18:18 EST
- in response to Pavitra Saxena
There are lot of changed between 1.0 and 1.2 including JDK compatibility. Please check the release notes.
http://struts.apache.org/struts-core/userGuide/release-notes-1.2.4.html.
Also it would be great if you could give more details like appserver version, jdk version etc. May be it's an incompatible servlet engine on your appserver.
A good way to debug is to put a break point in ActionServlet.java and RequestProcessor.java and then run the app.
Thanks,
Benjamin Thomas
http://www.benjaminthomas.info
Hello,I need to migrate one application from Struts1.0 to Struts1.0. Its a very simple web appliction that is deployed sucessfully in exploded directory format.Now the moment I replace struts.jar with struts-1.2.jar , it stops functioning.Intresting point is I don't receive any exception and no log on the console. As a result I see a white screen (though earlier with struts.jar I could see login screen).HAve any once faced such problem earlier, and comment something then that woudl be of great help.Thanks in advanceRegardsPavitra
-
Re: Struts 1.0 to 1.2[ Go to top ]
- Posted by: Will Adams
- Posted on: December 21 2006 08:50 EST
- in response to Pavitra Saxena
Migrating from Struts 1.0 to 1.2 requires you to recode all classes that extend Action to remove the perform method and replace it with execute. If you have not done this, Struts 1.2 calls the super class Action's execute method and consumes the request (displays a white page). Since the request is consumed but no responce is generated, the system does not log any error message. The perform method was deprecated in Struts 1.1 and removed in Struts 1.2, This prevents it from showing up as a depreceted method in most IDE's. -
Migrating from Struts 1.1 to 1.2.4[ Go to top ]
- Posted by: Darshan Shroff
- Posted on: April 22 2010 08:25 EDT
- in response to Will Adams
Hi Will,
Your explanation has been particularly helpful to me while migrating from Struts 1.1 to 1.2.4.
Thanks a lot.
Regards,
Darshan Shroff
shroffdarshan@gmail.com