Re: Context Root for Image Button src attribute

2008-04-29 Thread Jeromy Evans
Jukka Välimaa wrote: Getting the context path in jsp is something struts doesn't really support--something I've had trouble with many times. One way to get around the problem is scriptlet like Jim showed you. Recently, we used url tag for the same purpose: I agree it's strange it's not

Re: Context Root for Image Button src attribute

2008-04-29 Thread Jukka Välimaa
Getting the context path in jsp is something struts doesn't really support--something I've had trouble with many times. One way to get around the problem is scriptlet like Jim showed you. Recently, we used url tag for the same purpose: On Tue, Apr 29, 2008 at 3:22 PM, Jim Kiley <[EMAIL PROTECT

Re: Context Root for Image Button src attribute

2008-04-29 Thread Jim Kiley
I did something like src="<%=request.getContextPath()%>/images/header.gif" On Tue, Apr 29, 2008 at 12:51 AM, Yellek <[EMAIL PROTECTED]> wrote: > > I am trying to write an image button of the form: > > name="search"/> > > where context-root is the configured context root of my web application. >