Jump to content
Software FX Community

getHtmlTag and url


semo

Recommended Posts

For cross-domain

In jsp: <%= chart1.getHtmlTag("450","280") %>  

Result code: <IMG SRC="/ssg/chartfx62/temp/CFT0303_0521263D341.png"  WIDTH="450" HEIGHT="280" >
I wish to receive:

<IMG SRC="http://<host-name:port>/ssg/chartfx62/temp/CFT0303_0521263D341.png"  WIDTH="450" HEIGHT="280" >
 
Link to comment
Share on other sites

You have to edit the ChartFX.Internet.config, can set the RequiredRoot like this:

<RequiredRoot>http://<host-name:port>/ssg/</RequiredRoot>

Additionally, you have to set you web app to alow Cross Context.

For more information, see this KB Article Q8003017. ChartFX.Internet.config RequiredRoot Behavior, or consult the Chart FX for Java Documentation, section Installation and Activation.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...