Konstantyn, Including struts-tag.tld in web.xml neither needed nor recommended to declare the Struts 2 tag library.
-- Regards, Artashes Hovasapyan 2009/9/25 Konstantyn Harasevich <harasev...@yandex.ru> > Hi > > Thanks for response.This issue is resolved vith struts-tag.tld > > > > ----- Original Message ----- > *From:* Artashes Hovasapyan <artashes.hovasap...@gmail.com> > *To:* harasev...@yandex.ru > *Cc:* java-ee-j2ee-programming-with-passion@googlegroups.com > *Sent:* Friday, September 25, 2009 9:12 AM > *Subject:* Re: [java ee programming] Re: Struts 2 Please see details > > One thing that can happen is that your struts2-core.jar is not deployed to > the server. If you use NetBeans and struts2-core.jar is in project > libraries then you'll have it resolved to WEB-INF/lib directory. If you > use Eclipse then you should have it in Java EE Module Dependencies (in > Project Properties). > > -- > Regards, > Artashes Hovasapyan > > > 2009/9/17 Konstantyn Harasevich <harasev...@yandex.ru> > >> Hello >> >> Here is web.xml from Struts2 sample project >> >> >> *<?xml version="1.0" encoding="UTF-8"?> >> <web-app id="WebApp_9" version="2.4" xmlns="** >> http://java.sun.com/xml/ns/j2ee* <http://java.sun.com/xml/ns/j2ee>*" >> xmlns:xsi="**http://www.w3.org/2001/XMLSchema-instance*<http://www.w3.org/2001/XMLSchema-instance> >> *" >> xsi:schemaLocation="**http://java.sun.com/xml/ns/j2ee*<http://java.sun.com/xml/ns/j2ee> >> * >> **http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd*<http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd> >> *">* >> ** >> * <display-name>Struts Blank</display-name>* >> ** >> * <filter> >> <filter-name>struts2</filter-name> >> >> <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class> >> </filter>* >> ** >> * <filter-mapping> >> <filter-name>struts2</filter-name> >> <url-pattern>/*</url-pattern> >> </filter-mapping>* >> ** >> * <welcome-file-list> >> <welcome-file>index.html</welcome-file> >> </welcome-file-list>* >> ** >> *</web-app> >> * >> If here is solution to problem please show where ? >> >> Thanks >> >> >> >> ----- Original Message ----- From: "Harasevich Kostia" < >> harasev...@yandex.ru> >> To: <java-ee-j2ee-programming-with-passion@googlegroups.com> >> Sent: Thursday, September 17, 2009 4:22 PM >> Subject: [java ee programming] Struts 2 Please see details >> >> >> Hello >> >> When running samples struts 2 >> >> Here is exception relative to this taglib in NetBeans7.1: >> <%@ taglib uri="/struts-tags" prefix="s" %> >> >> >> >> org.apache.jasper.JasperException: /example/HelloWorld.jsp(2,41) PWC6117: >> File "/struts-tags" not found >> at >> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:73) >> at >> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:359) >> at >> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:153) >> >> >> Do not now reason why this error appear , beacause struts2-core-2.0.11.jar >> is on classpath ? >> >> Thanks. >> >> -- >> Почта со встроенным плеером находится здесь: >> http://mail.yandex.ru/promo/new/wysiwyg >> >> >> >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---