• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Tag Behaves Differently than Std Class  RSS feed

Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanted to write a tag to take text that's all caps and make it mixed case. (e.g. 'SOME COMPANY' becomes 'Some Company') I wrote the routine as a standard class and it works w/o any problems. However, for some reason it behaves differently as a tag. As a tag, the first char is always lowercase. The other changes are fine, but the above example would create 'some Company' when called via a tag by my JSP. Here's the code for the tag. Any advice greatly appreciated. Of course, there's also probably a much more efficient way to do it, too. :-)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!