Thank you For your reply.I included struts(1.2) in side an existing GAE application and i can land on the home page.When ever i clicked on the link in the home page which gives a struts call,am getting some error as below in my log.txt file.
Without more information there isn't really much help that can be provided.
All the log file says is a '500' error which basically means that the server has encountered an error. You might have to dig deeper into the logs or try the code locally and see the detailed error.
1. Keep the console and Debug view windows open.
2. You can stop the GAE server in the console by closing the running Java application.
3. Sometimes due to other messages on the console - its not possible to stop GAE from the console. In this case you can stop the GAE server by stopping the running Java process in the Debug view.
Hope this helps. Of course if everything fails you can always re-start eclipse - at least might get you some info on why the application is giving a 500 error!
It works fine but not for all the time .It s a very good solution.And i resolved my error.We can have only one <servlet> in web.xml.If i keep another ,it shows an error.I dont know why they restrict like this.Thanks For your solution.
Loads of reasons -
Maybe you copy pasted and non-ASCII character got copied
Maybe the Web.xml was not well formed - you know a closing tag missing here or there.
Maybe the XML was not as per the DTD - the tags were not positioned right or incorrectly nested.
Lots of possibles Maybe - can't be sure. Its just one of those things that happens in computers all the time - Maybe just a Heisenbug
You need to download the latest release of Struts framework (struts-2.1.8-lib.zip for example) and add these libraries to war/WEB-INF/lib and in Java Build Path (in case your using Google plugin for Eclipse) in your GAE Project :