• Post Reply Bookmark Topic Watch Topic
  • New Topic

general query  RSS feed

 
modesty brenin
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am making this small project to submit for practical classes in college using servlets and jsp.
in jsp pages i am using el, jstl.
my teacher asked me to change jstl with scriplets because he thinks its not widely used in industry as a suggestion.
i am not sure . why not used in industry? he didn't give me reasons.
no information on internet. i need to get into this.?

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66157
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
modesty brenin wrote:my teacher asked me to change jstl with scriplets because he thinks its not widely used in industry as a suggestion.

Your teacher is an idiot.

i am not sure . why not used in industry? he didn't give me reasons.

Because he can't. The use of scriptlets, though unfortunately still prevalent by those who don't know any better, is highly discouraged by knowledgeable senior developers.

no information on internet. i need to get into this.?

Tell him I said he's got a lot to learn.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37181
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tell your teacher to google "scriptless jsp" and note there are more than 60K hits. You may want to leave out that the author of the second hit thinks the teacher is an idiot .

Also have your teacher google "scriptlets jsp bad practice". The first hit is from Sun which is quite official. Section 4.2.6.8 of the first link is titled "Using Custom Tags to Avoid Scriptlets "

These two google searches are so you have something on the internet to point to.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear's opinion was my first thought when I read your post.
 
modesty brenin
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you guys . it is a great help. you threw a lot pressure out of my head.
i too hate scriplets they make coding so wordy.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!