Re: [S2] access to URL information

2007-02-19 Thread bob
>I suppose you could set the information in one of theinterfaces with >.map via >an interceptor, or createyour own interface, but so far it's >not clear to >mewhy you'd want to.d. Actually, I have multiple hostnames mapped to my application and the virtual host is determined by parsing the h

Re: [S2] access to URL information

2007-02-19 Thread Matt Filion
Right now I have an interceptor that is creating a context for a set of menus that is being generated around each page. In order for it to capture the current "section" it is getting sent as a querystring paramter in a link. When I sniff the request which I check from both the opensymphony Acti

Re: [S2] access to URL information

2007-02-19 Thread Dave Newton
--- Matt Filion <[EMAIL PROTECTED]> wrote: > I'm actually having a similar issue. I'm trying to > get some paramters from the querystring (in either an > interceptor and tried earlier on an action) > and have been unable to get any querystring values. I don't know how either of you are going to g

Re: [S2] access to URL information

2007-02-19 Thread Matt Filion
I'm actually having a similar issue. I'm trying to get some paramters from the querystring (in either an interceptor and tried earlier on an action) and have been unable to get any querystring values. I am using the 1.4.2 version of struts 2. Matt -

Re: Tiles with Struts-2

2007-02-19 Thread Brian Bruns
I had a similar problem...I believe I resolved it by putting the tiles servlet (which I'm not using) in the web.xml. Something about tiles needing to be configured before use. Maybe someone else can expound on this? IIRC there was another way to make this happen too. Brian 2007/2/19, Ray Clou

Re: request-taglib: isUserInRole

2007-02-19 Thread Andreas Hartmann
Laurie Harper wrote: > [EMAIL PROTECTED] wrote: >> Hello! >> >> I have got an application, where users are authenticated with ldap firstly. >> >> Afterwards, there will be another database, which defines the roles, the >> user is >> in. When the user is logged in, the roles are read from this ta

[S2] access to URL information

2007-02-19 Thread bob
What's the cleanest way to get to the request url information, such as the domain name, from within an interceptor? I know that I could get a hold of the servlet API to do this, but is this a best practice? I know that I've read that you should try to avoid accessing the servlet API from with

Tiles with Struts-2

2007-02-19 Thread Ray Clough
I have been unable to get Tiles to work with Struts-2 (v2.05). When I add the Tiles-plugin and Tiles-core and Tiles-api jars to WEB-INF/lib I start getting ClassNotFoundExceptions about classes from Spring. When I add the Spring jars I start getting exceptions for codehaus/PlexusContainer. P

Re: Struts 2.0.5: Could not execute action

2007-02-19 Thread manoj sinha
Seems problem in configuration file.Can u post configuration file?? Tapio Holopainen <[EMAIL PROTECTED]> wrote: Hello, I have managed to create a web application which uses Struts 2.0.5 build. When deploying the application into a Tomcat 5.5.20 server it starts without errors. Problem occurs

RE: Postback forms not working with my tiles configuration

2007-02-19 Thread Smyth, Colm
Hi Niall, That solved the problem thanks for your help Best regards, Colm -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: 16 February 2007 13:10 To: Struts Users Mailing List Subject: Re: Postback forms not working with my tiles configuration Struts 1.3.x intro

expression evaluation

2007-02-19 Thread Michel Van Asten
Hi, I have a list of user... I want to display some details and add two input images near each of them with edit and delete action associated... I planned to add a javascript to store the name of the clicked image in an hidden field. The "problem" I have is that the name I will get back is an ex

Struts 2.0.5: Could not execute action

2007-02-19 Thread Tapio Holopainen
Hello, I have managed to create a web application which uses Struts 2.0.5 build. When deploying the application into a Tomcat 5.5.20 server it starts without errors. Problem occurs when trying to call an action. Following is what I get. Any idea what might cause this? Regards, - Tapio

Re: File Upload design doubt

2007-02-19 Thread Francisco Exposito Aguilera
I don't want any specific feature. I just want to know what is better for uploading files (struts fileupload or commons file upload, taking into account the disadvantages of every one; and if it is possible with struts file upload to pass more attributes than the file from the form to the acti