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.
Requirement is not clear...but my understanding is that
1)You have a form in jsp page
2)You submit it
3)Generate the bar code
4)Show it in browser in previous jsp page
If that is it...
You could have a check in jsp like...