Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

include directive doesn't work

 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is my one jsp file


here is my include jsp file



but it doesn't print the address value as expected?
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


try this in your include.jsp and let me know if it doesnt work

also read this ElOrJstlNotWorkingAsExpected
 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my form.jsp


this is my bean.jsp


this is include.jsp


still it doesn't work
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EL is working ? if not please go through the link what i mentioned in my first post.

also lets try this also in your include.jsp
 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but if i use ${param.name} in bean.jsp it is working

then it prints "My name is anarkali"

but if i use ${param.name} in include.jsp it is not working?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic