Hi,

In my application i am having Image in my jsp page with thumb nails. when i 
click at a particular area of an image it will call a javascript method which 
helps us in rendering a new jsp page.
Below is the page source code for the situation i described above:
<img name="imageMap" src="/myApp/images/1/687.gif" border="0" usemap="#theMap">
                                                        <map name="theMap">
                                                            <AREA title="Area 
98" shape="POLY" alt="Area 98" coords="4,62,197,62,197,107,4,107" 
href="javascript:submitToAdd('86')">
<AREA title="Area 97" shape="POLY" alt="Area 97" 
coords="4,1,136,1,136,19,197,19,197,58,4,58" 
href="javascript:submitToAddPermit('85')">
                                                        </map>

Below is the source code in my jsp page:
<img name="imageMap" src="<s:property value="image.directory"/>/<s:property 
value="image.fileName"/>" border="0" usemap="#theMap">
                                                        <map name="theMap">
                                                            ${image.map}
                                                        </map>
Now my new requirement is I do not want to render a new Jsp page when i click 
any particular area of an image. All i need is that when i click on an image it 
should render another image in the same jsp page.

Can u pls help me out in this issue.



      

Reply via email to