on 02-22-2005 8:03 PM
Hello,
I'm working on a bug fix in EP 6.0. I have two jsp files that need to use the same id as in
<jsp:useBean id="myBean1" scope="application" class="app.sap.testclass" />
But I get an error that "Duplicated 'id' attribute value 'myBean1' in jsp:useBean action". Is there a possibility that I could use a destroy method or something so that this duplication doesnt occur in the 2 jsp files? The code is written such that it instantiates the testclass each time, but am not sure why it still gives me a duplication error. Thank you
Siva
Hi Siva,
I am not sure but change the scope to request and then try it. because if the scope is application then the instance will exist through out its life cycle,it will destroy only when the application is exited from the server or the server is shut down.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.