JSP import dependencies

D

deepstar

Hey all

How can one access all the variables declared in one JSP which is
included in a page from another JSP which is included in that same
page? The scenario is that I put all my declarations in one JSP and
included that in the main page as a <%page import""%> - so far so good.
But I have another included JSP import which is dependent on the same
variables declared in the first JSP import. Now the second JSP can't
locate those variables, is there a way around this issue? Is this even
a solid approach when working with JSP's or should I maybe use a
component based web framework instead (which I am relucant to do)?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

JSP 0
My JSP/Javascript page looks differently on 2 different machines 0
JSP Methods 16
Compile Problem involving Dependencies 7
JSP including 12
Dependencies 1
Imports and cyclical dependencies 0
Offsite JSP 18

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top