You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Tim Sawyer <ts...@nildram.co.uk> on 2002/02/21 16:25:18 UTC
Re: 400 - Fixed
Good plan.
This:
<action path="/TimTest"
type="com.pancredit.webtoolkit.modules.addfindparty.SelectPartyAction"
name="addFindPartyModuleForm"
scope="session"
input="/AddFindParty/FindPartyResults.jsp">
</action>
Gives a 404, page not found - Resource /TimTest.do not found on this server
The call is done using just an a href:
<a href="/TimTest.do?ID=<bean:write name="element" property="ID"/>"><bean:write name="element" property="name"/></a> <bean:write name="element" property="dateOfBirth"/><br>
I've just modified it to use <html:link> instead....and it's now producing validation errors. Which is progress. :-)
Cheers,
Tim.
KeithBacon <ke...@yahoo.com> wrote :
> I have mine defined with a / in front
>
>
> --- Tim Sawyer &lang=en">tsawyer@nildram.co.uk>
> wrote:
> > My strange problem just got stranger. I decided that I'd try out the code
> on
> > Orion, which is our deployment server, rather than Tomcat. After fixing
> some
> > problems where Orion was stricter than Tomcat, I finally got so I could
> run
> > the code which used 100% CPU on Tomcat.
> >
> > This time, I get a 400 Bad Request error. Wierdness abounds. Remember,
> I've
> > already sucessfully run a do to fetch the list of people from the
> database,
> > now I want to select one.
> >
> > My action mapping looks like this (I've been renaming it, but that makes
> no
> > difference):
> >
> >
> >
> > type="com.pancredit.webtoolkit.modules.addfindparty.SelectPartyAction"
> > name="addFindPartyModuleForm"
> > scope="session"
> > input="/AddFindParty/FindPartyResults.jsp">
> >
> >
> > I'm calling this URL from the FindPartyResults.jsp:
> >
> > http://avocet/StrutsTest/TimTest.do?ID=152635
> >
> > And I'm getting this error:
> >
> > 400 Bad Request
> > Invalid path /TimTest was requested
> >
> > Can someone point me in a direction that may help, because this is driving
> me
> > bonkers. :-)
> >
> > Cheers,
> >
> > Tim.
> >
> >
> >
> > --
> > To unsubscribe, e-mail: &lang=en">struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: &lang=en">struts-user-help@jakarta.apache.org>
> >
>
>
> =====
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Search the archive:-
> http://www.mail-archive.com/struts-user%40jakarta.apache.org/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Keith Bacon - Looking for struts work - South-East UK.
> phone UK 07960 011275
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
>
> --
> To unsubscribe, e-mail: &lang=en">struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: &lang=en">struts-user-help@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>