Re: Does the StrutsTestCase test filters defined in web.xml?

2012-05-15 Thread J. Garcia
o I'll look into this further. > > Cheers, > > Miguel Almeida > > > Cheers, > > > > Steve > > > > -Original Message- > > From: Miguel Almeida [mailto:mig...@almeida.at] > > Sent: 14 May 2012 10:16 > > To: user@struts.apache.org

Re: Does the StrutsTestCase test filters defined in web.xml?

2012-05-14 Thread Łukasz Lenart
You can try to use Jetty as an embedded server, take a look on BasePortletTest in Portlet Plugin Regards -- Łukasz http://www.lenart.org.pl/ mobile +48 606 323 122, office +27 11 0838747 Warszawa JUG conference - Confitura http://confitura.pl/ ---

RE: Does the StrutsTestCase test filters defined in web.xml?

2012-05-14 Thread Miguel Almeida
> Cheers, > > Steve > > -Original Message- > From: Miguel Almeida [mailto:mig...@almeida.at] > Sent: 14 May 2012 10:16 > To: user@struts.apache.org > Subject: Does the StrutsTestCase test filters defined in web.xml? > > Dear all, > > I am using StrutsSp

RE: Does the StrutsTestCase test filters defined in web.xml?

2012-05-14 Thread Steve Higham
Hi Miguel, I haven't used the StrutsSpringTestCase however I have made use of the StrutsTestCase. This only tests the interceptor stack / Action / Result. There is no web server involved and no attempt to render the resulting page. Therefore I would be surprised if anything from web.x

Does the StrutsTestCase test filters defined in web.xml?

2012-05-14 Thread Miguel Almeida
Dear all, I am using StrutsSpringTestCase (which extends StrutsTestCase) to perform some acceptance tests (under the skin). I am also using Displaytag (www.displaytag.org/1.2/ ) to build some tables in the view. This tag supports excel/pdf export, which uses a filter you configure in web.xml [1

Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu
Struts Users Mailing List, em...@encs.concordia.ca Date: 07/28/2011 03:30 PM Subject: Re: how web.xml load several tile files? Did you try the tiles list? Dave On Jul 28, 2011 4:28 PM, "Emi Lu" wrote: Good afternoon, Tiles2.2.2 + s

Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu
Re: how web.xml load several tile files? Did you try the tiles list? Dave On Jul 28, 2011 4:28 PM, "Emi Lu" wrote: Good afternoon, Tiles2.2.2 + struts2.2.3. Web.xml = org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG /WEB-INF/tiles/t1.xml, /WEB-INF/til

Re: how web.xml load several tile files?

2011-07-28 Thread mmckenzie
org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG /WEB-INF/classes/t1.xml,/WEB-INF/classes/t2.xml Mitch From: Emi Lu To: Dave Newton Cc: Struts Users Mailing List Date: 07/28/2011 03:38 PM Subject:Re: how web.xml load several tile files? Hi

Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu
Hi Dave, Could you give an example? Emi On 07/28/2011 04:30 PM, Dave Newton wrote: Did you try the tiles list? Dave On Jul 28, 2011 4:28 PM, "Emi Lu" mailto:em...@encs.concordia.ca>> wrote: > Good afternoon, > > Tiles2.2.2 + s

Re: how web.xml load several tile files?

2011-07-28 Thread mmckenzie
Try removing the return after "t1.xml," Mitch From: Dave Newton To: Struts Users Mailing List , em...@encs.concordia.ca Date: 07/28/2011 03:30 PM Subject: Re: how web.xml load several tile files? Did you try the tiles list? Dave On Jul 28, 2011 4:28 PM, "

Re: how web.xml load several tile files?

2011-07-28 Thread Dave Newton
Did you try the tiles list? Dave On Jul 28, 2011 4:28 PM, "Emi Lu" wrote: > Good afternoon, > > Tiles2.2.2 + struts2.2.3. > > Web.xml > = > > > org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG > > > /WEB-INF/tiles/t1.xml,

how web.xml load several tile files?

2011-07-28 Thread Emi Lu
Good afternoon, Tiles2.2.2 + struts2.2.3. Web.xml = org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG /WEB-INF/tiles/t1.xml, /WEB-INF/tiles/t2.xml Only t1.xml is found; but t2.xml cannot be found

overriding struts.xml settings from web.xml

2011-04-08 Thread Sami Dalouche
Hi, http://struts.apache.org/2.x/webxml.html explains how to set struts2 params from web.xml. I have several questions regarding this : 1/ If the same setting is declared both in web.xml and in struts.xml, which one wins ? 2/ the example sets the setting on StrutsPrepareAndExecuteFilter. What

Re: This absolute uri (http://displaytag.sf.net) cannot be resolved in either web.xml or the jar files deployed with this application

2010-10-21 Thread Li Ying
Are your referencing your tag in jsp by code likes: <%@ taglib prefix="display" uri="http://displaytag.sf.net"; %> I am not sure, but maybe in the old version of JSP specification, you need add this to your web.xml: http://displaytag.sf.net /WEB-INF/tlds/d

Re: This absolute uri (http://displaytag.sf.net) cannot be resolved in either web.xml or the jar files deployed with this application

2010-10-21 Thread Dave Newton
mcat 4.1 > > > > i am using display tag 1.2 > > > > org.apache.jasper.JasperException: This absolute uri > (http://displaytag.sf.net) cannot be resolved in either web.xml or the > jar files deployed with this application > >                at > org.apache.jasp

This absolute uri (http://displaytag.sf.net) cannot be resolved in either web.xml or the jar files deployed with this application

2010-10-21 Thread D.SantoshKumar
be resolved in either web.xml or the jar files deployed with this application at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand ler.java:105) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java :430

Re: FilterDispatcher configuration in web.xml

2009-11-27 Thread phillips1021
lowing > > > struts2 > > org.apache.struts2.dispatcher.FilterDispatcher > > > struts2 > /* > > > > > Thanks, > Kishore > > -- View this message in context: http://old.nabble.com/FilterDispatc

Re: FilterDispatcher configuration in web.xml

2009-11-27 Thread phillips1021
lowing > > > struts2 > > org.apache.struts2.dispatcher.FilterDispatcher > > > struts2 > /* > > > > > Thanks, > Kishore > > -- View this message in context: http://old.nabble.com/FilterDispatc

Re: FilterDispatcher configuration in web.xml

2009-11-27 Thread Wes Wannemacher
I think you can safely map to *.action and /struts/* -Wes On Fri, Nov 27, 2009 at 12:41 AM, Kishore Kumar wrote: > Hi, > > Is there a way to change the FilterDispatcher URL Pattren other than /*? > I am using ICEFaces and struts2 togeather but due to struts2 URL Pattren > ICEFaces requests are

FilterDispatcher configuration in web.xml

2009-11-27 Thread Kishore Kumar
Hi, Is there a way to change the FilterDispatcher URL Pattren other than /*? I am using ICEFaces and struts2 togeather but due to struts2 URL Pattren ICEFaces requests are being ignored. Can i use url-pattren /*.action ? As per the struts documentation it says to use following str

struts2 breaks welcome-file in web.xml for jetty

2009-09-01 Thread Rusty Wright
I'm in the same boat as Steven Mitchell; was this problem ever resolved? http://xrl.in/30sz If I remove the filter for FilterDispatcher from my web.xml then my index.jsp starts working. With FilterDispatcher in, it doesn't work. It works with tomcat with FilterDispatcher in, bu

RE: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml

2009-06-04 Thread Mitchell, Steven
ith a corresponding zero byte file. Steve Mitchell http://www.ByteworksInc.com -Original Message- From: Struts Two [mailto:struts...@yahoo.ca] Sent: Thursday, June 04, 2009 12:55 PM To: Struts Users Mailing List Subject: RE: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml Th

RE: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml

2009-06-04 Thread Struts Two
This is weird, as basic authentication works for me and I have got no problem with it. Anyways,Earlier today, I sent my Struts enterprise file to WAS Level 3 support for testing [form based authentication] and I will keep you posted as soon as I hear sth.

RE: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml

2009-06-04 Thread Mitchell, Steven
Steve Mitchell http://www.ByteworksInc.com -Original Message- From: Wes Wannemacher [mailto:w...@wantii.com] Sent: Thursday, June 04, 2009 11:39 AM To: Struts Users Mailing List Subject: Re: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml For the record, we have requested license

Re: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml

2009-06-04 Thread Wes Wannemacher
le persists.  As a test, I commented out the > Struts 2 filers.  I created a directory matching a secured Struts 2 > namespace, and added a HTML file matching the welcome-file in the web.xml > file.  When I hit the base URL of the protected Strtus2 namespace, > http://myServer/myConte

RE: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml

2009-06-04 Thread Mitchell, Steven
why security did not once I re-enabled it. The problem with the welcome file persists. As a test, I commented out the Struts 2 filers. I created a directory matching a secured Struts 2 namespace, and added a HTML file matching the welcome-file in the web.xml file. When I hit the base URL of

RE: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml

2009-06-03 Thread Mitchell, Steven
To: Struts Users Mailing List Subject: RE: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml Wes, Boy do I wish the client would just use Tomcat! I'll try going down the action route. I'm actually using index.html now, which is a real file that I can access if I type the whole

RE: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml

2009-06-03 Thread Mitchell, Steven
l create a zero byte /webapp/index.action, change my Web.xml from: index.html to: index.action and add an action named "index". Is that correct? Actually, my index.html redirects to /mynamespace/myaction.action. If I just used that I would need to create a directory nam

RE: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml

2009-06-03 Thread Struts Two
I am running Websphere 6.1.0.23 and Basic authentication works for me with the following two properties set: com.ibm.ws.webcontainer.assumefiltersuccessonsecurityerror = true com.ibm.ws.webcontainer.invokefilterscompatibility = true Can you apply fixpack 23 and test? I had two PMRs clo

Re: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml

2009-06-03 Thread Wes Wannemacher
On Wed, Jun 3, 2009 at 4:54 PM, Mitchell, Steven wrote: [...] > >     Error 404: SRVE0190E: File not found: /secure/MySecureAction.action [...] I don't know about all of the problems, but one thing that might help you understand this a little bit... This 404 might not be WAS' fault. In the Spec (

RE: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml

2009-06-03 Thread Mitchell, Steven
I'm down to two issues: BROKEN WELCOME-FILE WebSphere 6.1.0.19 fails to return the welcome-file from the web.xml when presented with the root URL http://myServer/myContext/ of the project. Instead, the request falls through to the Struts2 filter which returns a 404: Error 404: There

RE: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml

2009-06-03 Thread Struts Two
> Can you explain why index.html would work and index.jsp would not? I got > index.html to work Quite frankly, I do not know. I never had this problem when I was using struts 1. I could do something like this in my welcome file [which would invoke an action instead]: index.do and entering htt

RE: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml

2009-06-03 Thread Mitchell, Steven
since I've temporarily yanked security from my web.xml I wouldn't think that would matter. var contextpath = window.location.pathname; var fileIndex = contextpath.indexOf( "index.html" ); if ( fileIndex > 0 ) { contextpath = contextpath.substring( 0 , fileIndex

Re: Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml

2009-06-02 Thread Struts Two
> Typing http://servername/context/ results in "Error 404: There > is no Action mapped for namespace / and action name ." To fix this issue, modify your welcome part of web.xml, index.html create an index.html with the following content: Loading ...

Adding Struts 2.1.6 on WAS 6.1 breaks welcome-file in web.xml

2009-06-02 Thread Mitchell, Steven
Having learned that form-based authentication currently does not currently work with Struts 2.1.x on WAS 6.1 or WAS 7 I stepped back to see what does work. I gutted my web.xml and struts.xml and set about turning things on one at a time. This is what I found: 1. Basic hello world app

Re: Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.

2009-01-07 Thread bakann
> at > weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635) > at > weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) > at > weblogic.application.interna

Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.

2008-12-28 Thread ak78au
in advance, J.C http://www.nabble.com/Could-not-load-user-defined-filter-in-web.xml%3A-org.apache.struts2.dispatcher.FilterDispatcher.-tp21198278p21198278.html Sent from the Struts - User mailing list archive at Nabble.com

Re: welcome.do ignored in my web.xml

2008-11-17 Thread Chris Pratt
Like diogo said, if you put a 0 length, empty text file in your project with the same name as your welcome file, in this case welcome.do, it will trick the container into calling your action. It's a trick I've used for years and it's worked on every container I've used. (*Chris*) On Mon, Nov 17

RE: welcome.do ignored in my web.xml

2008-11-17 Thread Dave Newton
--- On Mon, 11/17/08, Cappelletti Marc wrote: > Yes but an action is a Servlet. Basically. Not really, particularly not from the *container's* point of view, which is what's important here. > With Struts 1.3.9 it works. I've got a project in which this works. In the same environment/with the sa

RE: welcome.do ignored in my web.xml

2008-11-17 Thread Cappelletti Marc
. novembre 2008 01:48 À : Struts Users Mailing List Objet : Re: welcome.do ignored in my web.xml JSPs, HTML files and Servlets will work, but pointing to an action will not. This is not a struts limitation, it was part of the spec. [quote servlet-2_4-fr-spec.pdf] The Web server must append each

Re: welcome.do ignored in my web.xml

2008-11-13 Thread Wes Wannemacher
on *.do in the web.xml file and it works when > I access a struts action directly with the URL (eg: > http://localhost:8080/mcbc/welcome.do > <http://localhost:8080/mcbc/welcome.do> ) > > But, when I go to the root of my webapp (http://localhost:8080/mcbc/ ), > my welcome-file-lis

Re: welcome.do ignored in my web.xml

2008-11-13 Thread diogo pontual
your struts action instead. > > Nils-H > > On Thu, Nov 13, 2008 at 11:42 AM, Cappelletti Marc > <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I've mapped my struts action *.do in the web.xml file and it works when > > I access a struts action direct

Re: welcome.do ignored in my web.xml

2008-11-13 Thread Nils-Helge Garli Hegvik
Your container probably only supports file resources as welcome files. Try creating a jsp that forwards to your struts action instead. Nils-H On Thu, Nov 13, 2008 at 11:42 AM, Cappelletti Marc <[EMAIL PROTECTED]> wrote: > Hi all, > > I've mapped my struts action *.do in the

welcome.do ignored in my web.xml

2008-11-13 Thread Cappelletti Marc
Hi all, I've mapped my struts action *.do in the web.xml file and it works when I access a struts action directly with the URL (eg: http://localhost:8080/mcbc/welcome.do <http://localhost:8080/mcbc/welcome.do> ) But, when I go to the root of my webapp (http://localhost:8080/mcbc/ ),

Re: Adding " tag in web.xml results in Resource not found error on browser

2008-07-23 Thread Jeromy Evans
anaeem wrote: Can any one who has used ServletContextListener class, share their build.xml. Thanks much It's not a build.xml issue. The Resource Not Found error implies your Container failed to start. The log for the Container will contain an error message. In Tomcat this may look like:

Re: Adding " tag in web.xml results in Resource not found error on browser

2008-07-23 Thread Gabriel Belingueres
e >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- &g

Re: Adding " tag in web.xml results in Resource not found error on browser

2008-07-23 Thread anaeem
my JSP and now my JSP > won't render. Why not?" > > See the issue? > > Dave > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.n

Re: Adding " tag in web.xml results in Resource not found error on browser

2008-07-23 Thread Dave Newton
--- On Wed, 7/23/08, anaeem <[EMAIL PROTECTED]> wrote: > When I insert "" tag to my web descriptor file, > application gives 404 error "Resource not Found". When I > remove listener tag it works fine. Please advice some solution. ... Leave the listener element out? But seriously--that's like s

Re: Adding " tag in web.xml results in Resource not found error on browser

2008-07-23 Thread anaeem
Here are some more details: - I like to use context listener class to save datasource information. I have implemented a ServletContextListener named AppListener. Following is the code for Web.xml: - http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchem

Re: Adding " tag in web.xml results in Resource not found error on browser

2008-07-23 Thread Lukasz Lenart
Hi, Maybe some more details? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Adding " tag in web.xml results in Resource not found error on browser

2008-07-23 Thread anaeem
When I insert "" tag to my web descriptor file, application gives 404 error "Resource not Found". When I remove listener tag it works fine. Please advice some solution. -- View this message in context: http://www.nabble.com/Adding-%3CLinstener%3E%22-tag-in-web.xml-results-i

Re: S2: web.xml servlet/filter-mappings

2008-07-15 Thread Alberto A. Flores
Also, please remember that the order of the in web.xml is VERY important. Don Brown wrote: Could you post more information? Struts should only be responding to URI's that contain configured extensions via the struts.action.extension setting, which defaults to "action". Don

Re: S2: web.xml servlet/filter-mappings

2008-07-15 Thread Don Brown
Could you post more information? Struts should only be responding to URI's that contain configured extensions via the struts.action.extension setting, which defaults to "action". Don On Tue, Jul 15, 2008 at 7:01 PM, Mikkel Lindhard <[EMAIL PROTECTED]> wrote: > Hello list > > I have an web-applic

S2: web.xml servlet/filter-mappings

2008-07-15 Thread Mikkel Lindhard
Hello list I have an web-application which use both Struts 2 and Axis 2. Before struts 2.1 i didn't have a problem using the following configuration in web-xml AxisServlet /services/* struts2 /*

Re: hi, what is the difference between specify time out and do not specify the timeout value in the web.xml file

2008-05-13 Thread Alberto A. Flores
Please include container type, version, etc, etc. Laurie Harper wrote: shrimpywu wrote: hi, what is the difference between specify time out and do not specify the timeout value in the web.xml file 30 According to the Servlet specification, if you don't specify

Re: hi, what is the difference between specify time out and do not specify the timeout value in the web.xml file

2008-05-12 Thread Laurie Harper
shrimpywu wrote: hi, what is the difference between specify time out and do not specify the timeout value in the web.xml file 30 According to the Servlet specification, if you don't specify this session timeout will be set to the container's default (which will

hi, what is the difference between specify time out and do not specify the timeout value in the web.xml file

2008-05-12 Thread shrimpywu
hi, what is the difference between specify time out and do not specify the timeout value in the web.xml file 30 before, i do not specify this in the web.xml file when the session has been timeout, i sometime got some exception but after i did that..no exception any more

encoding - web.xml,struts-config.xml

2008-03-03 Thread Raghuveer
I am working on i18n application that needs to be worked in English and Polish language. This application is working on Tomcat Servers on windows system In India, But getting Question Marks Polish language in Poland Windows System. Is there anything that needs to be handled in "we

Re: Problem with web.xml and Struts 1.3

2007-12-14 Thread Indresh Chadha
I'm deploying the ear file on Websphere 5.1. This error occurs only when I try to use the source code. If I use the struts jar file and place it in the lib folder, it works as desired. I've checked in my war file also, the web.xml is present. I'm using th fully

Re: Problem with web.xml and Struts 1.3

2007-12-14 Thread Alberto A. Flores
. Check that web.xml is where is supposed to. - If deployed in weblogic (as it sounds like), try using weblogic.xml to help you getting better logging. Even better, try deploying in a lighter container (e.g. Tomcat, Jetty) - Make sure you have the fully qualified name of the ActionServlet in web.xml

RE: Problem with web.xml and Struts 1.3

2007-12-14 Thread Indresh Chadha
ntains the following line which is giving error: InputStream input = getServletContext().getResourceAsStream("/WEB-INF/web.xml"); I believe since the class file of ActionServlet is now under WEB-INF/classes/org/apache/struts/action, that is why the path "/WEB-INF/web.xml"

Re: In place of *.do in web.xml struts we can put any name

2007-11-05 Thread Antonio Petrelli
2007/11/5, visweswarasarma <[EMAIL PROTECTED]>: > > > > > hi , > > can u help me any body. You can put "*.html" for example :-) Antonio

In place of *.do in web.xml struts we can put any name

2007-11-05 Thread visweswarasarma
hi , can u help me any body. -- View this message in context: http://www.nabble.com/In-place-of-*.do-in-web.xml--struts-we-can-put-any-name-tf4750685.html#a13584324 Sent from the Struts - User mailing list archive at Nabble.com

RE: [ActionServlet] /WEB-INF/web.xml was not found

2007-10-08 Thread ROWLAND, CLAY, ATTSI
in to everyone who has taken the time to read my emails and think about my problem... -Original Message- From: ROWLAND, CLAY, ATTSI Sent: Friday, October 05, 2007 11:08 AM To: Struts Users Mailing List Subject: RE: [ActionServlet] /WEB-INF/web.xml was not found i'm not sure..

RE: [ActionServlet] /WEB-INF/web.xml was not found

2007-10-08 Thread ROWLAND, CLAY, ATTSI
hi dave. you're right. i was experimenting with the web.xml. here is how i think it should look after removing the taglibs: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> action org.apache.struts.action.ActionServlet config /WEB-INF/stru

RE: [ActionServlet] /WEB-INF/web.xml was not found

2007-10-08 Thread ROWLAND, CLAY, ATTSI
, 2007 11:01:50 AM org.apache.struts.action.ActionServlet initServlet SEVERE: The /WEB-INF/web.xml was not found. java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source

RE: [ActionServlet] /WEB-INF/web.xml was not found

2007-10-08 Thread Dave Newton
--- "ROWLAND, CLAY, ATTSI" wrote: > /ticketapp/WEB-INF/struts-config.xml This confuses me; is your application context "ticketapp"? If so I wouldn't think you'd need to preface your /WEB-INF/... with it. As was pointed out the taglib elements in web.xml have been

Re: [ActionServlet] /WEB-INF/web.xml was not found

2007-10-08 Thread Martin Gainty
can you show us stacktrace of the exception (located in $CATALINA_HOME/logs) and display the configuration for your servlet from WEB-INF/web.xml Thanks M-- - Original Message - From: "ROWLAND, CLAY, ATTSI" <[EMAIL PROTECTED]> To: "Struts Users Mailing List"

RE: [ActionServlet] /WEB-INF/web.xml was not found

2007-10-08 Thread ROWLAND, CLAY, ATTSI
original problem which is that the Struts ActionServlet throws an exception when deployed. Oct 8, 2007 10:07:14 AM org.apache.struts.action.ActionServlet initServlet SEVERE: The /WEB-INF/web.xml was not found. java.net.ConnectException: Connection timed out: connect SEVERE: Unable to initialize

RE: [ActionServlet] /WEB-INF/web.xml was not found

2007-10-05 Thread ROWLAND, CLAY, ATTSI
i'm not sure.. i'm not intentionally specifying one. i'm assuming that it would be jboss-web_4_0.dtd since i'm using jboss 4.2.1 and am using the servlet 2.4 spec in j2ee 1.4. is it possible that i'm missing elements in the jboss-web.xml file? i was under the i

RE: [ActionServlet] /WEB-INF/web.xml was not found

2007-10-04 Thread Rajagopal_Yendluri
There is no problem in the web.xml, There may be some problem on "war"ring the file ( means creating .war file). Try to deploy it on other server ,,, say tomcat or any other. If you get the same error message am sure the problem is with WAR. Check out if you can share the war

Re: [ActionServlet] /WEB-INF/web.xml was not found

2007-10-04 Thread Cesar Arevalo
. HTH -Cesar - Original Message From: "ROWLAND, CLAY, ATTSI" <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Thursday, October 4, 2007 3:37:48 PM Subject: [ActionServlet] /WEB-INF/web.xml was not found hi. i'm trying to deploy my first struts 1.3.8 web app on j

[ActionServlet] /WEB-INF/web.xml was not found

2007-10-04 Thread ROWLAND, CLAY, ATTSI
hi. i'm trying to deploy my first struts 1.3.8 web app on jboss-4.2.1 on windows and am getting an exception when i deploy my .war file. 18:15:43,744 ERROR [ActionServlet] The /WEB-INF/web.xml was not found. (please let me know if you'd like to see the full exception text) howeve

Re: automating the generating of web.xml and struts-config.xml

2007-07-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Antoine, Antoine Solomon wrote: > I just wanted to know if there are any technologies used for automatically > creating the web.xml and struts-config.xml files? I dunno about web.xml, but you could write a skeleton struts-config.xml file an

[OT]Re: automating the generating of web.xml and struts-config.xml

2007-07-18 Thread Nuwan Chandrasoma
Hi, Try xdoclets Thanks, Nuwan - Original Message - From: "Antoine Solomon" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 18, 2007 10:54 PM Subject: automating the generating of web.xml and struts-config.xml Hello all, I just wanted to know if there are any t

automating the generating of web.xml and struts-config.xml

2007-07-18 Thread Antoine Solomon
Hello all, I just wanted to know if there are any technologies used for automatically creating the web.xml and struts-config.xml files? Thanks in advanced, -- Antoine W. Solomon Jr.

[S2/S1] Missing Applocation web.xml - redeploy fails

2007-04-18 Thread Harring Figueiredo
Folks, I am having problems redeploying my web app on tomcat 5.0.28/30. It is giving me the error: "Missing Applocation web.xml" I have searched for archives on tomcat and I found several discussions that point to a file locking problem under windows. http://www.javaworld.com/

Re: No taglib element in web.xml v2.4 ?

2006-12-18 Thread Vijay Venkataraman
t tld files in WEB-INF, WEB-INF/tld and specify them in web.xml, but you don't have to. Adding more information to what Mikolaj Rydzewski wrote: As per 2.0 spec of JSP it is enough if the TLD is contained in jar any where with in its META-INF directory / subdirectory. This means it does n

RE: No taglib element in web.xml v2.4 ?

2006-12-18 Thread Dave Newton
clarify, I meant you don't need them in your web.xml; you still need it in the JSPs. d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: No taglib element in web.xml v2.4 ?

2006-12-18 Thread Dave Newton
From: Thomas Thomas [mailto:[EMAIL PROTECTED] > Weird that in Eclipse it doesnt show the taglib element ! > > But I placed this somewhere and it works ! You don't need taglib directives in 2.4. Dave - To unsubscribe, e-mail: [E

Re: No taglib element in web.xml v2.4 ?

2006-12-16 Thread Mikolaj Rydzewski
F/tld and specify them in web.xml, but you don't have to. -- Mikolaj Rydzewski <[EMAIL PROTECTED]>http://ceti.pl/~miki/ PGP KeyID: 8b12ab02 There are three kinds of people: men, women and unix. smime.p7s Description: S/MIME Cryptographic Signature

Re: No taglib element in web.xml v2.4 ?

2006-12-16 Thread Thomas Thomas
It is fixed Weird that in Eclipse it doesnt show the taglib element ! But I placed this somewhere and it works ! thx !

No taglib element in web.xml v2.4 ?

2006-12-16 Thread Thomas Thomas
Hi, I have this declaration for my web.xml : http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> I can s

Re: struts2 web.xml question

2006-12-13 Thread Don Brown
, red phoenix <[EMAIL PROTECTED]> wrote: > I have a filter configure question about struts2,i want to filter character > code in web.xml file,I know how to configure it in struts 1.3, > C:\tomcat\webapps\exercise\WEB-INF\web.xml > ... > > Set Character En

Re: struts2 web.xml question

2006-12-13 Thread Don Brown
t to filter character code in web.xml file,I know how to configure it in struts 1.3, C:\tomcat\webapps\exercise\WEB-INF\web.xml ... Set Character Encoding filters.SetCharacterEncodingFilter encoding gb2312 Set Character Encoding /* In struts 1.3,it runs well.No

struts2 web.xml question

2006-12-13 Thread red phoenix
I have a filter configure question about struts2,i want to filter character code in web.xml file,I know how to configure it in struts 1.3, C:\tomcat\webapps\exercise\WEB-INF\web.xml ... Set Character Encoding filters.SetCharacterEncodingFilter encoding gb2312 Set

Re: why hardcode the path of web.xml?

2006-10-20 Thread Christopher Cheng
the resin-specific configuration options, you should > just separate that out into a resin-conf.xml. > > > What larry said, why do you want to do that? > > On 10/18/06, Christopher Cheng <[EMAIL PROTECTED]> wrote: >> I am using version 1.3.5 and found out that t

Re: why hardcode the path of web.xml?

2006-10-18 Thread Jerome Gagner
If you are using the resin-specific configuration options, you should just separate that out into a resin-conf.xml. What larry said, why do you want to do that? On 10/18/06, Christopher Cheng <[EMAIL PROTECTED]> wrote: I am using version 1.3.5 and found out that that path of web.xml i

Re: why hardcode the path of web.xml?

2006-10-18 Thread Larry Meadors
Why in the name of all that is right in the universe would you name your web.xml something else? Obfuscation? Larry On 10/18/06, Christopher Cheng <[EMAIL PROTECTED]> wrote: I am using version 1.3.5 and found out that that path of web.xml is hard coded at line 1723 InputStream

RE: why hardcode the path of web.xml?

2006-10-18 Thread Wesley Wannemacher
A quick search of the servlet spec doesn't mention web.xml as being configurable. In fact, page 70 suggests that the contents of 'WEB-INF/' should include it. If you choose not to call it 'web.xml' and place it in 'WEB-INF/' that's really your choice, b

why hardcode the path of web.xml?

2006-10-18 Thread Christopher Cheng
I am using version 1.3.5 and found out that that path of web.xml is hard coded at line 1723 InputStream input = getServletContext().getResourceAsStream("/WEB-INF/web.xml"); In resin, I use to change the path of web.xml for example myapp-web.xml. As I start the applic

Re: init param in web.xml

2006-10-07 Thread ShiBing Chen
@dependency.struts.config@ just a placeholder, it will be replace by something related. On 10/7/06, meena <[EMAIL PROTECTED]> wrote: Hi I have the following lines in web.xml config /WEB-INF/[EMAIL PROTECTED]@ Here struts-config.xml is ok.But what is the mean

init param in web.xml

2006-10-07 Thread meena
Hi I have the following lines in web.xml config /WEB-INF/[EMAIL PROTECTED]@ Here struts-config.xml is ok.But what is the meaning of @dependency.struts.config@ ? Can anybody explain me ? Thank you so mcuh. -- View this message in context: http

RE: Problem with web.xml and Struts 1.3

2006-08-22 Thread David Friedman
Would you like to include your struts-config.xml and web.xml so we can try to help? -Original Message- From: Angel Navarro [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 22, 2006 6:14 AM To: user@struts.apache.org Subject: Problem with web.xml and Struts 1.3 Hi, I have a big problem

Problem with web.xml and Struts 1.3

2006-08-22 Thread Angel Navarro
Hi, I have a big problem with an struts 1.3 application. My configuration: Weblogic 8.1 sp4 Struts 1.3 Fedora And when deploy a web application (WAR) I have this problem: [DEBUG 2006-08-22 10:51:44,291] org.apache.struts.action.ActionServlet:1720 Scanning web.xml for controller servlet

RE: Retrieving the from web.xml

2006-08-09 Thread Adam Gordon
If I understand what you are doing correctly you can use the security-constraint element in web.xml to define what URL patters require authorization and which ones do not. If you use JAAS, then you don't need to handle the redirecting as it will forward it to the login page you specify (usin

Retrieving the from web.xml

2006-08-09 Thread Aladin Alaily
Hello, I have a filter in which I check that the users are properly authenticated. When the user needs to be redirected, I am able to retrieve the following: 1) context path (using the request) 2) action path (using the ActionConfig) ... but I cannot retrieve the url-pattern from web.xml! I

Re: proper web.xml version for specification [SOLVED]

2006-06-16 Thread Leon Rosenberg
o change the hard-wired references to the struts-taglibs in the jsps to the maped taglibs: in the jsp: <%@ page language="java" contentType="text/html;charset=iso-8859-15" session="true" %><%@ taglib uri="/tags/struts-bean.tld" prefix="bean&

proper web.xml version for specification

2006-06-16 Thread Leon Rosenberg
tld" prefix="bean" %><%@ taglib uri="/tags/struts-logic.tld" prefix="logic" %> in the web.xml: /tags/struts-logic /WEB-INF/tlds/struts-logic.tld /tags/struts-bean /WEB-INF/tlds/stru

Re: web.xml specifications from 2.4 to 2.3

2006-06-15 Thread Dave Newton
Ed Griebel wrote: > Also, to my knowledge there is no way to just include some jar file to > enable EL exprs. That's what the struts-el tags do, like we said before. You have to change your taglib references, too. http://struts.apache.org/struts-action/struts-el/index.html Dave --

  1   2   >