Sign in to follow this  
srividya_sharma

FusionCharts Spring MVC Example

Recommended Posts

Hi

Can you elaborate a bit?

Which configuration are you talking about?

If it is the chart, then the chart takes xml for data. The xml can be generated within java code too.

If this is not what you are talking about, please make me understand.

Thanks :)

Srividya

Share this post


Link to post
Share on other sites

Spring 3 offer 3 methods of configuration: xml(ur example), annotation and javaconfig(java based configuration).

 

 

 

im trying spring mvc with javaconfig and still working on it.

Share this post


Link to post
Share on other sites

package charts;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

 

public class ChartsController implements Controller
{
  public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
  {
    return new ModelAndView("/WEB-INF/jsp/Summary.jsp");
  }
}

Share this post


Link to post
Share on other sites

Hi,

 

Could you please let us know about the problem you are facing while using FusionCharts in your Spring application?

 

Awaiting your response.

Share this post


Link to post
Share on other sites

Hi Bindhu,

I have the same issue and here is the log from the server

 

[WARN] PageNotFound - -No mapping found for HTTP request with URI [/bramahWebApp/fusioncharts/fusioncharts.js] in DispatcherServlet with name 'mvc-dispatcher'
[WARN] PageNotFound - -No mapping found for HTTP request with URI [/bramahWebApp/fusioncharts/themes/fusioncharts.theme.zune.js] in DispatcherServlet with name 'mvc-dispatcher'
[WARN] PageNotFound - -No mapping found for HTTP request with URI [/bramahWebApp/fusioncharts/themes/fusioncharts.theme.zune.js] in DispatcherServlet with name 'mvc-dispatcher'
[WARN] PageNotFound - -No mapping found for HTTP request with URI [/bramahWebApp/fusioncharts/fusioncharts.js] in DispatcherServlet with name 'mvc-dispatcher'
[WARN] PageNotFound - -No mapping found for HTTP request with URI [/bramahWebApp/fusioncharts/themes/fusioncharts.theme.zune.js] in DispatcherServlet with name 'mvc-dispatcher'
 

Share this post


Link to post
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
Sign in to follow this