i said the Servlet specification DTD is specified on web.xml i do NOT suggest you change the DTD in web.xml to a different spec (as previous poster stated)
http://cwiki.apache.org/WW/using-struts-and-xwork-with-jsp-20-and-jstl-11.html we see jstl 11 and jsp20 is implemented for Struts 2.x so the answer is with target deployment env first a few questions on target env container? which version Weblogic? whcih version GF? which version OAS? also your dev environment is out of date i would suggest d/l and installing Oracle Jdev 11 Update 2 http://www.oracle.com/technology/software/products/jdev/htdocs/soft11.html please note the following issues JDeveloper 11 has with legacy Struts code Struts issues Struts and Model1 databinding will no longer support JSP 1.2. Clients wishing to stay with JSP 1.2 should instead use JDeveloper 10.1.3. JSP2+ is fully supported in this release. // Next to exercise JSP 2.x tags i would write and deploy the JSP 2.x simpletaghandler available at http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jsps/simpletag/How-to-SimpleTagHandler.html Your JSP 2.0 specific DynamicAttributes will now be supported in JDeveloper Environment (java doc available at) http://java.sun.com/javaee/5/docs/api/javax/servlet/jsp/tagext/DynamicAttributes.html any (embedded) container such as OC4J would also need to support JSP 2.x spec I have entire Oracle Developer/Container and Database suite installed here as this is not related to Struts but related to Oracle tools feel free to email me offline I hope that answers your question! Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: egiv...@state.pa.us > To: user@struts.apache.org > Date: Wed, 3 Jun 2009 08:55:26 -0400 > Subject: RE: S2: on Servlet 2.3 > > I think the problem with the 2.1.6 release I have is that even if rewrite the > TLD file as a 1.2 version, any of the UI Tags that are based on > org.apache.struts2.views.jsp.ui.AbstractUITag which implements > javax.servlet.jsp.tagext.DynamicAttributes will cause an issue. > > In an older IDE (JDEV 10.1.2), it displays an error: "Error: > java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/DynamicAttributes". > > Is the 2.0.x branch dead, or are fixes still ported to that version? > > If I want to continue to use Struts, should I just stick with the 1.3.x line > until I get a newer Application Server environment? > > Thanks again for the help, > > Eric > > -----Original Message----- > From: Dave Newton [mailto:newton.d...@yahoo.com] > Sent: Tuesday, June 02, 2009 12:39 PM > To: Struts Users Mailing List > Subject: Re: S2: on Servlet 2.3 > > > The issue is getting S2 to run on a 2.3 container, not how to specify > the version in a web.xml. Web.xml changes won't change S2's ability (or > lack thereof) to *run* under that version. > > Martin Gainty wrote: > > Eric > > > > the supported version is specified in DTD spec at head of webapp > > /WEB-INF/web.xml > > > > <?xml version="1.0" encoding="ISO-8859-1"?> > > <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web > > Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> > > <web-app> > > > > where referenced DTD contains > > <!-- > > This is the XML DTD for the Servlet 2.3 deployment descriptor. All > > Servlet 2.3 deployment descriptors must include a DOCTYPE of the > > following form: > > > > <!DOCTYPE web-app PUBLIC > > "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > > > --> > > > > Viel Gluck! > > Martin > > ______________________________________________ > > Verzicht und Vertraulichkeitanmerkung > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte > > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht > > dient lediglich dem Austausch von Informationen und entfaltet keine > > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von > > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > > > > > > > > > > > > > >> From: egiv...@state.pa.us > >> To: user@struts.apache.org > >> Date: Tue, 2 Jun 2009 11:24:16 -0400 > >> Subject: RE: S2: on Servlet 2.3 > >> > >> I just downloaded the 2.0.14 from the apache site and the > >> struts-tags.tld file is definitely 1.2 as opposed to the one included > >> with the 2.1.6 release which is newer (uses the JSP 2.x xml schema > >> definition). > >> > >> -----Original Message----- > >> From: Dave Newton [mailto:newton.d...@yahoo.com] > >> Sent: Tuesday, June 02, 2009 11:21 AM > >> To: Struts Users Mailing List > >> Subject: Re: S2: on Servlet 2.3 > >> > >> > >> Givler, Eric wrote: > >>> Can you respond with a specific version that you used? 2.0.? > >> Probably around 2.0.4-ish, although I really have no clue at this > >> point. I might be able to find out specifically in a day or two if > >> it's still in their source control. > >> > >> Dave > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >> For additional commands, e-mail: user-h...@struts.apache.org > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >> For additional commands, e-mail: user-h...@struts.apache.org > >> > > > > _________________________________________________________________ > > Insert movie times and more without leaving Hotmail(r). > > http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > _________________________________________________________________ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009