struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Jain" <>
Subject html:form action attribute not set correctly
Date Wed, 01 Jan 2003 15:46:53 GMT
I'm having some problems with a form not setting its action attribute as
expected. For example

  <html:form action="/search" method="get">


  <form name="search-form" method="get" action="/application">

rather than

  <form name="search-form" method="get" action="/application/search">


  <form name="search-form" method="get" action="search">

'/search' is a correctly configured action, if randomly changed to something
else there is a 'cannot retrieve action mapping' message, as expected, and
besides '/application/search' works perfectly if accessed directly.

What am I doing wrong?

Eric Jain

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message