Re: line breaks

2003-01-21 Thread Ben Starr
I looked into this once and as far as I can remember browsers will happily read files containing \r (Mac), \n (Unix) or \r\n (Windows) line breaks and display them as separate lines in a text area. However, when they are submitted back to the server they are always submitted as just \r. I'm not sur

Re: exception handling in actionForm validate method

2003-01-21 Thread Ben Starr
o the exception that is thrown. Provided you have set up the page correctly the user will be redirected back to the form and the error message(s) displayed in place of the tag. Ben Starr -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Tag to print value of a parameter?

2003-01-21 Thread Ben Starr
ch as: <%= request.getParameter("name") %> but it would be nicer to do it with a struts tag. If such a tag is not available then I suggest it should be added! Thanks, Ben Starr -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>