aspose file tools*
The moose likes Struts and the fly likes jsp page using struts 1.1 html tags,not getting textbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "jsp page using struts 1.1 html tags,not getting textbox" Watch "jsp page using struts 1.1 html tags,not getting textbox" New topic
Author

jsp page using struts 1.1 html tags,not getting textbox

vamsi naki
Ranch Hand

Joined: May 18, 2011
Posts: 46
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

Joined: Jul 23, 2008
Posts: 296

Hi,

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

Regards
Jatan
vamsi naki
Ranch Hand

Joined: May 18, 2011
Posts: 46
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

Joined: Jul 10, 2008
Posts: 368
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.


Thanks,
Shailesh
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: jsp page using struts 1.1 html tags,not getting textbox