permaculture playing cards*
The moose likes Struts and the fly likes upgrading Struts1.0 to Struts 1.2.7 problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "upgrading Struts1.0 to Struts 1.2.7 problem" Watch "upgrading Struts1.0 to Struts 1.2.7 problem" New topic
Author

upgrading Struts1.0 to Struts 1.2.7 problem

Monoj Barma
Greenhorn

Joined: Oct 20, 2005
Posts: 9
Hi All,
I am working on migrating my struts 1.0 application to struts 1.2.7.
While doing so i am getting the following error.
Does anyone has any idea on this?

ServletException in '/account/pgAccountSummary.jsp': Define tag can contain only one of name attribute, value attribute, or body content

thanks in advance!
Aaron Ting
Ranch Hand

Joined: Dec 13, 2005
Posts: 78
Originally posted by Monoj Barma:
Hi All,
I am working on migrating my struts 1.0 application to struts 1.2.7.
While doing so i am getting the following error.
Does anyone has any idea on this?

ServletException in '/account/pgAccountSummary.jsp': Define tag can contain only one of name attribute, value attribute, or body content

thanks in advance!



Greetings, Monoj.

Well, i guess there are some changes in the .tld files of Struts in some of the 1.2.* versions... so, you might want to check out on the errors through these area.

You could also take a look at this URL for more details of the upgrade..

*Cheers*


If you can't convince them, confuse them!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: upgrading Struts1.0 to Struts 1.2.7 problem
 
Similar Threads
struts dont work with web xml DTD 2.4?
How to using DWR with Struts?
Does WSAD5.0 support Struts1.1 and 1.2
Skip validation when form not submitted
Setting up JDBC for Struts 1.2