You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ted Anagnost <an...@comcast.net> on 2004/10/04 07:31:27 UTC

linefeeds in html:textarea causes blank screen when submitted

I have this defined within a <table>:

<html:textarea name="formMain" property="entry" rows="4" cols="50"/>

Everything works fine if I type in text without any linefeeds.  But, if I use linefeeds inside 
the textarea, when I submit the form I get a blank page.  

I'm using Tomcat 5.0, struts 1.2.4

It does not even seem to submit the page to the server.  I get no trace statements from Tomcat if I use
org.apache.commons.logging.simplelog.defaultlog=trace

On Netscape Navigator 7.2 it gives me a blank page.

On Internet Explorer 6.0 it wants to install microsoft's information bar in IE and shows a blank page.

On Opera (latest) it indicates that it displays a dialog which indicates that Opera is asking how to download the indicated file which happens

to be, strangely enough the action file (MyAction.do).

Any idea?

Thanks

Re: linefeeds in html:textarea causes blank screen when submitted

Posted by Shinobu Kawai <sh...@gmail.com>.
Hi Ted,

> Actually the registration example does not work for me if I use linefeeds in 
> the textarea (but does work if
> I don't use linefeeds)
That's peculiar.

> Any other thoughts?
What does the output HTML look like?  And which browser are you using?
If you do the same with plain old HTML, and still get the same problem,
I'd suspect there is a bug in your browser.

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <sh...@gmail.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: linefeeds in html:textarea causes blank screen when submitted

Posted by Ted Anagnost <an...@comcast.net>.
Actually the registration example does not work for me if I use linefeeds in 
the textarea (but does work if
I don't use linefeeds)

Any other thoughts?


----- Original Message ----- 
From: "Shinobu Kawai" <sh...@gmail.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Monday, October 04, 2004 1:11 AM
Subject: Re: linefeeds in html:textarea causes blank screen when submitted


>
> Hi Ted,
>
>> I have this defined within a <table>:
>>
>> <html:textarea name="formMain" property="entry" rows="4" cols="50"/>
>>
>> Everything works fine if I type in text without any linefeeds.  But, if I 
>> use linefeeds inside
>> the textarea, when I submit the form I get a blank page.
>>
>> I'm using Tomcat 5.0, struts 1.2.4
> Works on mine.
>
>> It does not even seem to submit the page to the server.  I get no trace 
>> statements from Tomcat if I use
>> org.apache.commons.logging.simplelog.defaultlog=trace
> Then I think it's your HTML and/or browser.  Is the output HTML as you
> expect it to be?
> Does the Registration example in your struts-examples.war work?
>
> Best regards,
> -- Shinobu Kawai
>
> --
> Shinobu Kawai <sh...@gmail.com>
>
>
> ---------------------------------------------------------------------
> 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


Re: linefeeds in html:textarea causes blank screen when submitted

Posted by Shinobu Kawai <sh...@gmail.com>.
Hi Ted,

> I have this defined within a <table>:
> 
> <html:textarea name="formMain" property="entry" rows="4" cols="50"/>
> 
> Everything works fine if I type in text without any linefeeds.  But, if I use linefeeds inside 
> the textarea, when I submit the form I get a blank page.  
> 
> I'm using Tomcat 5.0, struts 1.2.4
Works on mine.

> It does not even seem to submit the page to the server.  I get no trace statements from Tomcat if I use
> org.apache.commons.logging.simplelog.defaultlog=trace
Then I think it's your HTML and/or browser.  Is the output HTML as you
expect it to be?
Does the Registration example in your struts-examples.war work?

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <sh...@gmail.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org