Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

problem while importing output of the URL in JSP using JSTL  RSS feed

 
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have not used JSTL before, so please excuse me if it sounds rather rudimentary.

I am trying to import output of a script in my JSP page, I want to store it in a variable, but for some weird reason I am not able to store it in a variable. However, when I directly import it works fine. Any idea where I should look for the problem?



Any pointers would be highly appreciated!

rgds,
- Manish

 
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your container properly configured to use EL ? Check this FAQ.
 
Manish Hatwalne
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Christophe Verré wrote:Is your container properly configured to use EL ? Check this FAQ.



I checked. I am using JSTL 1.1 and it support "var" attribute, am clueless why it is not working!
What other configuration could be wrong?

TIA,
- Manish
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Manish Hatwalne wrote:I checked. I am using JSTL 1.1 and it support "var" attribute, am clueless why it is not working!
What other configuration could be wrong?
- Manish



you should check if you can use EL. Did you check that your web.xml is correctly configured ?Try the following :

If the URI is not displayed, then EL is not configured properly. You'd have to check your web.xml again.

 
Manish Hatwalne
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Christophe Verré wrote:

Manish Hatwalne wrote:

Christophe Verré wrote:I checked. I am using JSTL 1.1 and it support "var" attribute, am clueless why it is not working!
What other configuration could be wrong?
- Manish



You should check if you can use EL. Did you check that your web.xml is correctly configured ?Try the following :

If the URI is not displayed, then EL is not configured properly. You'd have to check your web.xml again.



I cannot see this I get it as it is and not the value. But I do see output when I simply use -
<c:import url="http://mydomain.tld/doSomething.do"/>

It is only when I try to put in a variable, I don't get the output stored in that variable.
As for configuration, I am using Alfresco 3.3G, so entire web.xml is as it is - we haven't touched it. Any idea how can I get this working?

TIA,
- Manish




  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!