aspose file tools*
The moose likes Struts and the fly likes Struts within an existing application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts within an existing application" Watch "Struts within an existing application" New topic
Author

Struts within an existing application

Ritu varada
Ranch Hand

Joined: Sep 08, 2004
Posts: 117
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!!!


SCJP,SCWCD(1.4)
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
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" %>


Merrill
Consultant, Sima Solutions
Ritu varada
Ranch Hand

Joined: Sep 08, 2004
Posts: 117
Thank you, Merill. That was so DUMB of me!!! If you are new to something, everything looks so daunting!!! Thanks!!1
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts within an existing application