• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

equal symbol expected?

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have also same problem.. Is this working for anyone? how to assign value to text b??
reply
    Bookmark Topic Watch Topic
  • New Topic