This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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


Win a copy of Head First Android this week in the Android forum!
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: 56
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: 297

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: 56
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp page using struts 1.1 html tags,not getting textbox
 
It's not a secret anymore!