RE: Why obtusify

2005-08-02 Thread Mark Benussi
In answer to your question. Obfuscation is a way of compiling your source code so that it cannot be decompiled. This is useful if you supply code to someone of host your code on a shared server. -Original Message- From: netsql [mailto:[EMAIL PROTECTED] Sent: 02 August 2005 22:40 To: user@

Re: Opinion about Struts layout

2005-08-02 Thread starki78
Hi Boris, thank you very much for your offer. Certainly you can send me a link or screenshots my mail is [EMAIL PROTECTED] Currently we are in an evalution phase... Have a nice day Saluti Starki > starki78 wrote: > > >thanks Borislav for your answer! > > > > > > > > > > I can provide you some s

Re: [shale] shale test framework

2005-08-02 Thread Craig McClanahan
On 8/2/05, David Thielen <[EMAIL PROTECTED]> wrote: > I figure a mock world always has limitations - but better a workable return > than an exception. > In tonight's (20050803) nightly build, you'll find a new setDocumentRoot(File) method on MockServletContext. This allows you to establish the

Re: Loading properties

2005-08-02 Thread Laurie Harper
[EMAIL PROTECTED] wrote: I would like my web-app to read in a *.properties file at startup (not for i18n, but the good old java.util.Properties, for example to get the e-mail address of the admin of the web-app). So I wrote a ServletContextListener which will load the properties-file and store it

Re: Can u help me...I have a problem related to struts.

2005-08-02 Thread Jeff Beal
Hopefully by now you've read the aforementioned JavaBeans specification. It does say that if the method name has two consecutive capital letters after get and set, the property name is not de-capitalized. So, for your method getSTitle, the property name should also be STitle. If the name of your

MVC Question

2005-08-02 Thread Kent Boogaart
Hi, I've just read this (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns /html/DesPageController.asp) MVC overview. They describe the view as obtaining its data directly from the model. I was under the impression that the view should obtain / update data only through th

Re: Struts 1.2

2005-08-02 Thread johns839
Be careful with 1.2 as a lot of things were deprecated. Some addon labraries like the production version of struts-layout don't work with 1.2. /Jeremiah Quoting "Hernandez, Mariano" <[EMAIL PROTECTED]>: > Two quick question guys. I'm trying to type up reasons as to why we should > upgrade from 1

RE: [shale] shale test framework

2005-08-02 Thread gvanmatre
> Hi; > > > > Since everyone is being so nice about this, even though it's not a shale > problem, I figured I'd ask here. > > > > In my hibernate setup, I have a HibernateUtil class with some static > initialization code. That code sets a static final variable with my > SessionFactory.

Re: Struts Native Compilation...obfuscation...

2005-08-02 Thread O. Oke
Thanks. I will look into this --- [EMAIL PROTECTED] wrote: > I use Zelix KlassMaster. It simply rocks. Have used > on Struts apps with success, you'll have to do work > with it here and there because of some reflection > but I remember it wasn't a big hassle. The > documentation is good. > > Eri

RE: [shale] shale test framework

2005-08-02 Thread David Thielen
Hi; Since everyone is being so nice about this, even though it's not a shale problem, I figured I'd ask here. In my hibernate setup, I have a HibernateUtil class with some static initialization code. That code sets a static final variable with my SessionFactory. This is a great way to d

Reasons to switch from 1.1 to 1.2

2005-08-02 Thread Hernandez, Mariano
Well, here it is anyway. Anyone have any comments? Validation (client and server side) *The Struts Validator now supports a ValidWhen rule, so that one validation can be dependant on another. ** *IntRange now checks select-one and radio fields. Example: This allows populating

Re: [OT]Blocking authority to access JSP - ignore previous mail

2005-08-02 Thread Dave Newton
Ashish Kulkarni wrote: I know wish i could not, but the design is that we have all the images in a folder images which is under pages, it sort of sucks seems the *.jsp works some times and some times not i guess it works on tomcat and not on websphere Are you limited to that directory stru

Re: [OT]Blocking authority to access JSP - ignore previous mail

2005-08-02 Thread Ashish Kulkarni
I know wish i could not, but the design is that we have all the images in a folder images which is under pages, it sort of sucks seems the *.jsp works some times and some times not i guess it works on tomcat and not on websphere --- Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Ashish Kulkarn

RE: Struts 1.2

2005-08-02 Thread Hernandez, Mariano
I didn't mean to imply struts is buggy;-). But fixes seem to get a better response from the architect than enhancements. I'm about done with a selected list of changes/enhancements since 1.1. Would you mind looking it over and telling me what you think? Thanks again, Mariano P.S. My list came f

Re: Struts 1.2

2005-08-02 Thread Wendy Smoak
From: "Hernandez, Mariano" <[EMAIL PROTECTED]> Two quick question guys. I'm trying to type up reasons as to why we should upgrade from 1.1 to 1.2 (specifically 1.2.7). It seems to me that the bulk of the fixes/enhancements have been in client/server side validation and tiles. I've got some other

RE: [shale] shale test framework

2005-08-02 Thread David Thielen
I figure a mock world always has limitations - but better a workable return than an exception. Thanks - dave David Thielen 303-499-2544 www.windwardreports.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 02, 2005 4:40 PM To: Struts Users

Re: [shale] shale test framework

2005-08-02 Thread Craig McClanahan
On 8/2/05, David Thielen <[EMAIL PROTECTED]> wrote: > Hi; > > > > For those that hit the same problem - you need to call super.setUp() and > super.tearDown() in your setUp/tearDown. > Yep ... if you're extending the abstract base classes you definitely want this. We should make that clearer i

Re: [shale] shale test framework

2005-08-02 Thread gvanmatre
>Hi; >For those that hit the same problem - you need to call super.setUp() and >super.tearDown() in your setUp/tearDown. Yeap, that's where the heavy lifting is done. http://svn.apache.org/viewcvs.cgi/struts/shale/trunk/test-framework/src/java/org/apache/shale/test/base/AbstractJsfTestCase.java?

Re: action executing two times

2005-08-02 Thread Laurie Harper
Jeremiah Johnson wrote: I have an action mapping that looks like: If I click the link to /my/path.do my action class sends out the showForm then displays myTileDef. Then it executes the same action class again. The second execution doesn't copy some of the information from the first

Struts 1.2

2005-08-02 Thread Hernandez, Mariano
Two quick question guys. I'm trying to type up reasons as to why we should upgrade from 1.1 to 1.2 (specifically 1.2.7). It seems to me that the bulk of the fixes/enhancements have been in client/server side validation and tiles. I've got some other stuff like errorClass etc in html tags, action me

RE: [shale] shale test framework

2005-08-02 Thread David Thielen
If any of the committers are interested, here is the code I created for getRealPath(): public String getRealPath(String path) { try { return new File("./", path).getCanonicalPath(); } catch (IOException e) { return new File("./", path).getAbsolutePath();

action executing two times

2005-08-02 Thread Jeremiah Johnson
I have an action mapping that looks like: If I click the link to /my/path.do my action class sends out the showForm then displays myTileDef. Then it executes the same action class again. The second execution doesn't copy some of the information from the first execution. My action class

Re: Why obtusify

2005-08-02 Thread erikweber
You mean obfuscate? What if you distribute your server side code? Maybe Struts Actions aren't worthy of obfuscation, but middleware often is. I just run all jars through Zelix before I release. It has ant integration (works great), so I just have Zelix produce my "dist" jars via ant. Erik ---

Re: [OT ANN] Roomity mail lists version 1.0

2005-08-02 Thread erikweber
Vic, you da man. When I can find some time, I'll go through it and post issues. Erik -Original Message- From: netsql <[EMAIL PROTECTED]> Sent: Aug 1, 2005 8:44 PM To: user@struts.apache.org Subject: [OT ANN] Roomity mail lists version 1.0 I am posting this message using roomity! Featur

Why obtusify

2005-08-02 Thread netsql
Why would you want to obtusify server side? .V People are conversing... without posting their email or filling up their mail box. ~~1123018783544~~ roomity.com http://roomity.com/launch.jsp No sign up to read or search this Rich Interne

[shale] shale test framework

2005-08-02 Thread David Thielen
Hi; For those that hit the same problem - you need to call super.setUp() and super.tearDown() in your setUp/tearDown. Also, servletContext.getRealPath() is not implemented in the mock objects. Is there a reason why it doesn't return the default directory? Finally, I need to determine at

Re: Struts Native Compilation...obfuscation...

2005-08-02 Thread erikweber
I use Zelix KlassMaster. It simply rocks. Have used on Struts apps with success, you'll have to do work with it here and there because of some reflection but I remember it wasn't a big hassle. The documentation is good. Erik -Original Message- From: "O. Oke" <[EMAIL PROTECTED]> Sent: A

Struts Native Compilation...obfuscation...

2005-08-02 Thread O. Oke
Can anyone please recommend any good software for carrying out: 1. native compilation of Struts classes and 2. obfuscation of Struts classes Thank you O'Dele Oke ___ To help you stay safe and secure online, we've de

Re: HTML labels and Struts

2005-08-02 Thread Frank W. Zammetti
I posted a message to the dev list a few hours ago discussing what I thought needs to be done... if you have a chance to review it, a second opinion before I create a patch would be nice... just ot be sure I'm not missing anything obvious or going nuts in general :) Frank Laurie Harper wrote:

Re: [OT] Netbeans/TOMCAT RMI

2005-08-02 Thread dumbQuestionsAsker _
oops, im sorry , I think I click on the wrong contact :) And I found the answer to my problem by myserlf. From: Laurie Harper <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: Re: [OT] Netbeans/TOMCAT RMI Date: Tue, 02 Aug 2005 16:34:15 -0400 i wou

Re: [OT] Netbeans/TOMCAT RMI

2005-08-02 Thread Laurie Harper
i would think that granting AllPermissions would have prevented this but it's a long time since I messed with RMI. This isn't a Struts issue though; you should probably ask on the Tomcat user list or, since it appears the port in question is something Netbeans specific, maybe on the Netbeans li

Re: [OT] Sub Project - Table Renderer

2005-08-02 Thread DGraham
http://displaytag.sourceforge.net/ -Dennis Laurie Harper <[EMAIL PROTECTED]> Sent by: news <[EMAIL PROTECTED]> 08/02/2005 04:17 PM Please respond to "Struts Users Mailing List" To user@struts.apache.org cc Subject Re: [OT] Sub Project - Table Renderer Sorry, I missed the original po

Re: logic:iterate tag and form beans

2005-08-02 Thread Laurie Harper
Brian Kremmin wrote: I want to get some table data from a database and output it in table form on a webpage. I'm planning to use an ArrayList to store the data and use the logic:iterate tag to expose the elements of the list... however, I'm unsure of the proper structure of all these data object

Re: DownloadAction Question

2005-08-02 Thread Laurie Harper
Are you sure the same action is being invoked each time? I.e. does the form that the user submits the second time have the same 'action' attribute? Failing that, you'll need to describe and/or post more of your code so we can see what's going on. L. Vijaya S wrote: Hi, I have the following

Re: [OT] Sub Project - Table Renderer

2005-08-02 Thread Laurie Harper
Sorry, I missed the original post (perhaps due to Gmane's issues yesterday?). How does this solution compare to Display Tag? (Hmm, which seems to be experiencing technical difficulties; if it comes back it should be at http://www.displaytag.org/index.jsp). L. Frank W. Zammetti wrote: Hi Chr

Re: TilesRequestProcessor

2005-08-02 Thread Laurie Harper
Thanks for the correction, I didn't realize the Tiles plug-in had the smarts to automatically fix up the configuration that way! L. [EMAIL PROTECTED] wrote: Thanks for the answer, but I believe it is not fully correct. I'm reading the docs from Cedric Dumoulin (Tiles Advanced Features) at the

Re: How do i connect to a database in another host? are there differences on struts configuration in linux and windows??

2005-08-02 Thread Laurie Harper
Gonzalez Aleksander wrote: my problem is the following. I get this error in my application: Servlet action is currently unavailable, That just means that the servlet failed to initialize, which could be caused by anything. Check your server logs for exceptions when the servlet loads. I wo

Re: HTML labels and Struts

2005-08-02 Thread Laurie Harper
I've been meaning to put together a patch to make modules work with URL prefix mapping. This would fit in naturally with that. But I don't know when I'll find time to get to that so if you have a chance to look at this first, feel free ;-) L. Frank W. Zammetti wrote: Not sure :) I personal

Re: [STRUTS 2X]: Ideas

2005-08-02 Thread Laurie Harper
Likewise; I haven't made a detailed comparison of the different frameworks out there since around the time Tapestry was migrating to Apache! Should be interesting reading. L. David G. Friedman wrote: I'm definitely interested that so don't forget to post about it. :) Regards, David, Craig

Re: [OT]Blocking authority to access JSP - ignore previous mail

2005-08-02 Thread Wendy Smoak
From: "Ashish Kulkarni" <[EMAIL PROTECTED]> pages -- | --index.jsp --access.jsp --logo.gif In my web-xml file if i add Restrict access to JSP pages /pages/* it blocks logo.gif also, What is 'logo.gif' doing in the "pages" directory? It isn't a page. :) Can

Re: [STRUTS 2X]: Ideas

2005-08-02 Thread Michael Jouravlev
Interesting, how different Struts crowd is ;) Some want to keep what they have, but make it cleaner. Other want the revolution. What about gradual improvement with compatibility with current code base? I will try to explain again my ideas. As we all know, there are two approaches for webapps: Fron

Re: [OT]Blocking authority to access JSP

2005-08-02 Thread Wendy Smoak
From: "Ashish Kulkarni" <[EMAIL PROTECTED]> I have been trying to block access to jsp directly, http://www.jguru.com/faq/view.jsp?EID=471953 HTH, -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

[OT]Blocking authority to access JSP - ignore previous mail

2005-08-02 Thread Ashish Kulkarni
Hi I have been trying to block access to jsp directly, here is my folder structure pages -- | --index.jsp --access.jsp --logo.gif In my web-xml file if i add Restrict access to JSP pages /pages/* it blocks logo.gif also, and i cannot add Restrict acces

[OT]Blocking authority to access JSP

2005-08-02 Thread Ashish Kulkarni
Hi I have been trying to block access to jsp directly, here is my folder structure pages -- | A$HI$H Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -

Netbeans/TOMCAT RMI

2005-08-02 Thread dumbQuestionsAsker _
Hi everybody, I got an RMI code which is working fine into another servlet container. I want to port it into TOMCAT. That's the first time Im doing it, so that's what I did : -I added : -Djava.rmi.server.codebase=http://127.0.0.1:80/ to my JAVA_OPT variables into the catalina.bat file. -I chan

RE: Shale question - is this the list?

2005-08-02 Thread David Thielen
Hi; Thank you - both for the answer and the ton of great code you've given to the world. - dave David Thielen 303-499-2544 www.windwardreports.com -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 02, 2005 11:44 AM To: Struts Users Mailing List

Re: Shale question - is this the list?

2005-08-02 Thread Craig McClanahan
n 8/2/05, David Thielen <[EMAIL PROTECTED]> wrote: > Hi; > > > > Is this the right list for shale questions? > Yep ... this is the list for user questions, while the Struts developer list is the right one for questions about developing Shale itself. As a courtesy to folks who might not be int

Shale question - is this the list?

2005-08-02 Thread David Thielen
Hi; Is this the right list for shale questions? If so I have three questions - both having to do with using the test framework for my JSF code: 1. I create a class TestDemo extends AbstractJsfTestCase. In my setUp method I want to use servletContext but all of the mock objects are set

RE: [STRUTS 2X]: Ideas

2005-08-02 Thread David G. Friedman
I'm definitely interested that so don't forget to post about it. :) Regards, David, > Craig > PS: For a slightly more in depth comparison between > the frameworks mentioned above, watch for me to post > the slides for my O'Reilly Open Source Conference > session tomorrow that compares them.

Re: [STRUTS 2X]: Ideas

2005-08-02 Thread Craig McClanahan
On 8/2/05, Dakota Jack <[EMAIL PROTECTED]> wrote: > > I agree for a third time, and in fact I think that something that is > built for Struts rather than on its own merits and is dependent on the > present community for support is not worth working on at all. I am > personally not willing to ass

Re: Can u help me...I have a problem related to struts.

2005-08-02 Thread Swapnil Patil
My code is like this. public class GraphStep1Form extends ActionForm { String sTitle; boolean bTest; Collection col; public boolean isBTest() { return bTest; } public String getSTitle() { return sTitle; } public void setSTitle(String title) {

validator question

2005-08-02 Thread Dewitte Rémi
Hi ! In a wizard, I have some "required" checks with struts-validator assigned to pages (with page=). There is sometimes a "jump" in the wizard so that a property is null. When validating the page after the jump, the server-side validation failed as if validator checked all previous pages. For e

Re: Can u help me...I have a problem related to struts.

2005-08-02 Thread Wendy Smoak
From: "Swapnil Patil" <[EMAIL PROTECTED]> I had tried with the variable names like String sTitle; boolean bTest; and both times I got same type of exception. but supricing it works for ( col is declared as Collection in the Form) Not surprising at all. :) The secret is in the JavaBeans sp

Re: RequestProcessor.process() method

2005-08-02 Thread Dave Newton
Carl Smith wrote: in this RequestProcessor.process() method, there are some methods are place holders for our specific application to over ride. Say in our application we have a logic to be checked to see if user has access to the certain page. Which method (processPreprocess();processRoles(

Re: RequestProcessor.process() method

2005-08-02 Thread Dave Newton
Carl Smith wrote: in this RequestProcessor.process() method, there are some methods are place holders for our specific application to over ride. Say in our application we have a logic to be checked to see if user has access to the certain page. Which method (processPreprocess();processRoles(

Re: Can u help me...I have a problem related to struts.

2005-08-02 Thread Dave Newton
Swapnil Patil wrote: I had tried with the variable names like String sTitle; boolean bTest; and both times I got same type of exception. but supricing it works for ( col is declared as Collection in the Form) You must follow the JavaBean naming conventions. For sTitle what does your get

RE: Can u help me...I have a problem related to struts.

2005-08-02 Thread Johnson, Kaerstin
Can you post the code from your form bean? -Original Message- From: Swapnil Patil [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 02, 2005 11:50 AM To: Struts Users Mailing List Subject: Re: Can u help me...I have a problem related to struts. I had tried with the variable names like Stri

RequestProcessor.process() method

2005-08-02 Thread Carl Smith
in this RequestProcessor.process() method, there are some methods are place holders for our specific application to over ride. Say in our application we have a logic to be checked to see if user has access to the certain page. Which method (processPreprocess();processRoles();processPopulate();

Re: Can u help me...I have a problem related to struts.

2005-08-02 Thread Swapnil Patil
I had tried with the variable names like String sTitle; boolean bTest; and both times I got same type of exception. but supricing it works for ( col is declared as Collection in the Form) Root Cause - javax.servlet.ServletException: No getter method for property sTitle of bean org.ap

Re: Opinion about Struts layout

2005-08-02 Thread Borislav Sabev
starki78 wrote: thanks Borislav for your answer! I can provide you some screenshots from 2 applications that I work on - they are not finished, but may be can give you some ideas about the power of struts-layout. And I have a friend who did some "miracles" with struts-layout, but he re

RE: Can u help me...I have a problem related to struts.

2005-08-02 Thread BHansard
I would recommend changing the capital T to a lowercase t. This is standard. I have had problems in the past with having uppercase variable names. This is due to the reflection that Struts uses to find associated getters and setters. ">"Johnson, Kaerstin" <[EMAIL PROTECTED]> "Johnson, K

Re: logic:iterate tag and form beans

2005-08-02 Thread Dave Newton
Brian Kremmin wrote: I'm planning to use an ArrayList to store the data and use the logic:iterate tag to expose the elements of the list... however, I'm unsure of the proper structure of all these data objects. I think I'm using struts 1.1 if that makes a difference. 1) I'd tend towards usin

RE: Can u help me...I have a problem related to struts.

2005-08-02 Thread Johnson, Kaerstin
Sounds like you probably have a case problem. Please make sure that you reference Title with the capital T throughout the struts, jsp and bean. I can see your set method references title with lower case, this is probably the culprit. Hope this helps. -Original Message- From: Swapnil

RE: logic:iterate tag and form beans

2005-08-02 Thread BHansard
Example: DataBean: public class EmployeeBean(){ private String name = null; Private String dept = null; ... Getters and setters } FormBean: public class EmployeeForm extends ActionForm{ private Collection employees = new ArrayList(); ... Getters and Setter

RE: logic:iterate tag and form beans

2005-08-02 Thread Brian Kremmin
Okay. So this object which will hold a row of table data... does it have a name or type according to Struts? i.e. Action, Form, Service, DTO, DAO, Value Object, etc. Or is it merely a general object like "Employee" which doesn't have a special type? Should this object have a naming scheme within

RE: logic:iterate tag and form beans

2005-08-02 Thread Johnson, Kaerstin
Ok, If I am understanding the question correctly, you should be populating your array list in your bean with a objects of whatever represents a table row (such as an employee object), this object should have the attributes (name, id, address) you would like to render in the columns. Each object

logic:iterate tag and form beans

2005-08-02 Thread Brian Kremmin
Hello Everyone, This is my first post. I've been watching the list for a while now and I've hit a dead end. This is probably quite simple so any help would be greatly appreciated. I want to get some table data from a database and output it in table form on a webpage. I'm planning to u

Re: [STRUTS 2X]: Ideas

2005-08-02 Thread Dakota Jack
On 8/1/05, Ted Husted <[EMAIL PROTECTED]> wrote: > On 7/31/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: > > > I think there are a lot of people out there who feel as you do, but > > > backwards-compatibility has always been a major theme for those > > > > While backwards compatibility is nice, I w

Struts Validator w/ Modules

2005-08-02 Thread BHansard
Hi everyone, I am having difficulty getting validator to work with my module based struts application. I have tried serval approches to no avail. My Struts Config and module config have: My /module/validation.xml has: If I use client

RE: HTML labels and Struts

2005-08-02 Thread Frank W. Zammetti
Hope no one minds, I moved this discussion to the dev list. It suddenly became, I think, more appropriate there :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, August 2, 2005 8:58 am, Daniel Perry said: > I don't think it's a bug,

RE: HTML labels and Struts

2005-08-02 Thread Daniel Perry
I don't think it's a bug, as anchors should never be sent to the server, (I believe the should never be sent in a redirect either). I remember doing some experiments with this. If you request a page: blah.do#someLabel, #someLabel is never sent in the request. If you forward on the server, then i

Re: HTML labels and Struts

2005-08-02 Thread Frank W. Zammetti
Not sure :) I personally would consider it a bug :) I made a Wiki entry for this yesterday by the way, so at least there is documentation of it now. I agree though that it shouldn't be a big change and would be nice to "fix" it (or, alter the feature, depending on what it is!). Want to thr

Re: [HELP] How can deny access to folders at web app root

2005-08-02 Thread Tremal Nailk
2005/8/2, Pham Anh Tuan <[EMAIL PROTECTED]>: > oh, I use > org.apache.struts.action.ActionServlet too, > everything runs okie :) > yes, you're right, I misunderstood Paul's mail. Now it's working for me too :) thanks -- TREMALNAIK -

Re: [OT] Sub Project - Table Renderer

2005-08-02 Thread Frank W. Zammetti
Hi Christopher, I don't know how anyone feels about it as a sub-project, I'm not sure I see it as something that rises to the level of a sub-project... while certainly useful and something many would like to use I think, it doesn't quite feel like it's substantial enough to be a whole sub-pro

RE: [STRUTS 2X]: Ideas

2005-08-02 Thread Pilgrim, Peter
> -Original Message- > From: Adam Hardy [mailto:[EMAIL PROTECTED] ==== > > > Pilgrim, Peter on 01/08/05 09:30, wrote: > > Struts 2 should force an Action or ActionForm to be interface or > > subclass of an abstract type, hence dependency injection. > > Oops! My wording was wrong.

RE: [STRUTS 2X]: Ideas

2005-08-02 Thread Pilgrim, Peter
> -Original Message- > From: Ted Husted [mailto:[EMAIL PROTECTED] ==== > > On 7/31/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: > > > I think there are a lot of people out there who feel as > you do, but > > > backwards-compatibility has always been a major theme for those > > > >

RE: TilesRequestProcessor

2005-08-02 Thread aleiprecht
Thanks for the answer, but I believe it is not fully correct. I'm reading the docs from Cedric Dumoulin (Tiles Advanced Features) at the moment Great resource about tiles btw ;) http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf rgds albi -Original Message- From: news [mai

RE: TilesRequestProcessor

2005-08-02 Thread aleiprecht
I found the answer myself ; Here it is: You do not need to specify in your struts config file(s) that the processorClass will be TilesRequestProcessor. This is automatically done by the plug-in. If a class is specified in the struts configuration file(s), that processorClass will be used ins

Re: [HELP] How can deny access to folders at web app root

2005-08-02 Thread Pham Anh Tuan
oh, I use org.apache.struts.action.ActionServlet too, everything runs okie :) I use Tomcat 4.1 ... Pham - Original Message - From: "Tremal Nailk" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, August 02, 2005 3:59 PM Subject: Re: [HELP] How can deny access to fol

DownloadAction Question

2005-08-02 Thread Vijaya S
Hi, I have the following code that works okay partially. I want the user to select an image (html:file property) and display the image (html:img) the user selected. This works fine for the first time when the user selects a file. But if I click on the 'Browse' (from html:file option)

Re: TilesRequestProcessor

2005-08-02 Thread Laurie Harper
[EMAIL PROTECTED] wrote: I think I'm missing the point of the TilesRequestProcessor I have a few simple tiles in a project with to modules (default & crud). Actually the default uses tiles and the other one doesn't. Now, the tiles in the default module seem to work just fine, but a fri

Re: [HELP] How can deny access to folders at web app root

2005-08-02 Thread Tremal Nailk
2005/8/2, Pham Anh Tuan <[EMAIL PROTECTED]>: > Tremal, you said: it doesn't work for Strut's ActionServlet, what you mean ? I mean, Paul's example is valid for Catalina DefaultServlet: org.apache.catalina.servlets.DefaultServlet as you can see here: http://jakarta.apache.org/tomcat/tomcat-

Re: HTML labels and Struts

2005-08-02 Thread Laurie Harper
Ouch, is that considered a feature or a bug? :-) It probably wouldn't be hard to change Struts to ignore the anchor if such a change were acceptable. L. Frank W. Zammetti wrote: This is probably ripe for a Wiki entry :) As you found out, Struts can't find an Action mapping with an anchor add

Re: Loading properties

2005-08-02 Thread Gareth Evans
From within a class loaded by the Webapp class loader you can call InputStream is = this.getClass().getClassLoader().getResourceAsStream( "myProps.properties" ); Properties p = new Properties(); p.load( is ); Or from within an action/jsp you can do InputStream is = request.getSession().getServ

Re: [HELP] How can deny access to folders at web app root

2005-08-02 Thread Pham Anh Tuan
Tremal, you said: it doesn't work for Strut's ActionServlet, what you mean ? - Original Message - From: "Tremal Nailk" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, August 02, 2005 3:30 PM Subject: Re: [HELP] How can deny access to folders at web app root 2005/8

Re: (re)populating forms between two actions

2005-08-02 Thread Yaroslav Novytskyy
Michael Jouravlev wrote: On 8/1/05, Yaroslav Novytskyy <[EMAIL PROTECTED]> wrote: Hi! I use a pattern of PrepareAction-> view.jsp-> SubmitAction and also combine those parts to chains like this OnePrepareAction-> oneView.jsp-> OneSubmitAction-> TwoPrepareAction-> twoView.jsp-> TwoSubmitAction.

Re: Opinion about Struts layout

2005-08-02 Thread starki78
thanks Borislav for your answer! -- Initial Header --- >From : "Borislav Sabev" [EMAIL PROTECTED] To : "Struts Users Mailing List" user@struts.apache.org Cc : Date : Tue, 02 Aug 2005 09:01:46 +0200 Subject : Re: Opinion about Struts layout > sta

Re: [HELP] How can deny access to folders at web app root

2005-08-02 Thread Tremal Nailk
2005/8/2, Paul Benedict <[EMAIL PROTECTED]>: > >listings > --> false > I think it's useful, but it doesn't work for Strut's ActionServlet. Is there an easy equivalent for it, beside using filters? Thanks, -- TREMALNAIK --

Loading properties

2005-08-02 Thread Peter . Zoche
Hi! I would like my web-app to read in a *.properties file at startup (not for i18n, but the good old java.util.Properties, for example to get the e-mail address of the admin of the web-app). So I wrote a ServletContextListener which will load the properties-file and store it into servlet context

Re: Exception handling in Struts

2005-08-02 Thread Tremal Nailk
2005/8/1, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Doesn't look like you are using it to me . . . ok, I didn't use the errorPage attribute in the @page directive because I'm using tiles and the error page would substitute only the errored tile if an exception is thrown, resulting in a unpleasant e

Re: (re)populating forms between two actions

2005-08-02 Thread Yaroslav Novytskyy
Hi! [EMAIL PROTECTED] wrote: Hi Yaroslav, On my side, I'm using an other method than your. I use the oneSubmitAction to prepare the form of the next page. So, it look like this: OnePrepareAction->oneView.jsp->OneSubmitAction/TwoPrepareAction->twoView.jsp . The subtility in the One