•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 425,893 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,960 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 626 | Replies: 2 | Solved
![]() |
•
•
Join Date: Jun 2008
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
We have 2 JSPs
A.jsp ==> Main screen JSP
tabs.jsp ==> The jsp, which has the header and have several tabs
JSP 'A' "includes" JSP 'tabs'
Now I want that when page 'A.jsp' loads, it should make some check and set a Flag.
This Flag should pass to JSP 'tab.jsp', and based on it should enable some tabs and disable some tabs.
Problem is --
I am setting the flag in A.jsp and setting as hidden parameter.
in tabs.jsp i have using request.getParamter(), still there I am getting NULL
Even in A.jsp, I added this flag as param in include tag, and used getAttribute in tabs.jsp
Still its displaying NULL in tabs.jsp
How can I pass the value from main jsp to included jsp????
A.jsp ==> Main screen JSP
tabs.jsp ==> The jsp, which has the header and have several tabs
JSP 'A' "includes" JSP 'tabs'
Now I want that when page 'A.jsp' loads, it should make some check and set a Flag.
This Flag should pass to JSP 'tab.jsp', and based on it should enable some tabs and disable some tabs.
Problem is --
I am setting the flag in A.jsp and setting as hidden parameter.
in tabs.jsp i have using request.getParamter(), still there I am getting NULL
Even in A.jsp, I added this flag as param in include tag, and used getAttribute in tabs.jsp
Still its displaying NULL in tabs.jsp
How can I pass the value from main jsp to included jsp????
![]() |
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Other Threads in the JSP Forum
- Previous Thread: Ambiguity in using the same jsp
- Next Thread: upload through(servlet) urgent


Linear Mode