Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can't see the EL syntax problem  RSS feed

 
Melinda Savoy
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the following line of code in my JSP page that I keep getting an EL syntax error on within Eclipse 3.2 but I can't figure out the problem and the new OReilly book states I have it correct:

<LABEL>Repeat Contract:</LABEL>${(req.POType == 'REP') ? 'Y' : 'N'}<BR>

I guess this could be a problem with the validator in Eclipse 3.2 but I wanted to ask this list and make sure before I screwed up something.

Any direction or suggestion would be appreciated.

Thanks.

[ November 02, 2006: Message edited by: Melinda Savoy ]
[ November 02, 2006: Message edited by: Bear Bibeault ]
 
Stefan Evans
Bartender
Posts: 1834
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The real test would be "does it work when you run it?"

If yes, then your syntax is good, and you can probably discount the IDE message.
 
Melinda Savoy
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stefan,

Thanks for the reply. The page still definitely works so I guess I'll just ignore as you stated.

Regards.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!