Daniel, <thanks> for the clarification. </thanks>
On 2/9/07, Daniel Tabuenca <[EMAIL PROTECTED]> wrote:
This may come as a surprise, but html does not really understand tags in the form <span/>. These are added in XHTML so that the html can be well-formed XML. HTML will still work but will simply not interpret the tag.... for example: <p style="color:red" /> Hello World the "/" is ignored so rather than being interpreted as <p style="color:red"></p> Hello World it is interpreted as... <p style="color:red"> Hello World</p> Thus, hello world will unexpectedly be red. This is a common pitfall when moving to using XHTML. In general, you need to use actual closing tags for all elements except for the ones that can never include content. That is you can use: <br /> <area /> <link /> <img /> <param /> <hr /> <input /> <base /> <meta /> and <col /> All other tags you should use open/close tags even if they have no content... so.... <span></span> <div></div> rather than <span /> <div />. Also, notice I put a space between the name of the tag and the " />". This is also for HTML compatibility. So generally you should use <br /> not <br/>. For more information on XHTML/HTML compatibility issues see this link: http://www.w3.org/TR/xhtml1/#guidelines On 2/9/07, Daniel Jue <[EMAIL PROTECTED]> wrote: > This reply is a bit off topic, but I thought <tag/> was perfectly > acceptable, and actually recommended, especially for tags that usually > have no close like <br>. > I've never seen a </br> (doesn't make a lot of sense), but I have been > told to use <br />. I thought some versions of Dreamweaver point this > out to you. Some option about well formatted XML. > > As for the OP, was this only a Tomcat 5 versus 5.5 problem, or a > combination of Tomcat version and Tap version? Which Tap version are > you using? Were you using J 1.5? (have any annotations?) > > Dan > > On 2/8/07, Daniel Tabuenca <[EMAIL PROTECTED]> wrote: > > Strange. When I see errors like this the first thing I typically think > > is weird errors in your javascript or non-standard html. I used to run > > into strange bugs before because of doing non-standard html such as > > writing <span/> rather than <span></span>. Always use firebug or some > > other development verification tool to verify that your > > html/css/javascript etc... are valid, especially if things work in one > > browser but not another. > > > > > > On 2/8/07, Josh Joy <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > I checked my tomcat configuration, and on the box I > > > had tomcat 5 > > > installed rather than tomcat 5.5 > > > After reinstalling, the problem disappeared. > > > > > > Thanks, > > > Josh > > > > > > Josh Joy wrote: > > > > Hi All, > > > > > > > > I'm having an odd situation pop up...I have a page > > > > which has several > > > > directlinks on it. The page shows search results, > > > and > > > > the directlinks > > > > are basically new query terms, ie will basically > > > link > > > > back to the same > > > > page just different data. Each of these directlinks > > > > invoke a listener > > > > and pass a parameter to it. > > > > > > > > The issue I'm seeing, is that on the initial page > > > > load, all the > > > > directlinks seems to be working. However, only in > > > > firefox, when I click > > > > the directlink again, the listener is not invoked (I > > > > also added debug > > > > statements to the method and see no entry) and all I > > > > see instead is a > > > > blank html page. Though, when I do this in Internet > > > > Explorer, everything > > > > works fine. Has anyone seen anything like this? The > > > > only thing I can > > > > think of is that my URL is too long and firefox > > > can't > > > > handle it and ie > > > > can? Though when I look at the url on the initial > > > page > > > > load and > > > > subsequent hits, it seems to be the exact same? > > > > > > > > Thanks in advance, > > > > Josh > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]