that's no matter if you write in Your HTML file:Interesting... would equalsIgnoreCase be more appropriate, or are you sure it'll always be in upper case? My jsp currently has: <html-el:form action="/chooseProfile"> which turns into: <form name="chooseProfileForm" method="post" action="/bendev/chooseProfile.do"> so I'm guessing that 'post' will be lowercase.
<form name="chooseProfileForm" method="post" action="/bendev/chooseProfile.do">
or
<form name="chooseProfileForm" method="POST" action="/bendev/chooseProfile.do">
because request.getMethod() returns HTTP method and request.getMethod().toString() is always uppercase
Thanks! This is a much better solution, so I can change the name of the Submit button without breaking it.
that's it !
plastic -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

