GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Programming  >  JSP
Go To First  |  Previous Question  |  Next Question 
 JSP  |  Question 101 of 184    Print  
currently we are working on a project which includes charts to be displayed using JFreeCharts.we have two JSP\'s for displaying Pie and another one for Bar chart.So how do i get two graphs in a single page which is in two different JSP\'s.

  
Total Answers and Comments: 1 Last Update: January 02, 2006     Asked by: Nandini 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
January 02, 2006 02:21:32   #1  
grkapadia Member Since: December 2005   Contribution: 2    

RE: currently we are working on a project which includ...

Create a single JSP and use iframe to display multiple charts from different jsp files.

For eg.

<iframe src http://some.com/jsp/pieChart.jsp?<parameters (if any)> width 430 height 245 frameborder 0> </iframe>

<iframe src http://some.com/jsp/barChart.jsp width 430 height 245 frameborder 0> </iframe>

Modify the size of iframe as per your requirement.

This should work.


 
Is this answer useful? Yes | No

 Related Questions

Skill/Topic: Programming ConstructsA) None of the above B)  C)    
Latest Answer : isErrorpage attribute ...

Skill/Topic: Programming ConstructsA) Script language declarations, scriplets and expressions. B) JSP standard actions. C) JSP standard directivesD) A portable tag extension mechanism.  
Latest Answer : Script language declarations, scriplets and expressions. ...

Skill/Topic: Programming ConstructsA) B) C) D)  
Latest Answer : 1  2  ...

Skill/Topic: Programming ConstructsA) B) C) D)  
Latest Answer : code fragment valid tags is  scriptlet tag that is because code is directley placed  in the _ jsp service()  ...

Skill/Topic: Programming ConstructsA) None of the above B) content safeC) synchornisedD) thread safe  
Latest Answer : Thread Safe,so that no other request can interrupt. ...

Skill/Topic: Programming ConstructsA) jspDestroy()B) jspInit()C) _jspService()D) getParameter() 
Latest Answer : _jspService() ...

Skill/Topic: Programming ConstructsA) jspDestroy()B) jspInit()C) _jspService()D) getParameter() 
Latest Answer : jspDestroy() and jspInit() methods are overridden. ...

The tag %@include file=”.........” % > helps in including the ______ file in the JSP page (Multiple choice)
Skill/Topic: Programming ConstructsA) readOnlyB) dynamicC) staticD) None of the above 

We can restrict the calling of the errorPage in the JSP by setting the value true for the ______ param in the ErrorPage attribute of the Page Directory
Skill/Topic: Programming ConstructsA) isErrorpage 

Skill/Topic: Programming ConstructsA) TrueB) FalseExplanation: use the JSPWriter object 
Latest Answer : true ...


 Sponsored Links

 
Related Articles

ODP.NET - Working with OracleDataAdapter with OracleCommand

ODP NET Working with OracleDataAdapter together with OracleCommand In the previous examples we worked with OracleDataAdapter by directly specifying SQL statements You can also pass OracleCommand to OracleDataAdapter This is very useful if you deal with stored procedures covered in Chapter 5 or bind
 

ODP.NET - Working with Bind Variables together with OracleParameter

ODP NET Working with Bind Variables together with OracleParameter With the help of OracleParameter you can include bind variables within any SQL statement These bind variables are nothing but run time query parameters The values in the SQL statement are bound at run time when we use bind variables m
 

ODP.NET - Handling Nulls when Working with OracleDataReader

ODP NET Handling Nulls when Working with OracleDataReader When we work with OracleDataReader or for that matter even with data rows in a data table we may come across nulls The following is the efficient way to deal in with such scenarios mosgoogle geshibot language VB NET&quot; create connect
 

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

ODP.NET - Working with DataTableReader

ODP NET Working with DataTableReader DataTableReader is complementary to a DataTable object and is mainly used as a type of Data Reader in the disconnected mode The following is the modified code mosgoogle geshibot language VB NET&quot; create connection to db Dim cn As New OracleConnection D
 

ODP.NET - Retrieving a Single Row of Information Using OracleDataAdapter

ODP NET Retrieving a Single Row of Information Using OracleDataAdapter In the previous example we worked with a set of rows in the DataTable object Now we shall work with a particular row using the DataTable object The following code accepts an employee number from the user and gives you the details
 

SQA Project Metrics

SQA Project Metrics The application is only as good as its numbers It is a harsh reality but everything has to come down to the numbers Although we can enumerate tens or hundreds of features in a single application it will all be for nothing if the metrics do not live up according to expectation The
 

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

SOA for Project Managers

SOA for Project Managers The idea of handling exceptions manually unveils major significance of individuals involved in Service Oriented Architecture based projects as well as various roles they take on Service Oriented Architecture projects tends to involve a number of familiar project roles includ
 

Working with XML in C

Working with XML in C The Role of XML with C The Extensive Markup Language has changed the way in which information is being viewed and exchanged Users can share their sensitive documents on the World Wide Web by declaring what is theirs for EDI or Electronic Data Interchange data publishing a data
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape