Logout for multiple webapps.

2005-12-07 Thread Mathew Joseph
> Hi, > > My web application consists of 2 webapps. And these are internally invoking > each other. > Or the user itself can make calls to any of these webapps using the common > menu page. > > Now, when i try to logout (session.invalidate()), its not logging off from > both webapp sessions

RE: IBM Portal server V5.0.2.3

2005-12-07 Thread Meenakshi Singh
yes I am using WSAD V5.1.1 & using portal server. I have created the portlet & have deployed it in the portal server. however, the href in one of the jsp's is not opening up in the same page where my portlet is showing. It opens up on a diff page. That is my problem. How do I make it open in the sa

Action Config in Struts for Forward Action

2005-12-07 Thread Raghuveer
How to reset the form bean,If form bean is used in action mapping for ForwardAction. As per below code when ever i click "partDataSearch.do" i want the formbean to be reset. --- JSP -- StrutsConfig.xml ---

Re: problem with "mask" of validation

2005-12-07 Thread Deepa Khetan
thanks a lot!! my problem is solved now! On 12/7/05, Jim Reynolds <[EMAIL PROTECTED]> wrote: > > You should be able to accomplish this with altering the regular > expression. If you are having troubles with regular expressions, > search google for perl regular expressions there are a ton of exampl

Re: problem with struts-config and web.xml

2005-12-07 Thread Deepa Khetan
We do have a development, integration , user acceptance and Production environment. but this is an ongoing project in which new modules( and hence, new struts-config.xml) keeps on adding. We definitely do version controlling and stuff. but, sometimes it happens that there is still time in the new m

Re: Shale-Clay: Error finding Converter for component

2005-12-07 Thread Gary VanMatre
>Hi, >thanks for a very helpful reply and correct, which solved some problems and >brought some others to the surface :) > >I am using xml view, and specified my bean name like this > > > > > > > > >The endpoint URL is /fasta.xml, and when changing to managed bean na

Struts Design Question

2005-12-07 Thread bill
A bit of a struts newbie here. I have an application with the following page flow: choose Product Category --> choose Product Model --> create/edit chosen model Currently we only have one ActionForm\JSP Edit Form, but we need to expand this to support different Product Categories. Each would be

Re: Shale-Clay: Error finding Converter for component

2005-12-07 Thread Mikael Andersson
Gary VanMatre comcast.net> writes: > My guess is that your managed bean doesn't exist. Clay full html views take on the managed bean name using the same > rules that the Shale ViewController uses. The managed bean name is derived from the view id. > I would put some debug logic in your bound

Re: How to accress property set to action element

2005-12-07 Thread Laurie Harper
nitin mandolkar wrote: I want to access property that i set in action element. Here is the action element in strust-config file. How can i access 'authenticated' property element autheticated in action call process() metho

RE: Session problem

2005-12-07 Thread Max Cooper
It is likely created for reasons of security. Consider this scenario: 1. User accesses app without encryption, gets a session 2. Theif is watching traffic and grabs their jsessionid 3. User logs into app via encrypted connection 4. Hacker now has access to logged-in session via the jsessionid he g

Re: problem with struts-config and web.xml

2005-12-07 Thread Yujun Liang
Acutally I have a thought for Struts Developers, I also config the action individually in small config files, everytime I added a new action, I needed to change the web.xml file. It would be nice to change the StrutsConfig to allow a directory as a config entry, so I just define a directory for S

Re: problem with struts-config and web.xml

2005-12-07 Thread Yujun Liang
Acutally I have a thought for Struts Developers, I am also config the action individually in small config file, everytime I add a new action, I need to change the web.xml file. I would be nice to change the StrutsConfig to allow a directory as a config entry, so I just define a directory for Stru

Re: Shale documentation

2005-12-07 Thread Gary VanMatre
I'm planning on some Shale white papers that will be available on my employers website (so I can get paid for doing it and promote services :-). Please feel free to ask questions here about Shale. Gary >From: [EMAIL PROTECTED] > Tremal Naik wrote on 12/07/2005 04:52:36 AM: > > > Hi everi

Syntax assistance bean tag

2005-12-07 Thread Jim Reynolds
Need a little help with syntax dilemma: I am iterating over a list like so: and creating And the problem is within the onclick event, I need to send another property from attributeBean to a handler. javascript:selectRadio(''); But no matter what I try,

RE: [Shale] Clay - Links not working

2005-12-07 Thread Gary VanMatre
What do you think about just logging the error similar to a JSTL import? Please create a bugzilla ticket for this one so we don't loose track of it (http://issues.apache.org/bugzilla/enter_bug.cgi). -- Original message -- From: <[EMAIL PROTECTED]> > Hi > > The nullpo

RE: Session problem

2005-12-07 Thread Baker, Russ A
So then where is that straggler session coming from? -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 11:34 AM To: Struts Users Mailing List Subject: Re: Session problem Baker, Russ A wrote: >A session is created by virtue of them just ge

Re: Session problem

2005-12-07 Thread Dave Newton
Baker, Russ A wrote: A session is created by virtue of them just getting to the login page. If the user logs in successfully to the system they now have 2 sessions instead the desired result having only one that is assigned to them when they successful login. That is a waste of memory! Two se

Re: [Shale] Clay - Parser possible bug

2005-12-07 Thread Gary VanMatre
Please create a bugzilla ticket for this issue. Thanks! -- Original message -- From: Alexandre Poitras <[EMAIL PROTECTED]> > Ok the bug seems stricly related to the element. It happens when > you put tabs instead of space to between the differents attributes. > > For

Re: Shale-Clay: Error finding Converter for component

2005-12-07 Thread Gary VanMatre
From: Mikael Andersson <[EMAIL PROTECTED]> > Hi, > I am new to Shale and Clay and am getting a 'Error finding Converter for > component', you guys will probably spot this beginner mistake immediately :) > > Error: > ERROR (org.apache.myfaces.renderkit.html.HtmlRendererUtils) - Error finding

RE: Re: Session problem

2005-12-07 Thread gramani
"James Harig" <[EMAIL PROTECTED]> wrote on 12/07/2005 12:50:06 PM: > >> > >> To facilitate these items, you will need some method of informing > >> your webapplication that the server is going to be shutdown. One > >> way to do this would be to set a flag in the application context; > >> ano

RE: Re: Session problem

2005-12-07 Thread gramani
"James Harig" <[EMAIL PROTECTED]> wrote on 12/07/2005 12:50:06 PM: > >> > >> To facilitate these items, you will need some method of informing > >> your webapplication that the server is going to be shutdown. One > >> way to do this would be to set a flag in the application context; > >> ano

RE: Re: Session problem

2005-12-07 Thread James Harig
>> >> To facilitate these items, you will need some method of informing >> your webapplication that the server is going to be shutdown. One >> way to do this would be to set a flag in the application context; >> another way is to create a lock file; yet another way is to set a >> flag in a da

Re: Multiple submit in single form

2005-12-07 Thread Chad Armstrong
Hello, This page has a couple of good solutions, both with and without javascript: http://www.jguru.com/faq/view.jsp?EID=543699 Chad On 12/7/05, Sasi Dharma Tharmarajah <[EMAIL PROTECTED]> wrote: > Guru's > > I have a problem which i am trying to address but not quiet sure how to do > it. I ha

RE: Re: Session problem

2005-12-07 Thread Frank W. Zammetti
I did a quick walkthrough the Struts code and it *looks* like nothing in the code should create a session for a simple request. Manually setting the locale will do it, as will having beans in session-scope, and probably a few other places, but a simple request shouldn't. I would suggest simply gr

RE: Re: Session problem

2005-12-07 Thread gramani
"James Harig" <[EMAIL PROTECTED]> wrote on 12/07/2005 11:53:15 AM: > > To facilitate these items, you will need some method of informing > your webapplication that the server is going to be shutdown. One > way to do this would be to set a flag in the application context; > another way is to

RE: Re: Session problem

2005-12-07 Thread James Harig
Hi Russ, >No, sorry if I was being vague. No problem. >I don't want Struts to create a session simply by accessing an action; I want >to control > the number of sessions being handed out. I don't believe that this is possible. The session creation happens at the servlet container level(in yo

Multiple submit in single form

2005-12-07 Thread Sasi Dharma Tharmarajah
Guru's I have a problem which i am trying to address but not quiet sure how to do it. I have multiple submit in a single form which needs to be configuered for different actions. Ex I have Form A which has 2 submit C & D and 2 actions E & F. What i am trying to achieve is when i click submit C it

RE: Re: Session problem

2005-12-07 Thread Baker, Russ A
No, sorry if I was being vague. I don't want Struts to create a session simply by accessing an action; I want to control the number of sessions being handed out. All of my pages are using Tiles, so to call for instance the login page, which doesn't create a session; I have to call an action so that

RE: Session problem

2005-12-07 Thread Baker, Russ A
Ok, well I just verified that it is not weblogic automatically creating a session. Struts is definitely creating the session when I call an action. I also verified that no session is created at any point when I hit my action. So I am guessing that the controller is creating the session. Is it possi

RE: Re: Session problem

2005-12-07 Thread James Harig
Hi, Here's my take on the subject The key here is that you want the users to finish what they are doing before you let the server shut down. This means a few things: 1. If the webapp uses the concept of logging in, new "login sessions" shouldn't be allowed. Attempts to login should be re

Re: Shale-Clay: Error finding Converter for component

2005-12-07 Thread Mikael Andersson
Just tried the allowBody="true" attribute, but I still get the same error. Ryan Wynn gmail.com> writes: > Looking at this quickly, have you tried setting allowBody="true" on > the . Not sure if this matters in this case, but I have found > it to be important in others. > -

Re: custom plugins and exception

2005-12-07 Thread Frank W. Zammetti
Plugins are executed as a result of the call to ActionServlet.init(), so it makes sense that the JSP error handling mechanism would not be involved here. I think the way you'd want to handle this situation involves two pieces... (1) Create a class something like this: public class IsMyAppCon

Re: Is there any shortcut to know source jsp in Struts ?

2005-12-07 Thread Michael Jouravlev
On 12/7/05, Swapnil Patil <[EMAIL PROTECTED]> wrote: > Hi All, > > I have wizrad steps UI. > In my wizard I hadn't used any framwork or model. > So by right clicking on any UI page i can know the source jsp page. > > Now I have converted whole wizard into struts. > But after using Struts, by rigth

custom plugins and exception

2005-12-07 Thread Xavier Vanderstukken
I have a plugin in my struts application to initialize the required ressources. If for some reason the processing fails, I catch the exception and throw a ServletException but the jsp error mechanism in not used and the client receive a tomcat 404 page in place of my """beautifull ;-)""" error

Re: Shale-Clay: Error finding Converter for component

2005-12-07 Thread Ryan Wynn
On 12/7/05, Mikael Andersson <[EMAIL PROTECTED]> wrote: > Hi, > I am new to Shale and Clay and am getting a 'Error finding Converter for > component', you guys will probably spot this beginner mistake immediately :) > > Error: > ERROR (org.apache.myfaces.renderkit.html.HtmlRendererUtils) - Error fi

RE: Is there any shortcut to know source jsp in Struts ?

2005-12-07 Thread George.Dinwiddie
Swapnil Patil asked: > But after using Struts, by rigth clicking i know only the > action name like DisplayStep2.do .Then using this action name > i need to find its mapping in xml file and then need to find > jsp page for forward "success". This is very lengthy method > to know the jsp source

RE: problem with struts-config and web.xml

2005-12-07 Thread George.Dinwiddie
Deepa Khetan asked: > > I have faced some problems during deployment. If i have > multiple struts-config.xml in my application, i map them in > my web.xml. So far, so good!! But the problem is when i > deploy the code on producion, some of the struts-configs > might be missing from the server(

Shale-Clay: Error finding Converter for component

2005-12-07 Thread Mikael Andersson
Hi, I am new to Shale and Clay and am getting a 'Error finding Converter for component', you guys will probably spot this beginner mistake immediately :) Error: ERROR (org.apache.myfaces.renderkit.html.HtmlRendererUtils) - Error finding Converter for component with id clayView:_id0:_id1:_id40:_id8

Re: Is there any optimization possible in Struts?

2005-12-07 Thread Frank W. Zammetti
On Wed, December 7, 2005 10:23 am, Laurent Fallet said: > Thanks for your answer, I agree that it is usually > application-specific... I was thinking of something like memory > managment, like improving increasing memory size in Tomcat, or cache > levels in Hibernate. Something more application-dep

Re: Session problem

2005-12-07 Thread Ed Griebel
One second is much too short as most users won't be able to enter data on a web form and click submit :-) but one or two minutes might be more realistic. However, even with a suitably short timeout, if a user is actively submitting forms or requesting pages, the session will never go away so the s

Re: Is there any optimization possible in Struts?

2005-12-07 Thread Laurent Fallet
Frank W. Zammetti a écrit : Optimization, beyond some standard basics, tends to be extremely case-specific. Advice from one person in one case won't necessarily work in another similar (even seemingly identical) case. Do you have a specific goal in mind? Is there something in particular your

Re: Re: Session problem

2005-12-07 Thread Ed Griebel
The key is to not put anything in your session. Actions are the obvious place to look for things being stuffed into the session (via request.getSession().get/setAttribute()), but you might have a filter that creates a session as part of what it does, or an action that has a session-scoped form in s

Re: Is there any optimization possible in Struts?

2005-12-07 Thread Frank W. Zammetti
Optimization, beyond some standard basics, tends to be extremely case-specific. Advice from one person in one case won't necessarily work in another similar (even seemingly identical) case. Do you have a specific goal in mind? Is there something in particular your trying to get extra performance

RE: IBM Portal server V5.0.2.3

2005-12-07 Thread Mark Benussi
I think what you want is to create a Portlet. Use WebSphere Studio Application Developer to create a new Portlet Application and then install this with Portal Server. -Original Message- From: Meenakshi Singh [mailto:[EMAIL PROTECTED] Sent: 07 December 2005 11:39 To: Struts Users Mailing L

Re: [Shale] Clay - Parser possible bug

2005-12-07 Thread Alexandre Poitras
Ok the bug seems stricly related to the element. It happens when you put tabs instead of space to between the differents attributes. For example, with pass if the characters between 'a' and 'href' are spaces and not a tab character. On 12/7/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > Hi,

[Shale] Clay - Parser possible bug

2005-12-07 Thread Alexandre Poitras
Hi, I run frequently in this kind of exception : java.lang.RuntimeException: Unmatched ending non-optional token: Node token range (4 324 - 4 328) on line# 114 begining offset 4 260. at org.apache.shale.clay.parser.Parser.findBeginingNode(Parser.java:221) at org.apache.shale.clay

Is there any optimization possible in Struts?

2005-12-07 Thread Laurent Fallet
Hello, I would like to know if there is any possibility of optimization in Struts. Is there a cache of page to increase performance? Or memory allocation? Anything to speed up the processing of pages? Thx, Laurent - To unsub

Re: problem with "mask" of validation

2005-12-07 Thread Jim Reynolds
You should be able to accomplish this with altering the regular expression. If you are having troubles with regular expressions, search google for perl regular expressions there are a ton of examples out there. eg: This states that the match should be from beginning to end of string matching 0-9,

Re: Help!

2005-12-07 Thread Shailesh Barde
  Hi, Even after reloading the application the renamed temporary file (Which is Original Messege resource Bundle Now)is not getting used.Hence the required changes are not Visisble. Regards, Shailesh On Wed, 07 Dec 2005 Aman A wrote : >Hi Shailesh, >If I were you, I would have reloaded the com

Re: Is there any shortcut to know source jsp in Struts ?

2005-12-07 Thread Dave Newton
Swapnil Patil wrote: Hi All, I have wizrad steps UI. In my wizard I hadn't used any framwork or model. So by right clicking on any UI page i can know the source jsp page. Now I have converted whole wizard into struts. But after using Struts, by rigth clicking i know only the action name like D

Re: Shale documentation

2005-12-07 Thread gramani
Tremal Naik <[EMAIL PROTECTED]> wrote on 12/07/2005 04:52:36 AM: > Hi everibody, I suppose this question has already been asked, so > please apologize: Where can I find a User Guide for Shale? Are there > tutorials for Shale around? You are right, the question has been asked before: :) http://ar

Re: sslext

2005-12-07 Thread Dave Newton
Jim Reynolds wrote: If I put a object into the request, and switched protocols, the request object was no longer found? Since most struts work has something to do with passing requests around, how can this sslext work in a dynamic environment. I hope I am doing something wrong. I followed the i

Action form restting -tiles

2005-12-07 Thread Kanuri, Chand
hi all, i am using tiles in my web app. i am using tiles controllers to display the jsps. there are 2 pages in which the second page is displayed as per the selection of items in 1st page. i am setting the action form for second page in the controller class but the problem is when i come back to th

Re: accessing request attributes

2005-12-07 Thread Christopher Becker
Atta; Thanks for the response. You are correct in your assumption about the scriplet approach - it is exactly what I was attempting to avoid by using tags. I tried using the >> [EMAIL PROTECTED] 12/6/2005 11:19:42 PM >>> Chris, I'm sure you'd know scriplet way of doing it, which I'm not goin

Re: IBM Portal server V5.0.2.3

2005-12-07 Thread Benjamin DAHON
Hi, Do you use encodeURL method ? 2005/12/7, Meenakshi Singh <[EMAIL PROTECTED]>: > > hiee all, > > > Please help if anyone has used the IBM portal server. > I have a small struts app deployed on IBM Portal Server V 5.0.2.3 > I add 2 jsps to the struts application. In one jsp I am putting a link

IBM Portal server V5.0.2.3

2005-12-07 Thread Meenakshi Singh
hiee all, Please help if anyone has used the IBM portal server. I have a small struts app deployed on IBM Portal Server V 5.0.2.3 I add 2 jsps to the struts application. In one jsp I am putting a link with a href to point to another jsp. When I click on this link after deploying the portlet, it

Is there any shortcut to know source jsp in Struts ?

2005-12-07 Thread Swapnil Patil
Hi All, I have wizrad steps UI. In my wizard I hadn't used any framwork or model. So by right clicking on any UI page i can know the source jsp page. Now I have converted whole wizard into struts. But after using Struts, by rigth clicking i know only the action name like DisplayStep2.do .Then usi

Shale documentation

2005-12-07 Thread Tremal Naik
Hi everibody, I suppose this question has already been asked, so please apologize: Where can I find a User Guide for Shale? Are there tutorials for Shale around? I gave a look to the example app in the binary build, but I'm a theory man, I need a book which tells me all the story. thanks -- TREMA

Re: A forward problem

2005-12-07 Thread Allen Charlton
I'll reconsider the issue according to your answer. You were right - I'm new to Struts. Now I'm reading "Struts in Action". However, you reminded me that the user-guide published by Apache is also excellent. I've downloaded it. Anyway I appreciate your advice and answer. Thanks Regards. On 12/7/