This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

.jspf question

 
Chatura Dilan
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I create a .jspf file and put ${param.subTitle} as HF page 408, but when i run the file it displays ${param.subTitle} instead of the value. so my problem is can we compile .jspf files like .jsp files?

I used netbeans IDE for do that and there is no option to compile .jspf fragments in netbeans

Sorry for the editing
[ August 08, 2008: Message edited by: Chatu Dil ]
 
Anand Bhatt
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is just like any other .jsp file.
In your case might be you are not using the correct web.xml,that causing problem while parsing the EL function.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using Tomcat, you need to add a servlet mapping to the "jsp" servlet in conf/web.xml.
 
Chatura Dilan
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi thanks, but i dont understand what to put in the web.xml file regarding .jspf
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean that you're dealing with jspf files and you still can't read a web.xml ?
In Tomcat's conf/web.xml, search for :

and add

[ August 08, 2008: Message edited by: Christophe Verre ]
 
Chatura Dilan
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wow, now it works thanks Christophe
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic