Jump to content
JasperReports Library 7.0 is now available ×

Report always first in a .jsp file


giroe

Recommended Posts

Good morning,

 

I'm building a webapplication and I got some

problems with showing the report correct.

my code:

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

</head>

<body>

<jsp:include page="WEB-INF/jspf/menu.jsp"/>

<%--<jsp:include page="WEB-INF/jspf/login.jsp"/>--%>

<jsp:include page="WEB-INF/jspf/${view}"/>

</body>

</html>

the ${view} is a .jsp file also. and in this jsp

file a report is printed. But for some reason

my menu.jsp is shown below the report.. why is this?

 

Post edited by: giroe, at: 2007/04/24 07:49

Post edited by: giroe, at: 2007/04/25 12:24

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Sorry for not being more clear.

I'll try to explain better.

I'll give an exampls

 

template.jsp:

<jsp:include page="WEB-INF/jspf/menu.jsp"/>

 

<%--<jsp:include page="WEB-INF/jspf/login.jsp"/>--%>

 

<jsp:include page="WEB-INF/jspf/Areport.jsp"/>

 

menu.jsp got some links like: login/....

Areport.jsp will print out a report

 

I want the menu.jsp above the Areport.jsp

But for some reason the menu.jsp is shown below Areport.jsp

 

so now my output is:

content of Areport.jsp

content of menu.jsp

 

but I want it to be:

content of menu.jsp

content of Areport.jsp

 

I hope you understand?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...