The jsp code:

<html:form action="/processMain.do" method="POST">
...
</html:form>

When rendered produces the html:

<form action="/Application/processMain.do" method="POST">
...
</form>

My modified form tag produces the code:

<form action="/dev/Application/processMain.do" method="POST">
...
</form>

The application is hosted at

http://appserver.com:6000/Application/

but since we are using a apache to proxy requests to the app server the end
user sees

http://devserver.com/dev/Application/

For what its worth I have had to override the html:link tag to do the same
thing my modified form ta g is doing (so my index page links work). I would
prefer using the out of the box tag libs but I am not clear how the
combination of html:base and html:link would resolve my problem. Could you
provide a specific example?


----
Someone else with the same issue. I tried modifing my forwardPattern
attribute to no avail.
http://groups.google.com/group/comp.lang.java.programmer/browse_frm/thread/efabed9f151fbf61/77826e1486db5d87?tvc=1&q=struts+relative+path+not+found&hl=en#77826e1486db5d87

On 2/2/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
>
> Frank W. Zammetti wrote the following on 2/2/2006 3:33 PM:
> > On Thu, February 2, 2006 3:22 pm, Rick Reumann said:
>
> > I haven't been following this thread, but on this particular point...
> > IIRC, the "context name" is defined as the first part of the URI
> following
> > the host:port/ portion.  So, in the URI
> > http://devserver.com/dev/Application the context name is actually dev,
> and
> > Application is just a path underneath the context.
> >
> > Not sure if this helps any (or even with 100% certainty if I'm right,
> > although this is my recollection).
>
> Good point. Thanks. I see the problem now.
>
>
> --
> Rick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to