You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mi...@wellsfargo.com on 2004/12/10 02:22:29 UTC
Issues switching context paths
I just upgraded to struts 1.2.4, and now we want to move from our app at /, to being /ice/
So I modified my application.xml to be /ice and then pre-pended /ice to all of my actions.
So I went from /appEntryPoint to /ice/appEntryPoint in the struts-config.xml
Now when I navigate to http://www.localhost/ice/appEntryPoint.do....:
I get "Invalid Path to /appEntryPoint requested".
Any ideas on what is wrong?
--------------------
Mick Knutson
Wells Fargo Business Direct Information Systems
(415) 222-1020
"This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation."
--------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [STRUTS] Issues switching context paths
Posted by "Chad Lauritsen (Struts User)" <st...@planetlauritsen.com>.
In the struts-config.xml, you still leave things as /appEntryPoint, and
the same holds true for custom tags e.g.
<html:form action="/appEntryPoint"></html:form>
<html:link action="/appEntryPoint"></html:link>
The struts controller and the taglibs will take /appEntryPoint, find
matching actions, and translate into /ice/appEntryPoint.do for you.
Keep in mind that if you don't use the custom tags, then you may have to
prepend /ice, and add the .do (or whatever you specified in web.xml)
suffix e.g.
<form action="/ice/appEntryPoint.do"></form>
<a href="/ice/appEntryPoint.do?..."></form>
> I just upgraded to struts 1.2.4, and now we want to move from our app at
> /, to being /ice/ So I modified my application.xml to be /ice and then
> pre-pended /ice to all of my actions. So I went from /appEntryPoint to
> /ice/appEntryPoint in the struts-config.xml
>
> Now when I navigate to http://www.localhost/ice/appEntryPoint.do....: I
> get "Invalid Path to /appEntryPoint requested".
>
> Any ideas on what is wrong?
>
> --------------------
> Mick Knutson
> Wells Fargo Business Direct Information Systems
> (415) 222-1020
>
> "This message may contain confidential and/or privileged information. If
> you are not the addressee or authorized to receive this for the
> addressee, you must not use, copy, disclose, or take any action based on
> this message or any information herein. If you have received this
> message in error, please advise the sender immediately by reply e-mail
> and delete this message. Thank you for your cooperation."
> --------------------
>
>
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
--
Chad S. Lauritsen |
3658 Daleford Rd | 216-751-4709
Shaker Heights, OH 44120-5255 | http://planetlauritsen.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Issues switching context paths
Posted by Laconia Data Systems <we...@laconiadatasystems.com>.
Mick-
www.localhost ?
I know http://www.wellsfargo.com and I know http://localhost
but I must confess I do not what www.localhost is
Martin-
----- Original Message -----
From: <Mi...@wellsfargo.com>
To: <us...@struts.apache.org>
Sent: Thursday, December 09, 2004 8:22 PM
Subject: Issues switching context paths
I just upgraded to struts 1.2.4, and now we want to move from our app at /,
to being /ice/
So I modified my application.xml to be /ice and then pre-pended /ice to all
of my actions.
So I went from /appEntryPoint to /ice/appEntryPoint in the struts-config.xml
Now when I navigate to http://www.localhost/ice/appEntryPoint.do....:
I get "Invalid Path to /appEntryPoint requested".
Any ideas on what is wrong?
--------------------
Mick Knutson
Wells Fargo Business Direct Information Systems
(415) 222-1020
"This message may contain confidential and/or privileged information. If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein. If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message. Thank
you for your cooperation."
--------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org