Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

equal symbol expected?

 
Bianca Deloso
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?
 
Anonymous
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.
 
manasa teja
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??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic