How to programmatically set the maximum file upload size and allowed file types (FileUploadInterceptor)

2008-04-29 Thread Cheng Wei Lee
Is there a way to do this programmatically rather than declaratively? Thanks!

Re: StrutsTypeConverter 2 level nested expression

2008-04-29 Thread Jakub Milkiewicz
Hi I ve checked all required getters and setters million times but still nothing. If i just remove following line from Action-conversion.properites datePeriodFilterParameters.cos.dateFrom=MyConverter and change datatype of dateFrom property to String binding is succesfull and inside execute metho

Re: Using tabbedpanel inside form

2008-04-29 Thread Jukka Välimaa
Ignore this. The problem was caused by an unbalanced div tag elsewhere in the form. On Tue, Apr 29, 2008 at 5:27 PM, Jukka Välimaa <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using struts ajax tag tabbedPanel inside a form. I have the following > problem: the tabbedpanel renders outside the form in

Re: formatting data

2008-04-29 Thread Chris Pratt
I'm not crazy about the tag libraries that are included with Struts 2, I've just learned ways to make them work. In this case, what the work-around is doing is formatting the value and storing it on the value stack, then referencing it from the textfield for it's value. It works, but like you say,

Re: formatting data

2008-04-29 Thread Marc Ende
Chris, now I can format my output to the forms. But why is it this strange way. I had expected that the formatting is much easier for the textfields... thank you very much Marc Chris Pratt schrieb: Maybe try: (*Chris*) On Tue, Apr 2

Re: HashMap< String, ArrayList >: Unable to populate the Array List from JSP

2008-04-29 Thread Wes Wannemacher
Assuming you have appropriate getters and setters on your action for the HashMap of ArrayLists, you should be able to set them using indexing like this - or (where "i" is an integer representing the index where you want the String set) http://www.ognl.org/2.6.9/Documentation/html/LanguageGui

Re: formatting data

2008-04-29 Thread Chris Pratt
Maybe try: (*Chris*) On Tue, Apr 29, 2008 at 10:27 PM, Marc Ende <[EMAIL PROTECTED]> wrote: > Hi, > > the examples are for output formatting in but this doesn't work > for . > > This... > > > > doesn't work... :( > > Regards >

RE: Simplified usage of:@com.company.Constants.StaticCOnstants

2008-04-29 Thread Wes Wannemacher
Did you try to import your Constants class? <%@ page import="com.company.Constants" %> As far as say C.staticconstant1, all I can really say is that the @ symbol is how you access static vars/methods in OGNL. Another choice might be to use regular ol' EL expressions. -Wes On Tue, 2008-04-2

Re: formatting data

2008-04-29 Thread Marc Ende
Hi, the examples are for output formatting in but this doesn't work for . This... doesn't work... :( Regards Marc Okan Özeren schrieb: This is the another page: http://struts.apache.org/2.0.11/docs/how-to-format-dates-and-numbers.html On 4/30/08, Okan Özeren <[EMAIL PROTECTED]> wr

HashMap< String, ArrayList >: Unable to populate the Array List from JSP

2008-04-29 Thread ravi_eze
hi, When we had the data structure as: HashMap the following jsp fragment was able to populate it: but the same thing is not working with HashMap > when we tried: (); mapOfList.put("key", new ArrayList()); still no luck Using POJOs instead of hashmap would not fit to my requirements. any

RE: Simplified usage of:@com.company.Constants.StaticCOnstants

2008-04-29 Thread ravi_eze
hi, Does the following work - Yes it does. But my requirement is more like i would import the class into some bean/ variable (C) so that i can say C.staticconstant1 etc... but by the approach mentioned above, i should repeat the @com.company.Constant string always which reduces the readabil

Re: StrutsTypeConverter 2 level nested expression

2008-04-29 Thread Jeromy Evans
Jakub Milkiewicz wrote: Hi I am quite new to Struts 2 and have problems with StrutsTypeConverter I have created my custom converter but i can see it is not fired when my Action-conversion.properites contains more than 2 level property expression. Example: datePeriodFilterParameters.dateTo=MyConv

Re: Adding Global POJO in S2 Environment

2008-04-29 Thread Wes Wannemacher
On Wed, 2008-04-30 at 08:01 +0700, Frans Thamura wrote: > On Wed, Apr 30, 2008 at 7:51 AM, Wes Wannemacher <[EMAIL PROTECTED]> wrote: > > > Do you want one static copy of your POJO available everywhere, or do you > > need a unique copy of your POJO for each request or session? > > > > i want thi

Re: Adding Global POJO in S2 Environment

2008-04-29 Thread Frans Thamura
On Wed, Apr 30, 2008 at 7:51 AM, Wes Wannemacher <[EMAIL PROTECTED]> wrote: > Do you want one static copy of your POJO available everywhere, or do you > need a unique copy of your POJO for each request or session? > i want this pojo available in my context (only inside current .war). i have a g

Re: Adding Global POJO in S2 Environment

2008-04-29 Thread Wes Wannemacher
Do you want one static copy of your POJO available everywhere, or do you need a unique copy of your POJO for each request or session? -Wes On Tue, 2008-04-29 at 20:44 -0400, Jim Kiley wrote: > Is this something you want to have accessible from your view pages, or just > from your action classes?

Re: Adding Global POJO in S2 Environment

2008-04-29 Thread Frans Thamura
On Wed, Apr 30, 2008 at 7:44 AM, Jim Kiley <[EMAIL PROTECTED]> wrote: > Is this something you want to have accessible from your view pages, or > just > from your action classes? For the most part you can deal with this in the > same way you'd deal with any other singleton or singleton-oid. Use t

Re: Adding Global POJO in S2 Environment

2008-04-29 Thread Jim Kiley
Is this something you want to have accessible from your view pages, or just from your action classes? For the most part you can deal with this in the same way you'd deal with any other singleton or singleton-oid. Use the good old static singleton pattern per Josh Bloch et al, or (preferably) use

Re: Exclude interceptor

2008-04-29 Thread Jim Kiley
Wow -- thanks for making that point. I think I had known that but hadn't really seen it or thought about it. Excellent stuff, thank you. jk On Tue, Apr 29, 2008 at 5:12 PM, Randy Burgess <[EMAIL PROTECTED]> wrote: > As soon as you define interceptors at the action level you are excluding > all

Re: jsp page with s:action to call an action with a redirect-action

2008-04-29 Thread crappycrumpet
Hi Ralf, Ralf Fischer-2 wrote: > > Please tell us exactly what you want to do, as there might be a > simpler solution to your problem. > Okay I don't have hibernate and this is what I'm sort of doing. Let's say that I have a table of staffs, offices and things_assignment (which links staffs a

Adding Global POJO in S2 Environment

2008-04-29 Thread Frans Thamura
hi all i just get an idea to make one of my class a POJO will be recognized globally inside S2 environment so i get the values from this POJO, such as username, password all across application anyone can help, what is the best way to implement this? F

Re: struts2 & displayTag how to use checkBox; Problem: translating the fieldValue

2008-04-29 Thread wild_oscar
They are attributes of the displaytag. current is the id you give to each line in the table: Check the displaytag's documentation for more info. xianwinwin wrote: > > thank you Wild Oscar, > this is a good starting point for me. > what is the attr and current here? > > %{#attr.current.enti

Re: struts2 & displayTag how to use checkBox; Problem: translating the fieldValue

2008-04-29 Thread xianwinwin
thank you Wild Oscar, this is a good starting point for me. what is the attr and current here? %{#attr.current.entityId}? I have this on the action: private String[] userCheck; private Long[] myid; which is a list of Longs {23,62,67,88,125} those reflects all the entitieIDs The list is E

Re: once again: validate() not called

2008-04-29 Thread Laurie Harper
Volker Karlmeier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello struts freaks, i have quite an interesting problem again. In my struts.xml i have defined a method to call for my action (method="save") Every time execute() is called in my action class, the method validate() is ex

once again: validate() not called

2008-04-29 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello struts freaks, i have quite an interesting problem again. In my struts.xml i have defined a method to call for my action (method="save") Every time execute() is called in my action class, the method validate() is executed before. The same a

Retrieving action names configured in struts.xml

2008-04-29 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello struts freaks, i would like to implement a rights management for my application. Therefore I need to retrieve a list of actions configured in struts.xml. Does anyone of you have an idea how to get this information ? I can get a list of action

RE: Simplified usage of:@com.company.Constants.StaticCOnstants

2008-04-29 Thread Wes Wannemacher
Does the following work - Also, is com.company.Constants.STATIC_CONSTANTS1 a String? -Wes On Tue, 2008-04-29 at 10:57 +0530, Ravichandra C wrote: > Hi, > > This doesn't seem to be working. My main problem is that why is it not > throwing any exceptions if its not the right way to display

Re: formatting data

2008-04-29 Thread Okan Özeren
This is the another page: http://struts.apache.org/2.0.11/docs/how-to-format-dates-and-numbers.html On 4/30/08, Okan Özeren <[EMAIL PROTECTED]> wrote: > > Hi, > > This page may help you: > http://www.roseindia.net/struts/struts2/struts-2-format.shtml > > Regards. >

Re: formatting data

2008-04-29 Thread Okan Özeren
Hi, This page may help you: http://www.roseindia.net/struts/struts2/struts-2-format.shtml Regards. On 4/29/08, Marc Ende <[EMAIL PROTECTED]> wrote: > > Hi, > > I've got a s:textfield where I show an double value. But I wanted to > change the value to an currency (EUR). > But I only get the stan

Re: Exclude interceptor

2008-04-29 Thread Randy Burgess
As soon as you define interceptors at the action level you are excluding all other interceptors *except* the ones you specify for the action, so in this way you can exclude interceptors on a per action basis. You could also roll your own packages with the interceptors you want and exclude them that

Exclude interceptor

2008-04-29 Thread Lukasz Lenart
Hi, Today I've been presenting Struts2 to member of Warsaw JUG and I got such question: it is possible to exclude interceptor for given action? As I know no, but maybe I'm wrong. The only way is to define interceptor for each action and omit for given one. Regards -- Lukasz http://www.linkedi

StrutsTypeConverter 2 level nested expression

2008-04-29 Thread Jakub Milkiewicz
Hi I am quite new to Struts 2 and have problems with StrutsTypeConverter I have created my custom converter but i can see it is not fired when my Action-conversion.properites contains more than 2 level property expression. Example: datePeriodFilterParameters.dateTo=MyConverter (works as exptected

formatting data

2008-04-29 Thread Marc Ende
Hi, I've got a s:textfield where I show an double value. But I wanted to change the value to an currency (EUR). But I only get the standard 100.00 instead of 100,00. When I only wants to publish it in a website I use with an format.currency property form

Handling form data

2008-04-29 Thread Brian Hawkins
I've run into a situation that I would like to get others opinions on. The problem is with handling a form. Here is the scenario: I have a form called form.jsp, this form needs data from the database so it has an associated FormAction.java class. The struts.xml file looks like this: /form.jsp

Re: Removing package name all over does not work

2008-04-29 Thread Vinay Nagrik
Thanks for the replies and info. nagrik On 4/28/08, Wes Wannemacher <[EMAIL PROTECTED]> wrote: > > Vinay, > > You are talking about two different things... First off, in the java > source file, the statement 'package tutorial;' relates to the following > > http://java.sun.com/docs/books/tutorial

Re: War file does not deploy

2008-04-29 Thread Vinay Nagrik
Thanks a lot. On 4/28/08, Wes Wannemacher <[EMAIL PROTECTED]> wrote: > > Vinay, > > did you try - > > http://localhost:8080/mailreader/ > > ? > > > On Mon, 2008-04-28 at 17:46 -0700, Vinay Nagrik wrote: > > Hello Group, > > > > In my server.xml the appbase is "webapps" and I have copied a > mailre

Re: struts2 & displayTag how to use checkBox; Problem: translating the fieldValue

2008-04-29 Thread wild_oscar
Have you tried fieldValue="%{#attr.current.entityId}? If you're using the displayTag, you could also have a check at an issue I have: http://www.nabble.com/No-result-defined-for-action-and-result-input-with-checkbox-to16966533.html http://www.nabble.com/No-result-defined-for-action-and-result-inp

No result defined for action and result input with checkbox

2008-04-29 Thread wild_oscar
I have a problem that can be stripped down to the following: a jsp with a form: The action has a private int[] formReturned; with getters and setters. If any of the two checkboxes are checked, formReturned will be a ve

Re: Injecting values into struts.xml

2008-04-29 Thread Dave Newton
--- Laurie Harper <[EMAIL PROTECTED]> wrote: > Alberto A. Flores wrote: > > Does anyone know if it's possible to inject values into struts.xml > > (something like PropertyConfigurer does in Spring)? > > I couldn't find a PropertyConfigurer class in Spring; perhaps you meant > PropertyPlaceholder

Re: Struts 2 tag : Unable to retrieve the value in theaction

2008-04-29 Thread Laurie Harper
> <- Start JSP -> > id="selectKeyword" name="selectKeyword" list="selectKeyword" > multiple="true"> > <- End JSP -> You've specified 'selectKeyword' for every attribute... Each of those attributes has a different meaning, so this wont work. You need two properties on your acti

Re: Struts1 and Struts2 in the same app

2008-04-29 Thread Laurie Harper
Yes. If you don't want to migrate any of your existing Struts 1 JSPs, you can just add Struts 2 to the application, leaving everything else as it is. Later, you can add the Struts 1 plugin to help with migrating existing (Struts 1) views to Struts 2. L. Sandy143 wrote: "If you're not using t

Re: Injecting values into struts.xml

2008-04-29 Thread Laurie Harper
Alberto A. Flores wrote: Does anyone know if it's possible to inject values into struts.xml (something like PropertyConfigurer does in Spring)? I couldn't find a PropertyConfigurer class in Spring; perhaps you meant PropertyPlaceholderConfigurer or PropertyOverrideConfigurer? In any case, I'm

Re: Install Struts.

2008-04-29 Thread Laurie Harper
What is the bean under name beanSerie? Does it have a getCodigo() method? Is it public? Is the class public? Without more info it's impossible to diagnose definitively. L. Christian Villamizar wrote: Hello and good day; I'm trying to migrate an application that is made in Struts and hosted

RE: Accessing the Struts2 Action in a JSP via tags

2008-04-29 Thread Dave Newton
--- "Asleson, Ryan" <[EMAIL PROTECTED]> wrote: > OK, so by just using: > > ${myValue} > > The myValue property of the Action class will be accessed? I suppose > this works as long as there aren't other "myName" properties in the > other scopes, right? The request wrapper searches the JSP conte

RE: Accessing the Struts2 Action in a JSP via tags

2008-04-29 Thread Asleson, Ryan
OK, so by just using: ${myValue} The myValue property of the Action class will be accessed? I suppose this works as long as there aren't other "myName" properties in the other scopes, right? I take it that Struts2 essentially exposes the action as another scope to JSP EL? Thank you! -Or

Re: Accessing the Struts2 Action in a JSP via tags

2008-04-29 Thread Dave Newton
--- "Asleson, Ryan" <[EMAIL PROTECTED]> wrote: > Assume that I'm on a JSP that has been rendered with a Struts2 Action. > Somehow I want to access the Action and its properties via a JSP tag, > something like this: > > > > What is the correct way to do this? Is the Struts 2 Action placed on >

Accessing the Struts2 Action in a JSP via tags

2008-04-29 Thread Asleson, Ryan
Hello, I'm new to Struts 2. Assume that I'm on a JSP that has been rendered with a Struts2 Action. Somehow I want to access the Action and its properties via a JSP tag, something like this: What is the correct way to do this? Is the Struts 2 Action placed on the request using a specific

Re: Url tag and automatic parameter setting

2008-04-29 Thread Laurie Harper
I'm not sure what you mean by that; setting it to 'none' means it will not add any parameters from the current request to the generated URL. You can explicitly add any parameters you want and obviously those will go into the URL, it just wont *copy* any parameters from the current request autom

Re: jsp page with s:action to call an action with a redirect-action

2008-04-29 Thread Ralf Fischer
Hi there, On Tue, Apr 29, 2008 at 3:46 AM, crappycrumpet <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a problem where I have a page (let's call it a.jsp) which calls an > action using to actionA in namespaceA, using redirect-action, which display the name > attribute in object a. (both impl

Re: Context Root for Image Button src attribute

2008-04-29 Thread Jeromy Evans
Jukka Välimaa wrote: Getting the context path in jsp is something struts doesn't really support--something I've had trouble with many times. One way to get around the problem is scriptlet like Jim showed you. Recently, we used url tag for the same purpose: I agree it's strange it's not

Re: Struts1 and Struts2 in the same app

2008-04-29 Thread Sandy143
"If you're not using the plugin, then you configure S1 and S2 completely separately from each other." Can I do this if I want to use both S1 and S2 in the same web app (single web.xml)? newton.dave wrote: > > --- Sandy143 <[EMAIL PROTECTED]> wrote: >> With this we will not have ... struts1 c

Re: struts2 & displayTag how to use checkBox; Problem: translating the fieldValue

2008-04-29 Thread Randy Burgess
It sounds like you are using Struts 2.0.11+ and if this is the case then EL is not allowed in Struts tags. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: xianwinwin <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Mon, 28 Apr 2008 16:40:19 -

Re: Struts1 and Struts2 in the same app

2008-04-29 Thread Dave Newton
--- Sandy143 <[EMAIL PROTECTED]> wrote: > With this we will not have ... struts1 config file right > > struts-config.xml would be completely modified to struts.xml. Am I on the > right path? Are you trying to use the plugin, or are you trying to run in parallel? The S1 plugin wraps S1 actio

Re: Struts1 and Struts2 in the same app

2008-04-29 Thread Sandy143
With this we will not have ... struts1 config file right struts-config.xml would be completely modified to struts.xml. Am I on the right path? Thanks, newton.dave wrote: > > --- Sandy143 <[EMAIL PROTECTED]> wrote: >> It is a single application. >> >> when trying to access struts2 actio

Using tabbedpanel inside form

2008-04-29 Thread Jukka Välimaa
Hi, I'm using struts ajax tag tabbedPanel inside a form. I have the following problem: the tabbedpanel renders outside the form in generated html, even if the tags are placed inside the form element in jsp, and thus the tabbedpanel can't be used to submit data. Is there a way around this?

Re: Context Root for Image Button src attribute

2008-04-29 Thread Jukka Välimaa
Getting the context path in jsp is something struts doesn't really support--something I've had trouble with many times. One way to get around the problem is scriptlet like Jim showed you. Recently, we used url tag for the same purpose: On Tue, Apr 29, 2008 at 3:22 PM, Jim Kiley <[EMAIL PROTECT

Re: Struts1 and Struts2 in the same app

2008-04-29 Thread Dave Newton
--- Sandy143 <[EMAIL PROTECTED]> wrote: > It is a single application. > > when trying to access struts2 action ... it is unable to find the path. > (Error: Invalid Specified Path ...) > > I have interceptors in struts.xml. I have plugin jar in web-inf/lib. > > I am not sure of what needs to be d

Re: nested tags in velocity

2008-04-29 Thread Musachy Barroso
No, that's not good :) thanks Antonio musachy On Tue, Apr 29, 2008 at 4:00 AM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2008/4/29 Musachy Barroso <[EMAIL PROTECTED]>: > > > Does anyone know how to use nested tags in velocity, like building a > > url? I have tried many, many combinations o

Injecting values into struts.xml

2008-04-29 Thread Alberto A. Flores
Does anyone know if it's possible to inject values into struts.xml (something like PropertyConfigurer does in Spring)? Thanks! -- Alberto A. Flores http://www.linkedin.com/in/aflores - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: Context Root for Image Button src attribute

2008-04-29 Thread Jim Kiley
I did something like src="<%=request.getContextPath()%>/images/header.gif" On Tue, Apr 29, 2008 at 12:51 AM, Yellek <[EMAIL PROTECTED]> wrote: > > I am trying to write an image button of the form: > > name="search"/> > > where context-root is the configured context root of my web application. >

Re: error page and tiles.

2008-04-29 Thread Antonio Petrelli
2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>: > > finally u got it man.. its wat im sayin.. im using oracle app server 10 g. as > production server .locally im using jdevloper with oc4j embedded > server I think that this problem cannot be solved. This "bug" should be visible even with sim

Re: error page and tiles.

2008-04-29 Thread balaji.m.cs
finally u got it man.. its wat im sayin.. im using oracle app server 10 g. as production server .locally im using jdevloper with oc4j embedded server Antonio Petrelli-3 wrote: > > 2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>: >> >> when there is an error >> in a jsp tile say a body part

Re: error page and tiles.

2008-04-29 Thread Antonio Petrelli
2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>: > > when there is an error > in a jsp tile say a body part or a left part the error page is replaced @ > that particular tile Oh finally I think that I understood :-) You are saying that, when you have an error occurring in a "tile", you see the error

Re: error page and tiles.

2008-04-29 Thread balaji.m.cs
its my /jsp/sample/error.jsp http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> <%@ page isErrorPage="true"%> <%@ page import="java.io.PrintWriter,java.io.StringWriter"%> http://www.w3.org/1999/xhtml";> you have met with an application error sorry for the trouble

Re: error page and tiles.

2008-04-29 Thread Antonio Petrelli
2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>: > > Clearly stating you > >My application uses tiles for my view purpose in the normal flow if > every thing goes fine > > if some exception raises @ jsp level > > i will show a clean error jsp stating "sorry for the trouble u have

Re: error page and tiles.

2008-04-29 Thread balaji.m.cs
Clearly stating you My application uses tiles for my view purpose in the normal flow if every thing goes fine if some exception raises @ jsp level i will show a clean error jsp stating "sorry for the trouble u have been met with an application error . (while rendering into

Re: error page and tiles.

2008-04-29 Thread Antonio Petrelli
2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>: > > error jsp or the tiles jsps...with the layout.? Your "/jsp/sample/error.jsp" obviously. Wait a moment: are you using Tiles tags in that JSP files? But you told that you don't want to use Tiles. I just don't get your point. Antonio -

Re: error page and tiles.

2008-04-29 Thread balaji.m.cs
error jsp or the tiles jsps...with the layout.? Antonio Petrelli-3 wrote: > > 2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>: >> >> no i don want to show an error page made with tiles definition wat i >> need >> is an error page say an simple jsp stating there is an application error >>

Install Struts.

2008-04-29 Thread Christian Villamizar
Hello and good day; I'm trying to migrate an application that is made in Struts and hosted "Tomcat/4.1.31" and works well. Now I want to operate in a Tomcat 5 or 6 but when I try to make the migration are errors such as:   - This error only appears in JSP with forms, whether it helps. [Servl

Re: help with struts 2 + jfreechart plugin example

2008-04-29 Thread jignesh.patel
Hi, I have the same problem once i place the struts2-jfreechart-plugin-2.0.11.jar I have got the deployment error like this Apr 29, 2008 2:13:30 PM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter struts2 Class: gnu.xml.dom.DomElement File: DomElement.jav

Install Struts.

2008-04-29 Thread Christian Villamizar
Hello and good day; I'm trying to migrate an application that is made in Struts and hosted "Tomcat/4.1.31" and works well. Now I want to operate in a Tomcat 5 or 6 but when I try to make the migration are errors such as: - This error only appears in JSP with forms, whether it helps

Re: error page and tiles.

2008-04-29 Thread Antonio Petrelli
2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>: > > no i don want to show an error page made with tiles definition wat i need > is an error page say an simple jsp stating there is an application error > >java.lang.Exception > /jsp/sample/error.j

Re: error page and tiles.

2008-04-29 Thread balaji.m.cs
no i don want to show an error page made with tiles definition wat i need is an error page say an simple jsp stating there is an application error java.lang.Exception /jsp/sample/error.jsp if i add the above entry

Re: error page and tiles.

2008-04-29 Thread Antonio Petrelli
2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>: > > i want to show an error page with a application error > messages 2 the users when there is an technical error... >i am using tiles 1.2 with struts 1.3.5 when there is an error > in a jsp tile say a body part or a left

Re: error page and tiles.

2008-04-29 Thread balaji.m.cs
i have taken the tld version of struts-tiles which i have taken from struts-blank. Antonio Petrelli-3 wrote: > > 2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>: >>i am using tiles 1.2 with struts 1.3.5 > > What? Why Tiles 1.2 with Struts 1.3.5? > Tiles 1.x and Struts 1.x must hav

Re: nested tags in velocity

2008-04-29 Thread Antonio Petrelli
2008/4/29 Musachy Barroso <[EMAIL PROTECTED]>: > Does anyone know how to use nested tags in velocity, like building a > url? I have tried many, many combinations of the form: > > #surl ... > #sparam ... #end > #end > > and can't seem to get it right. (and google is no giving me any love > o

Re: error page and tiles.

2008-04-29 Thread Antonio Petrelli
2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>: >i am using tiles 1.2 with struts 1.3.5 What? Why Tiles 1.2 with Struts 1.3.5? Tiles 1.x and Struts 1.x must have the same version number. Antonio - To unsubscribe, e-ma