This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
In my application I am using a bean to which I am going to pass a Connection object.I have the Connection Object and I am writing like this jsp:setProperty name="mybean" property="con" value="con"/ as I have the Connection object named as "con" in my JSP page .. But I am getting the error java.lang.IllegalArgumentException: JSP10Servlet: setProperty(): bean package1.samplebean1 doesn't have a Enum property please help me Thnks in advance
My understanding of setProperty is that it can only be used where the value is a String - not an Object. I think you are going to have to write the Java code to set this property rather than using jsp:setProperty Bill