Re: the right way?

2006-05-18 Thread Jorge Martín Cuervo
El 19/05/2006, a las 1:23, Paul Benedict escribió: This looks right to me. Except you don't put any objects in the request. Remember, setting redirect="true" creates a new HTTP request and those parameters will not pass to the next page. -- Paul i know how the redirect="true" attribute works

Re: struts token

2006-05-18 Thread Manfred Wolff
Yes, you can. The token will be stored in the request. temp temp wrote: > Can I use struts token mechanism for an action without a form bean ? > Thanks & Regards > > > > - > Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculou

Re: [shale] All SHail hale

2006-05-18 Thread David Durham
Craig McClanahan wrote: On 5/18/06, Hey Nony Moose <[EMAIL PROTECTED]> wrote: ahem ... Can you guys please take it outside (i.e. offlist) and settle this among yourselves. Please? Nobody else is interested. You're probably right. At any right, I think Dakota is actually Michael McGra

cya

2006-05-18 Thread Hey Nony Moose
this persona has outlived its value merriment to all. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Cannot install struts 1.2.9 properly

2006-05-18 Thread Naijatek
What the problem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 1:48 PM To: Struts Users Mailing List Subject: Re: Cannot install struts 1.2.9 properly Thanks! Information Technology Management 2121 Saskatchewan Drive, 7th floor Re

Re: [shale] All SHail hale

2006-05-18 Thread Craig McClanahan
On 5/18/06, Hey Nony Moose <[EMAIL PROTECTED]> wrote: ahem ... Can you guys please take it outside (i.e. offlist) and settle this among yourselves. Please? Nobody else is interested. Craig Dakota Jack wrote: > Heh Nony, you are as bright as the other trolls, like Newton, you hang > wit

Re: the right way?

2006-05-18 Thread Paul Benedict
This looks right to me. Except you don't put any objects in the request. Remember, setting redirect="true" creates a new HTTP request and those parameters will not pass to the next page. -- Paul --- Jorge Martín Cuervo <[EMAIL PROTECTED]> wrote: > Hi all, > > i have the problem to populate reque

Re: [shale] All SHail hale

2006-05-18 Thread Hey Nony Moose
ahem ... Dakota Jack wrote: > Heh Nony, you are as bright as the other trolls, like Newton, you hang > with. you unduly elevate me sir, I am not at all in the league of M. Newton, an honour to be counted as such. you besmirch Herr Newton by entwining his persona with mine. > I could care le

ERROR: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found

2006-05-18 Thread Miller, Andy
First off, my apologies if I am sending this email to the wrong list. I have searched high and low on the web for answers to this question (including posting on the Java Developer forum), but I am not having any luck resolving my problem. I'm running Java Sun System Web Server 6.1 SP5 on Windo

the right way?

2006-05-18 Thread Jorge Martín Cuervo
Hi all, i have the problem to populate request with data with validation. If the validation process causes errors, the flow never arrives to Action processing and no objets in request were send to jsp. I've solved but i'm not sure if that is the correct way. Can anyone take a look? thanks

RE: [OT] HttpRequestWrapper Deprecations?

2006-05-18 Thread Joe Hertz
It's a little off-topic (and I may have already sent this once here). I asked on tomcat-users but that list seems to get 15 questions for every answer. Hoping someone here can help. My Struts (1.2.7) App uses a custom HttpRequest and HttpResponse. That is to say, I extend the HttpServletRequest

Re: how to prevent to access folders in our application

2006-05-18 Thread David Durham
Patil, Sheetal wrote: if I write in browser like http://indc-idc:1500/application/pages/ it give list of all the files in folder "pages" This is a Tomcat question, but if you look in the web.xml located at $CATALINA_HOME/conf/web.xml, you'll see something like this: default org

struts token

2006-05-18 Thread temp temp
Can I use struts token mechanism for an action without a form bean ? Thanks & Regards - Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

RE: get message from MessageResources in Action Class

2006-05-18 Thread Gary Feidt
Or if you just need a String value from the MessageResources you can use: String sValue = getResources(request).getMessage(locale, "key.value"); Gary >>> [EMAIL PROTECTED] 5/18/2006 9:11:01 AM >>> You would have to be more specific in your question. Do you mean ActionMessage or just the message

RE: get message from MessageResources in Action Class

2006-05-18 Thread Chaudhary, Harsh
You would have to be more specific in your question. Do you mean ActionMessage or just the message in your properties file etc. You might want to check out the ActionMessages and the ActionMessage class. Also, Validator and ValidatorAction classes in Commons Validator. Here's a really simple way

get message from MessageResources in Action Class

2006-05-18 Thread fea jabi
Using struts 1.2.7 How to get the message from MessageResource in the Action Class? Thanks. _ FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ---

Re: how to prevent to access folders in our application

2006-05-18 Thread Bart Busschots
Sticking in a blank index.html or index.jsp should stop that. Bart. Patil, Sheetal wrote: Hello friends, I have designed one intranet site using struts + JSP and I have deployed it on tomcat 5.0 Now it's working fine but some problem is there http://indc-idc:1500/application/ i

[OT] Re: How to disallow opening a page directly from URL

2006-05-18 Thread DGraham
Create a Filter that implements logic to determine if a user has accessed the login page: http://java.sun.com/products/servlet/Filters.html -Dennis Pankaj Gupta <[EMAIL PROTECTED]> 05/18/2006 04:40 AM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject R

Re: How to disallow opening a page directly from URL

2006-05-18 Thread Gareth Evans
or you can override the processRoles or processPreprocess method in your request processor and send a redirect from there. Gareth Mark Shifman wrote: You can also define a filter that directs all actions to Logon.do when 1) the logon bean is not present in the session. This way you don't have

Re: How to disallow opening a page directly from URL

2006-05-18 Thread Mark Shifman
You can also define a filter that directs all actions to Logon.do when 1) the logon bean is not present in the session. This way you don't have to garbage up you actions by always checking for the logon bean. mas Bart Busschots wrote: A simple solution would be to set up your login action so i

Disabling Other buttons

2006-05-18 Thread Raghuveer
In my struts application I have 10 buttons(html:link with images) in each screen. In some scenerios 2 more buttons(NEXT,PREVIOUS) are visiable. In this situation how can this be done in struts ? Example if(){ } . . . a href="javascript:fnTest10()">

Re: [shale] All Hail Shale

2006-05-18 Thread Dakota Jack
You can do anything you want when you want to. Go ahead! On 5/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I guess it is a technical forum.So can we return back to the techie stuff. Regards, Animesh Saxena RR Donnelley I dom't believe in fear, I don't believe in faith, I don't be

Re: object modify in collection index

2006-05-18 Thread Siva Sajja
Yes, You are the changing the properties by reference. So whatever change you do on the object you are getting will be replicated across all its instances (so the collection also). On 5/18/06, Raghuveer <[EMAIL PROTECTED]> wrote: Yes, i have modified like this.It is working and giving me th

how to prevent to access folders in our application

2006-05-18 Thread Patil, Sheetal
Hello friends, I have designed one intranet site using struts + JSP and I have deployed it on tomcat 5.0 Now it's working fine but some problem is there http://indc-idc:1500/application/ is my path . the folder application contains another folder pages if I write in browser like

RE: object modify in collection index

2006-05-18 Thread Raghuveer
Yes, i have modified like this.It is working and giving me the result properly. ((TestObject)arlCollection .get(3)).setPart(strPart); Is this correct ? -Original Message- From: Pradyumna kumar, Jena (J.) [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 2:57 PM To: Struts Users Mai

RE: object modify in collection index

2006-05-18 Thread Pradyumna kumar, Jena \(J.\)
I have 5 objects(java beans) in Collection. I need retrive object from index 3 in collection modify it and add to same index. >> why do u need to add?? We are just getting the reference for that object and the object is still in the collection. What is best collection for this requirement.

RE: object modify in collection index

2006-05-18 Thread M Faizal
Any changes made to an Object will reflect in collection also ; for your case ,have to remove and then add -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: May 18, 2006 5:15 PM To: user@struts.apache.org Subject: object modify in collection index I have 5 objects(

object modify in collection index

2006-05-18 Thread Raghuveer
I have 5 objects(java beans) in Collection. I need retrive object from index 3 in collection modify it and add to same index. What is best collection for this requirement. At present i tried this with arraylist. But in addition to object with 3 rd index modified i am getting one more object adde

Re: How to disallow opening a page directly from URL

2006-05-18 Thread Bart Busschots
A simple solution would be to set up your login action so it sets a variable of some sort in session scope to indicate that the user is logged in and then have each action check that variable in session and redirect to the login action if it is not present. Bart. Pankaj Gupta wrote: What I wa

Re: How to disallow opening a page directly from URL

2006-05-18 Thread Pankaj Gupta
What I want is to implement a security policy where all pages of the application can only be accessed through the login page. i.e. If the user logs in the application and copies the url in another browser and tries to access that page, he should be redirected to the login page. Any suggestion?

Re: Struts Plugin Help to Data Drive Tiles

2006-05-18 Thread Antonio Petrelli
Justin Moore ha scritto: I need some help - maybe a personal excerpt or a resource on the web (document or book) that can talk about extending struts to load tiles definitions from a database. I assume that because this is an extensoin point, I will be doing this via a plugin. Not by a plugin