Searching the web provides several possible solutions. What server are you running? Some have a bundled version of Struts. What libraries are you deploying? Have you verified the versions of all the deployed libraries (and verified that deployment is happening correctly)?
Vadim Vararu
Ranch Hand
Joined: Jan 03, 2009
Posts: 147
posted
0
I'm using tomcat 6.x without any bundled version of framework and latest version of Struts1 downloaded from official site.
This is the .jsp that i try to access:
When i call it with struts taglib declaration line, i get error, when i delete that line, it goes ok. So the problem is in the taglib declaration somewhere i guess.
App servers haven't needed extracted TLDs for years, and TC6 certainly doesn't.
Vadim Vararu
Ranch Hand
Joined: Jan 03, 2009
Posts: 147
posted
0
Here is the list of libraries i deploy:
.......................................................
antlr-2.7.2
bsf-2.3.0
commons-beanutils-1.8.0
commons-chain-1.2
commons-digester-1.8
commons-fileupload-1.1.1
commons-io-1.1
commons-logging-1.0.4
commons-validator-1.3.1
jstl-1.0.2
oro-2.0.8
standard-1.0.6
struts-core-1.3.10
struts-el-1.3.10
struts-extras-1.3.10
struts-faces-1.3.10
struts-mailreader-dao-1.3.10
struts-scripting-1.3.10
struts-taglib-1.3.10
struts-tiles-1.3.10
...........................................................
I don't have any .tld-s in web-inf directory. I just write in .jsp-s write uri and container do extract .tld-s by itself. It is correct, isn't it?
What does your web.xml look like? I can't reproduce this, so right now I'm thinking there's a deployment or configuration issue. I'd also recommend removing any libraries you're *not* using.
Vadim Vararu
Ranch Hand
Joined: Jan 03, 2009
Posts: 147
posted
0
Uhhh... it was an Eclipse issue. I just didn't deploy libraries correctly.
Amandeep Singh
Ranch Hand
Joined: Jul 17, 2008
Posts: 837
posted
0
David Newton wrote:App servers haven't needed extracted TLDs for years, and TC6 certainly doesn't.