Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

equal symbol expected?

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get the error "equal symbol expected" whenever I use this line of code:

But when I don't use the html tags of struts (see code below) it's working fine. How come?
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


But when I don't use the html tags of struts (see code below) it's working fine. How come?


The problem is that you are trying to nest tags. When not using Struts tags, then you have a simple HTML tag which is interpreted by the browser. In case of Struts tags it is handled by the appropriate tag class.
And it is definitly not possible to nest
but try it like this

[ October 20, 2003: Message edited by: Oliver Refle ]
 
Bianca Deloso
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Oliver,
I tried out your code but it's giving me an: "Unterminated tag" error.
 
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have also same problem.. Is this working for anyone? how to assign value to text b??
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic