You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Frank Schaare <lo...@gmx.de> on 2005/02/15 18:12:09 UTC
Problems with Tomcat 4.1.30 (Linux)
Hi,
I´ve developed my Struts application with Tomcat 4.1.30 (Windows).
Everything works fine, i tested my stuff withe different browsers,
different Eclipseversions etc.
There is a fomularBean whitch holds some prefetched data in key-value
maps, some as a vector, some as RowSetDynaBeans, some as hashmaps. This
data feeds my selects like the following example:
<html:option name='actionForm' property='whatever' value=''>please
select ...
<html:optionsCollection name='fomularBean' property='states'/>
</html:option>
Now, i deployed my app in Tomcat 4.1.30 (Linux) and all my selects are
useless ! All values are rendered in the first option like:
please select ...GermanyFranceUSAItaly etc.
I have absolutely no idea what the problem is. Tomcat seems to hav some
problems with those <html:> tags, but they are installed properly an no
exception or problem is logged.
Has anybody ever faced this behaviour or has some hints where to
continue my search ?
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Problems with Tomcat 4.1.30 (Linux)[SOLVED]
Posted by Frank Schaare <lo...@gmx.de>.
Hi,
i solved that problem. I deployed my files with WinSCP and forgot to
copy those JSP´s as textfiles. In Windows, new line is CRLF in Linux it
is LF.
This little difference makes a lot of damage if taglibs are used...
So long
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Problems with Tomcat 4.1.30 (Linux)
Posted by Jeff Beal <jb...@webmedx.com>.
What does the generated HTML source look like?
Frank Schaare wrote:
> Sorry, i wrote that example right out of your mind.
> <html:optionsCollection/> is nested inside the <html:select>
>
> that is not my problem.
> Jeff Beal schrieb:
>
>> The <html:select/> renders an HTML <select/> element.
>> The <html:option/> renders a single <option/> element
>> The <html:optionsCollection/> renders several <option/> elements.
>>
>> <html:option/> should not contain <html:optionsCollection/>, both
>> should be included inside of an <html:select/> tag:
>>
>> <html:select>
>> <html:option>...</html:option>
>> <html:optionsCollection/>
>> </html:select>
>>
>> -- Jeff
>>
>> Frank Schaare wrote:
>>
>>> <html:option name='actionForm' property='whatever' value=''>please
>>> select ...
>>> <html:optionsCollection name='fomularBean' property='states'/>
>>> </html:option>
>>>
>>> Now, i deployed my app in Tomcat 4.1.30 (Linux) and all my selects
>>> are useless ! All values are rendered in the first option like:
>>> please select ...GermanyFranceUSAItaly etc.
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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: Problems with Tomcat 4.1.30 (Linux)
Posted by Frank Schaare <lo...@gmx.de>.
Sorry, i wrote that example right out of your mind.
<html:optionsCollection/> is nested inside the <html:select>
that is not my problem.
Jeff Beal schrieb:
> The <html:select/> renders an HTML <select/> element.
> The <html:option/> renders a single <option/> element
> The <html:optionsCollection/> renders several <option/> elements.
>
> <html:option/> should not contain <html:optionsCollection/>, both should
> be included inside of an <html:select/> tag:
>
> <html:select>
> <html:option>...</html:option>
> <html:optionsCollection/>
> </html:select>
>
> -- Jeff
>
> Frank Schaare wrote:
>
>> <html:option name='actionForm' property='whatever' value=''>please
>> select ...
>> <html:optionsCollection name='fomularBean' property='states'/>
>> </html:option>
>>
>> Now, i deployed my app in Tomcat 4.1.30 (Linux) and all my selects are
>> useless ! All values are rendered in the first option like:
>> please select ...GermanyFranceUSAItaly etc.
>
>
>
> ---------------------------------------------------------------------
> 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: Problems with Tomcat 4.1.30 (Linux)
Posted by Jeff Beal <jb...@webmedx.com>.
The <html:select/> renders an HTML <select/> element.
The <html:option/> renders a single <option/> element
The <html:optionsCollection/> renders several <option/> elements.
<html:option/> should not contain <html:optionsCollection/>, both should
be included inside of an <html:select/> tag:
<html:select>
<html:option>...</html:option>
<html:optionsCollection/>
</html:select>
-- Jeff
Frank Schaare wrote:
> <html:option name='actionForm' property='whatever' value=''>please
> select ...
> <html:optionsCollection name='fomularBean' property='states'/>
> </html:option>
>
> Now, i deployed my app in Tomcat 4.1.30 (Linux) and all my selects are
> useless ! All values are rendered in the first option like:
> please select ...GermanyFranceUSAItaly etc.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org