This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

struts login example issue  RSS feed

Mathew Lee
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying to run a struts 1.1 login example in RAD 7.0 within websphere 6.1 server. My code looks as follows. It has simple form, action, three simple jsps and a validation. When i try to run it giving error saying 'unable to locate tag library tags-html as in attachment looks like

userLogin.jsp looks like

userLoginSuccess looks like

struts-config looks like

web.xml looks like

UserLoginAction looks like

userLoginForm looks like

i tried to add struts-taglib-1.3.8 from location D:\Program Files\Genuitec\MyEclipse 7.5\configuration\org.eclipse.osgi\bundles\10\1\.cp\lib but says duplicate entry( by the way same application with same code working fine in myEclipse not in RAD it is going to index page but within that page when i click

'click here' giving error message like tags-html

as in screenshot.

I tried to add the taglib

as given in above link and some syntax errors coming in web.xml. Please advise on how i can resolve it.

Any ideas, suggestions, sample code, links highly appreciated. Thanks in advance.

[Thumbnail for strutsError.jpg]
struts error
David Newton
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you try to use the tag libraries from 1.3 in a 1.1 app?! Why would you use 1.1 at all, for that matter?

What Struts lib(s) are you deploying, and where are they located in your app hierarchy?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!