Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Duplicated local variable  RSS feed

 
Himai Minh
Ranch Hand
Posts: 1510
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



But I got a duplicated local variable myAccount when the index.jsp was forwarded from the servlet.
 
Himai Minh
Ranch Hand
Posts: 1510
9
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To fix this problem, I change the Account reference like this :

It works.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 36622
474
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a cow for posting the solution. So quickly too!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!