File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes ${pageContext} is not working with Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "${pageContext} is not working with Spring" Watch "${pageContext} is not working with Spring" New topic
Author

${pageContext} is not working with Spring

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3334

Hi.
I'm integerating Struts with Spring and every thing is ok.
My JSPs use the following line :
<link ref="${pageContext.servletContect}/styles/style.css" rel .... />
But the pervious line has no effect !
After Rendering the page, the following line appears :
<link ref="org.apache.catalina.core.ApplicationContextFacade@1ff563" ..... />
What is the problem ?
Thanks.
Christophe Verré
Marshal

Joined: Nov 24, 2005
Posts: 14361

But the pervious line has no effect !

Actually, it has some effect ! You are only trying to print the reference to the servlet context.

What are you trying to do ?


[SCBCD Wall of Fame] [My Blog]
All roads lead to JavaRanch
Help Japan. Make a donation.
 
IntelliJ Java IDE
 
subject: ${pageContext} is not working with Spring
 
Threads others viewed
Error while deploying ear in WEBLOGIC 8.1.3
unresolved ejb-link
javax. naming .Name NotFoundException: StoreAccessBean not bound (common error)
Doubt in Final Mock Exam of HFEJB
who is responsible to define role-link
IntelliJ Java IDE