org.apache.jasper.JasperException: useBean: Duplicate Bean
I have a jsp the defines a useBean
(<jsp:useBean id="cardChoice" class="com.metris.oa.fields.ChooseFieldObject" scope="session" />), which then includes another jsp that also has it defined.
I understand this is not exactly proper, however it works when running under oracle app server if, the global-web-application.xml has an entry to set check_page_scope to true.
Does Sun Java System Application Server Platform Edition 9.0 (build b48) have a similiar setting? If so, where is the setting set.
It seems it should be somewhere in domain.xml, but I cannot figure out where, if so.
More of the exception received at runtime, when the page is being loaded;
org.apache.jasper.JasperException: /applicationProc2.jsp(739,0) useBean: Duplicate bean name: cardChoiceorg.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.jav a:49)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:461)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:161)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:610)
org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1136)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2244)

