Problem with table and background-image

Hi,

i have simple jsp

...

<table style="background-image : url(1.gif)">

...

and a button.

if i press the button (with special conditions) i want to return back on this page.

So my bean specify back action and i see

my page but the table is without my image!!!

seems the image was not found. But from the beginnig is see with image.

Any ideas?

[413 byte] By [Yevgen_78a] at [2007-11-27 11:11:54]
# 1

The problem is likely that the URL the browser sees is one behind the the location of the page. E.g. suppose your table is in /table.jsp and your button leads to /actions/go.jsp. When the user starts he is at http://server/table.jsf and the image is found at http://server/1.gif. Then the user presses the button; note that the URL remains http://server/table.jsf while the page /actions/go.jsp is rendered. Once you activate a command on that page, the URL is http://server/actions/go.jsf while the /table.jsp is rendered. Now the browser looks for the image at http://server/actions/1.gif and does not find it.

RaymondDeCampoa at 2007-7-29 13:51:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...