Go Directly To
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Get Started Guide
Join the world’s largest interactive community dedicated to Oracle technologies.
Learn from thousands of community experts
Get answers to your technical questions
Share your knowledge with peers
Please enter a title.
You can not post a blank message. Please type your message and try again.
Archived BEA Dev2Dev Forums (Archived)
WebLogic Server/Java EE Newsgroups(Archived)
This discussion is archived
on Jun 4, 2008 7:37 AM by 666705
static reference - JSP - redeploy - weblogic 8.1
Jun 4, 2008 7:37 AM
I have a class constant that contains:
public static final int VALEUR_FINAL1 = 1;
public static final int VALEUR_FINAL2 = 2;
public static final int VALEUR_FINAL = VALEUR_FINAL2;
test (Constantes.VALEUR_FINAL, Constantes.VALEUR_FINAL1, Constantes.VALEUR_FINAL2);
This feature makes test:
if (FINAL == FINAL1) alert ('1 ') else if (FINAL == FINAL2) alert ('2')
When I deployed my ear the value of the field is that of FINAL VALEUR_FINAL2. This is normal.
When I put the value 'VALEUR_FINAL = VALEUR_FINAL1' in the file and I constantly redeploying the value in the JSP for FINAL remained at VALEUR_FINAL2. Case abnormal.
If I go in the JSP and that I change the page by adding a space and then I redeploying the scope FINAL passes VALEUR_FINAL1 ....
Is this someone could explain why and how to correct this problem?
This content has been marked as final.
Show 0 replies