• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

struts login example issue

 
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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




ApplicationResources.properties 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...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.

strutsError.jpg
[Thumbnail for strutsError.jpg]
struts error
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic