hi,
on my server i found some strange problem. it was actually related with tag. the problem was with the url rewriting, which was performed by struts tag library. struts tag library was creating an invalid URL.
for example i wrote the following code:
< img src=”my-image.gif” />
as i have only wrapped “${urlPrefix}” with in html:rewrite tag. so struts tag library wrote the following output.

which is totally a wrong url.
so how i resolved it?
very simple just fixing my weired code. now it looks like the following -
< img src=”" />
the generated output looks like -

here is a regex which may help you to find out the error tags:
“(.+)”
yeap it is working now





Recent Comments