ye...problem solved... i had installed jstl.jar in jboss/lib but dint restart server..so..
Michael Ku
Ranch Hand
Joined: Apr 20, 2002
Posts: 510
posted
0
Jigar, don't feel bad. You should know that all of us have done something like this (ie - forgot to restart the server after changing a web app)at one time or another :-)
Jigar Naik
Ranch Hand
Joined: Dec 12, 2006
Posts: 744
posted
0
No actually there are two lib directories in Jboss
1)D:\jboss-4.0.5.GA\server\default\lib
2)D:\jboss-4.0.5.GA\lib
so i was confused where to put jstl.jar
first i copied jstl.jar in 1)D:\jboss-4.0.5.GA\server\default\lib and restarted the server.. but still it was giving the error.
than at second location 2)D:\jboss-4.0.5.GA\lib
than i dint restart server. it was still giving same error.. but than after 10 mins i restarted server. and it was working fine...
and right now there is no jstl.jar in none of the following location
1)D:\jboss-4.0.5.GA\server\default\lib
2)D:\jboss-4.0.5.GA\lib
but still my application is working fine...
is there any logic behind it ???
Sahid Khan
Ranch Hand
Joined: Jun 27, 2007
Posts: 41
posted
0
and right now there is no jstl.jar in none of the following location
1)D:\jboss-4.0.5.GA\server\default\lib
2)D:\jboss-4.0.5.GA\lib
Is that packaged in your application war file? in WEB-INF/lib?
Jigar Naik
Ranch Hand
Joined: Dec 12, 2006
Posts: 744
posted
0
yes.. i did...
Sahid Khan
Ranch Hand
Joined: Jun 27, 2007
Posts: 41
posted
0
yes.. i did...
And that is why it works. Basically at runtime web server tries to find the library in following order: web server main library (jboss_home/lib), web server particular mode library (jboss_home/mode/lib), then in your application war file (WEB-INF/lib). In fact you should put all java archive files in WEB-INF/lib directory on which your application depends upon.