• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts within an existing application

 
Ritu varada
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to understand an existing struts application. I have an existing struts application which has its own build.xml file and everything. I wrote a simple jsp file to add to this application. But, when I make the war file and deploy it, it doesn't not recognize the struts tags like <html:form> etc.. But, the other jsp's have their struts tags properly constructed into html. What am I missing ? Any help would be greatly appreciated!!!
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ritu,

What you are most likely missing is the custom tag library declaration as in:

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
 
Ritu varada
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, Merill. That was so DUMB of me!!! If you are new to something, everything looks so daunting!!! Thanks!!1
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic