• 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
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

JSTL not showing results

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,

<input type="text" name="page_id" value="${requestScope.ug_Id}" />

I too got the result from request.attribute by using JSTL.

But, somewhere i am not getting result. It shows empty see my script let code its working fine.



Thanks
Saravanan.S
 
Bartender
Posts: 1845
10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In your scriptlet code you access the variable as: request.getAttribute("MenusList");

In your JSTL code, you access the variable as: ${requestScope.MenuList}

Your attribute name in the JSTL seems to be missing an 's'

 
saravanan sambandam
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Mr. Stefan Evans

I made stupid mistakes.

I am so happy now. Because i removed some of the script lets from my JSPs.


Thanks alot to all.

My heartily thanks to code ranch groups who has supporting me directly or indirectly.
 
reply
    Bookmark Topic Watch Topic
  • New Topic