For convenience, the demonstration center project has been developed in the Tomcat 4.1 + MySQL 4.0 environment. The running environment proposed by the customer will be was 5.1 + DB2 8.0, and the existingProgramThere are two problems.
1. In tomcat, it is similar to edit. do? For a URL like service, you can use request. getparameter ("service") to obtain a non-null value, but get a null value under was. You must use Edit. do? Service = 1.
2. There were some irregular tag writing methods, such as the following:
< BEAN: Define ID = "Todel" Name = "Client" Property = "Name" Type = "String" /> < HTML: Link Action = "/Delete" Paramid = "Code" Paramname = "Client" Paramproperty = "Code" Onclick = "<% =" Return confirmdelete ('"+ Todel +"'); "% > "> < HTML: img Page = "/../Images/btn_del.gif" Width = "41" Height = "16" Border = "0" /> </ HTML: Link >
It is normal in Tomcat-when the user clicks "delete", the system prompts "are you sure you want to delete XXX ?", But in was, thisCodeThe page cannot be compiled. Only the xxx following the prompt content can be removed. I think the built-in tag library of struts has limited operations on strings.
no incompatibility is found. What I don't understand is that since Tomcat is the reference implementation of servlet 2.3, it should be the most "standard". Why is this still the case that tomcat has its own extensions, or are there deficiencies in was implementation?