Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp page using struts 1.1 html tags,not getting textbox

 
vamsi naki
Ranch Hand
Posts: 61
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I made a simple jsp page using struts html tags .I am not getting the textboxes or the submit button
 
jatan bhavsar
Ranch Hand
Posts: 297
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Add struts tag library in jsp.
<%@ taglib prefix="html" uri="/struts-tags"%> then it should work.

Regards
Jatan
 
vamsi naki
Ranch Hand
Posts: 61
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
i added the line which you mentioned in my jsp file ,i got an error message saying "cannot find the tag library descriptor for /struts-tags" .So i added a jar struts-taglib-1.3.10 jar in my lib folder.But still i am getting the same error message
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Need to add taglib directive in jsp,

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

uri should be a location of where you put a struts-html.tld file, in my case it is "/WEB-INF/struts-html.tld" folder.

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic