aspose file tools*
The moose likes Struts and the fly likes JSTL with struts? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JSTL with struts?" Watch "JSTL with struts?" New topic
Author

JSTL with struts?

shaf maff
Ranch Hand

Joined: Sep 07, 2008
Posts: 180
Hi Guys

I am trying to use JSTLs in my JSP page which is using struts 2 framework. I want to use the foreach loop to loop through an array of objects but everytime I include the JSTL tag I get the following error:

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

Where did you place the JSTL jar files?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
shaf maff
Ranch Hand

Joined: Sep 07, 2008
Posts: 180
I thought it comes default with java ? I tried downloading it but the links are just confusing.

http://java.sun.com/products/jsp/jstl/downloads/index.html




.
Cendy Van
Greenhorn

Joined: Nov 06, 2007
Posts: 6
Are you using Servlet version 2.4/ JSP version 2.0 (J2EE 1.4) ?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

See the JSP FAQ for JSTL setup information.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

"Cendy NVY", please check your private messages for an important administrative matter.
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 688


Hi,

Yes, you are right it comes with java but if you are using J2EE 1.5.

If you are use J2EE 1.4 then you have to add jstl jar separately.




Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSTL with struts?