• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with JSTL

 
sudipto shekhar
Ranch Hand
Posts: 826
Chrome Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i have a JSP page in which i have the following code:


The problem is when the JSP page is compiled it says:



I have placed the jstl.jar and standard.jar file at the appropriate place i.e /WEB-INF/lib

The code works fine when i don't include the varStatus attribute.
Please help me figure out the problem.
 
Dash Abhisek
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I believe this is to do with jstl version that you are using I think varStatus is supported by JSTL 1.1
 
sudipto shekhar
Ranch Hand
Posts: 826
Chrome Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sorry i did not get you. I am using JSTL 1.1
I got the two files from the tomcat installation directory /webapps/jsp-examples/WEB-INF/lib.
I then put these two files in the appropriate directory of my web application i.e /MyWeb/WEB-INF/lib

The two files which we get from tomcat is i think JSTL 1.1.
Still the code does not run.
When i try to run this code:


I get the following error:


Please help me with this as i am not able to figure it out on my own and i am stuck here.
Please help.
[ November 21, 2008: Message edited by: Sudipto Shekhar ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65519
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
D:\JAVA\My Projects\MyWeb\build\generated\src\org\apache\jsp\Result_jsp.java:285: package org.apache.taglibs.standard.tag.rt.core does not exist
That packages exists in standard.jar.

Be sure that you have the correct version of standard.jar and that it is not corrupt. You can use the jar command at the command line, or any Zip program, to inspect the archive.
 
sudipto shekhar
Ranch Hand
Posts: 826
Chrome Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much. Had no idea about that the file can be corrupt!
I have replaced the jstl.jar and standard.jar.
It worked fine.
Thank you very much for the help.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!