Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Preventing Undefined Variable Error

843835May 17 2002 — edited May 20 2002
I have a JSP file that is included in another JSP file. The second JSP files has variables declared from the first. If I try to access the 2nd JSP file directly (without going through the 1st) I get and 'undefined variable error'. How do I prevent the error from happening when I access the 2nd JSP file directly?

Thanks in advance,

-Ray
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2002
Added on May 17 2002
2 comments
335 views