Hello to all JavaRanch comunity. I'm migrating an Insurance Web Application from WebSphere 126.96.36.199 to WebSphere 6.1 [BASE 188.8.131.52 cf70711.17] and I have problems with standar JSP tag. The following is my code:
Error Message:JSPG0227E: Exception caught while translating /ThirdParty/Search/ThirdPartySearchSelector.jsp: /ThirdParty/Search/ThirdPartySearchSelector.jsp(85,9) --> JSPG0061E: Attribute classtarget is unrecognised for jsp element jsp : param
I post this here if somebody have any comments or news about this error.
Thanks for your valuable help!
it seems that WebSphere 6.1 are not recognizing the parameters. If I use only a forward without any parameters there is no error. The following code not generate errors:
<logic:equal name="moduleCommand" value="thirdpartyMaintenance"> <jsp:forward page="ThirdPartySearchForMaintenance.jsp"/> </logic:equal> [ May 29, 2007: Message edited by: Juan Carlos Aponte ]
The issue is the double quotes inside the tag value. Websphere will see the double quotes inside the tag value and close the attribute prematurely. Change the quotes to single quotes and it will work. (e.g. <jsp:param name="command" value='<%=request.getParameter("command")%>' />) [ December 06, 2007: Message edited by: Slim Jim ]