Hi Rajesh
I'm afraid not since the method signature is request.getParameter(String) and what you are trying to do is request.getParameter().getCagegoryId().getGif(), which you cant do since the getParameter method takes a String.In layout page in a tile page am passing a querystring(parameter) as ?CategoryId=3
If i need to display can i just add it as
<img src="images/category${request.parameter.CagegoryId}.gif" width="120" height="40">
One way, not so pretty would be to use <%%> with casts and such:
<% ((CagegoryObject) request.getParameter("CagegoryId")).getCagegoryId().getGif()%>.
Another way would be to use a bean:define tag (be sure to include the bean tag lib before trying this):
<bean:define id="cagegory" type="CagegoryObject" value="<%request.getParameter("cagegoryId")%>" />
then you can write
<img src="images/category${cagegory.cagegoryId.gif}" width="120" height="40" />
Replace the CagegoryObject with whatever Object cagegoryId is a type of...
I haven't tested this, but it should work...
Claus
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]