I’m trying to include a jsp page to another jsp page. For example i have a main.jsp page that includes extra.jsp but it doesn’t work. extra.jsp contains a Struts if tag and when i remove it the include works fine. what can be the possible problems?
Any help will be greatly appreciated.
I think problem was in your
if conditionmeans if you mentioned any condition then it won’t work correctly for eg: in extra.jsp(“name” could be any name of your application.)
Now if you try to open
extra.jspit will ask the name containing with admin.If you enter any wrong name page won’t open until with the correct name so, directly it comes to the else block (or) the web page will be shown like blank page.
In your case, problem might be the same means, if condition is present with some condition probably it is showing error.