Hi
I got the issue, it is the double quote ,
i change the jsp from
<html:hidden value="<%= sppu0016.getSTEREGFLG() %>" property="siteregflg" />
to
<html:hidden value='<%= sppu0016.getSTEREGFLG() %>' property="siteregflg" />
and it worked, i dont understand by websphere was not able to compile with
double quotes
Ashish
On 4/11/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
Hi
I am getting the following jsp compilation error in websphere 5.1
org.apache.jasper.compiler.ParseException:
/pages/purchasing/contract.jsp(128,61) Attribute system has no value
at org.apache.jasper.compiler.JspReader.parseAttributeValue (
JspReader.java:599)
This jsp compiles fine in tomcat
This is what i have in my jsp
<html:form action="pages/purchase/ContractApprovalAction" focus="comment">
<html:hidden value="<%= sppu0016.getSTEREGFLG() %>"
property="siteregflg" /> (This is line 128)
<html:hidden value="<%=(String)request.getAttribute("system")%>"
property="system" />
</html:form>
This is how i have defined in struts-config.xml file
<form-bean name="ContractApprovalForm"
type="org.apache.struts.validator.DynaValidatorForm"
dynamic="true">
<form-property name="data"
type="com.pfizer.maps.file.purchase.SPPU0016" />
<form-property name="prcvar" type=" java.util.List" />
<form-property name="comment" type="java.lang.String" />
<form-property name="comment1" type="java.lang.String" />
<form-property name="system" type="java.lang.String" />
<form-property name="envName" type="java.lang.String" />
<form-property name="ttype" type=" java.lang.String" />
<form-property name="reasoncode" type="java.lang.String" />
<form-property name="reasondesc" type="java.lang.String" />
<form-property name="reasonCodeValues" type="java.util.List"
/>
<form-property name="contractNotes" type="java.util.List" />
<form-property name="contractLineNotes" type=" java.util.List"
/>
<form-property name="priceBreaks" type="java.util.List" />
</form-bean>
Any idea what it might be
Ashish