• Post Reply Bookmark Topic Watch Topic
  • New Topic

unable to understnad the syntax of JSTL

 
Anil Deshpande
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am preparing for SCWCD. I am reading Head first series for that purpose. I am unable to get some of the things that they are trying to explain

They write a code something like this:


What is the big deal they are making by claiming that they should have got

but they got

I don't get it? What is this <div class='tipBox'>, Please explain that.

And another problem
This following code in not working at all.(tip.jsp)


The servlet code is :


I am making use of Eclipse IDE, and have imported the jstl and standard jar files in the lib directoty of WEB-INF.

I am unable to understand this concept. please help me. This program is not printing the tip. But if access ${requestScope.CurrentTip} it works perfectly fine.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is this <div class='tipBox'>

That's an HTML div with a CSS class; there's nothing to get, really.

Are you sure they're saying pageContent and not pageContext?
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a Web-Component-Certification-SCWCD forum for questions like these.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!