• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using struts taglib without the framework

 
John Robert
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ranchers,
I am writing an application, where I want to use the struts taglib only not the frame work. When I tried doing that I get an error struts tags without associated filter. I am using struts version 2.1.8

thanks
 
Lorand Komaromi
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you do that..? Isn't JSTL good enough?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why on earth would you want to use Struts 2 tags without Struts 2?

In any case, there is no possible way that will work. The Struts 2 tags are just that: Struts 2 tags, and will not survive outside of their natural habitat.
 
John Robert
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok thanks. I will look into jstl. I worked on struts 1.1 and am comfortable with struts tags. I belive I read somewhere struts tags can be used without the framework, may be I read it in the wrong context. I am trying to look for a taglib, that would help me maintain the state of elements on the JSP across requests.

Thanks
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, that's never been true, in Struts 1 or Struts 2.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic