Re: [OT]

2006-05-17 Thread paz . periasamy
Within an application, you can do this. I am not sure if you cando this at Server level... For application level Session Information, you can search for SessionListener API or even implement thru some application static variable. Thanks and regards, Pazhanikanthan. P (Paz) "Neil Meyer" <[E

[OT]

2006-05-17 Thread Neil Meyer
Hi, Hope somebody can help me with this I'm using a Tomcat container. I would like to display the amount of users logged onto my system. Is it possible to get all active session on the Tomcat server out of the request? Regards Neil Meyer --

RE: [shale] All Hail Shale

2006-05-17 Thread animesh.saxena
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 believe in anything that I can't break. -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Thu

Re: [shale] All Hail Shale

2006-05-17 Thread Dakota Jack
Heh Nony, you are as bright as the other trolls, like Newton, you hang with. I could care less about appearances, in case you had not noticed. You and Newton are the butt kissers around here. I really don't think anyone thinks that I am swooning over anything. I thought what Wendy said was funn

Re: SHALE-CLAY: Clay passing parameters?

2006-05-17 Thread Gary VanMatre
From: Kevin <[EMAIL PROTECTED]> > Using Clay HTML Views can you pass ? > > Link: > Create an account > > Component: > > extends="commandLink" > id="link" >allowBody="false"> > > > > >

Re: [shale] All Hail Shale

2006-05-17 Thread Hey Nony Moose
Dave Newton wrote: >[EMAIL PROTECTED] wrote: > > >>Does everyone live in Portland? Maybe I should live in Portland. lol >> >> >Ooo, and here I was going to suggest controlled explosions to stop the >plethora of web frameworks... >Never mind. >Dave > So you're suggesting just one succinct hit

Re: [shale] All Hail Shale

2006-05-17 Thread Dave Newton
[EMAIL PROTECTED] wrote: > Does everyone live in Portland? Maybe I should live in Portland. lol Ooo, and here I was going to suggest controlled explosions to stop the plethora of web frameworks... Never mind. Dave - To unsubs

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dakota Jack
Friendman, you are completely missing the boat. Do you know how the src parameter works in Flash? Give me a break! Don't read into my comments what you might have meant. On 5/17/06, David G. Friedman <[EMAIL PROTECTED]> wrote: Funny, but it almost seemed like D.J wrote a fancy way of saying th

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dakota Jack
Well, you ought to try doing it on your own. That would really cost you time. ///;-) On 5/17/06, M.Liang Liu <[EMAIL PROTECTED]> wrote: H,thanks a lot Dakota Jack! It costs time for me to understand your cool solution to problems of this kind. Thank you. On 5/17/06, Dakota Jack <[EMAI

Re: [shale] All Hail Shale

2006-05-17 Thread Dakota Jack
Interesting! Thanks for this information. I have always wondered by JSF was built when there was a superior product in Tapestry. Now that plot thickens even more. ///;-) On 5/17/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: On 5/16/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > > Dead on, We

Re: [shale] All Hail Shale

2006-05-17 Thread Dakota Jack
LOL Very good. You guys on the yard always have had an easy and great sense of humor. On 5/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Does everyone live in Portland? Maybe I should live in Portland. lol Quoting Craig McClanahan <[EMAIL PROTECTED]>: > On 5/16/06, Dakota Jack <[EMAIL

Re: [shale] All Hail Shale

2006-05-17 Thread wbossons
Does everyone live in Portland? Maybe I should live in Portland. lol Quoting Craig McClanahan <[EMAIL PROTECTED]>: On 5/16/06, Dakota Jack <[EMAIL PROTECTED]> wrote: Dead on, Wendy. Brett lives in Portland, as does Craig, the perpetrator of Shale. For the record, Howard Lewis Ship (origin

RE: What is the reason behind sharing the same formbean by multiple actions

2006-05-17 Thread Chaudhary, Harsh
1. Maybe I have diffferent actions which work on the same data e.g. in a wizard like page flow, previous, next, save buttons etc. Harsh. -Original Message- From: Carl Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 4:31 PM To: Struts Users Mailing List Subject: Re: What is

Re: What is the reason behind sharing the same formbean by multiple actions

2006-05-17 Thread Carl Smith
Is there any response on this? Thanks. Carl Smith <[EMAIL PROTECTED]> wrote: Can you folks comment on the reason behind sharing the same form bean by multiple actions: (1) so that the receive action can see the data for submit action (2) sharing the data across the page navigation? more ?

Re: [shale] All Hail Shale

2006-05-17 Thread Jonathan Revusky
Craig McClanahan wrote: On 5/16/06, Dakota Jack <[EMAIL PROTECTED]> wrote: Dead on, Wendy. Brett lives in Portland, as does Craig, the perpetrator of Shale. For the record, Howard Lewis Ship (original creator of Tapestry) lives in Portland too :-). Yes, and Tapestry has about as much to

Upgraded to Struts 1.2.9 - getting SAXNotRecognizedException

2006-05-17 Thread Jadeler
Which versions of xercesImpl.jar ,xalan.jar ,xml-apis.jar should I be using? Im getting this exception below: [2006-05-17 14:01:10,391][ERROR][Digester][getParser][696]- Digester.getParser: org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/validation/dynamic at ora

SHALE-CLAY: Clay passing parameters?

2006-05-17 Thread Kevin
Using Clay HTML Views can you pass ? Link: Create an account Component: Is there anyway to declare a parameter to be passed to the next page. Something like: › value

Re: [shale] All Hail Shale

2006-05-17 Thread Craig McClanahan
On 5/16/06, Dakota Jack <[EMAIL PROTECTED]> wrote: Dead on, Wendy. Brett lives in Portland, as does Craig, the perpetrator of Shale. For the record, Howard Lewis Ship (original creator of Tapestry) lives in Portland too :-). Craig

Re: How to disallow opening a page directly from URL

2006-05-17 Thread Christian Bollmeyer
Paul Benedict schrieb: Panak, how are the menu items going to communicate to your application which item was selected? Obviously, by incoking an Action; if the menu items can invoke the Action, so can a user. There is no such thing as security in this case. Just a thought, but probably the Act

Re: Shale startup - without Spring.

2006-05-17 Thread Craig McClanahan
Sorry for the late response ... I'm at JavaOne this week and *very* busy. One thing to ensure is that, if you remove Spring, you also remove shale-spring.jar from your webapp ... it's an optional layer, but if you add that you would also need to add Spring. Craig On 5/16/06, Jason Vincent <[EMA

Re: Cannot install struts 1.2.9 properly

2006-05-17 Thread eric . szeto
Thanks! Information Technology Management 2121 Saskatchewan Drive, 7th floor Regina, Saskatchewan S4P 3Y2 Tel: (306)777-5685 FAX : (306)777-2424 or (888)730-2442 NOTICE: This confidential e-mail message is only for the intended recipient(s). If you are not the intended recipient, be ad

RE: Cannot find bean under name __APPLICATION_CONTAINER_KEY.area

2006-05-17 Thread Jorge Martín Cuervo
El mié, 17 de 05 de 2006 a las 17:19, David G. Friedman escribió: > Jorge, > > 1. I believe Struts PlugIns were initially created because, at the time, the > servlet spec didn't have ServletContextListeners. So, why are you mixing the > two instead of just using a ServletContextListener? i di

Struts Plugin Help to Data Drive Tiles

2006-05-17 Thread Justin Moore
Hi 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. Tiles by default has a RuleSet that u

What is the reason behind sharing the same formbean by multiple actions

2006-05-17 Thread Carl Smith
Can you folks comment on the reason behind sharing the same form bean by multiple actions: (1) so that the receive action can see the data for submit action (2) sharing the data across the page navigation? more ? Thanks. - Yahoo

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dave Newton
David G. Friedman wrote: > "If you don't have the Flash plugin installed in your browser then it won't > work" > No no, it's just not knowing the difference between a technology-independent path issue, which is Struts, and a problem with the technology itself. It wouldn't have mattered what w

RE: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread David G. Friedman
Funny, but it almost seemed like D.J wrote a fancy way of saying this: "If you don't have the Flash plugin installed in your browser then it won't work" What a practical answer (add sarcasm here). Regards, David / [EMAIL PROTECTED] On 5/17/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > > Actuall

RE: Cannot find bean under name __APPLICATION_CONTAINER_KEY.area

2006-05-17 Thread David G. Friedman
Jorge, 1. I believe Struts PlugIns were initially created because, at the time, the servlet spec didn't have ServletContextListeners. So, why are you mixing the two instead of just using a ServletContextListener? 2. Did you define the PlugIn in your struts-config.xml (or similar file that you

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread M.Liang Liu
H,thanks a lot Dakota Jack! It costs time for me to understand your cool solution to problems of this kind. Thank you. On 5/17/06, Dakota Jack <[EMAIL PROTECTED]> wrote: Actually, in a real sense it was. You have to deliver the flash file to the Flash plugin, after all. That is a prob

Re: " No action instance for path /Foobar/View could be created" after overwriting classes

2006-05-17 Thread Dave Newton
Emmanouil Batsis wrote: > After overwriting some action classes with newer versions directly on > the server and a restart, those cannot be instantiated and the class > is reported as not found. This has happened for a number of classes so > it should not be corrupted files or something, while the

Re: Finalize back hitting the "back"-button?

2006-05-17 Thread Dave Newton
Julian Tillmann wrote: > my question is simple: is an action finalized when the user hits the "back" > button of the browser? > Good heavens no. Actions are only instantiated once during application lifetime*. If you're lucky enough to have finalize called at all it would be when the server is

Use jsp into a html tag

2006-05-17 Thread Jose Maria Tristan
Hi, Is possible write a code jsp into a event of a html tag. I need work whith code java into a jsp when a user go click in a html:button. Thank you very much. - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

" No action instance for path /Foobar/View could be created" after overwriting classes

2006-05-17 Thread Emmanouil Batsis
Hello, After overwriting some action classes with newer versions directly on the server and a restart, those cannot be instantiated and the class is reported as not found. This has happened for a number of classes so it should not be corrupted files or something, while the actions are in the

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dakota Jack
Actually, in a real sense it was. You have to deliver the flash file to the Flash plugin, after all. That is a problem with knowing how to embed flash. On 5/16/06, Dave Newton <[EMAIL PROTECTED]> wrote: Wendy Bossons wrote: > If you just want to embed a flash movie, the following is an exampl

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dakota Jack
Probably correct but a work-intensive solution. A generic solution would be better. On 5/16/06, Bart Busschots <[EMAIL PROTECTED]> wrote: Hi, This is probably a simple problem with relative paths, just do a view-source on the generated page to see what's going on. That or right click and 'vie

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dakota Jack
That is irrelevant. You miss the point. You can run Flash dynamically by varying the content. Flash has an action script. Gainty's point is useful. The fact that Flash or JS run locally is irrelevant. In fact, I create my Flash on the backend dynamically. On 5/16/06, Dave Newton <[EMAIL PRO

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dakota Jack
Here is a use of the previous code, Liu. "CRACKWILLOW" is used instead of the usual ".do". Here is the Struts config. On 5/16/06, M.Liang Liu <[EMAIL PROTECTED]> wrote: *Dakota Jack,*your solution is awesome;cool. Actually I am a freshman to struts;as a result,I need your help to do

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dakota Jack
Here is an example. You can make the cache values dynamic. I assume you know how to use class loaders to get your classpath dynamically, which is what Classpath.WEB_INF does. This solution involves having one folder where you store all your resources, separating them into subfolders named "tiff

Re: How to disallow opening a page directly from URL

2006-05-17 Thread Ed Griebel
Put your JSPs unde WEB-INF and forward to the JSP in struts-config.xml: http://www.onjava.com/pub/a/onjava/2002/10/30/jakarta.html?page=3 For roles, use declarative roles: http://wiki.apache.org/struts/ApplicationSecurity http://www.onjava.com/pub/a/onjava/2004/02/18/strutssecurity.html -ed On

Re: How to disallow opening a page directly from URL

2006-05-17 Thread Paul Benedict
Panak, how are the menu items going to communicate to your application which item was selected? Obviously, by incoking an Action; if the menu items can invoke the Action, so can a user. There is no such thing as security in this case. However, if you're asking if you can prevent the JSP files from

RE: Style in a tags-html

2006-05-17 Thread José María Tristán
Ha funcionado perfectamente. Muchas gracia. Había probado equivocadamente con style y no con styleClass. Muchas gracias. -Mensaje original- De: Jorge Martín Cuervo [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 17 de mayo de 2006 12:26 Para: Struts Users Mailing List Asunto: Re: Style

Re: Style in a tags-html

2006-05-17 Thread Jorge Martín Cuervo
Use styleClass attribute. http://struts.apache.org/struts-doc-1.2.9/userGuide/struts-html.html#optionsCollection PD: do you speak spanish? El mié, 17 de 05 de 2006 a las 12:04, José María Tristán escribió: > Hi: > I hava a style

Re: problems when migrating Struts 1.0 to Struts 1.1 on WebSphere?

2006-05-17 Thread Lionel
I use struts 1.1 on a WAS 5.0.2 without any problem. I develop with WSAD 5.0.0 "Emilia Ipate" <[EMAIL PROTECTED]> a écrit So, now, in order to upgrade to Struts 1.1, we have already upgraded to JSP 1.2, Servlet 2.3 and WebSphere Application Server v5 (using as IDE: WSAD 5.1.2). So, i

How to disallow opening a page directly from URL

2006-05-17 Thread Pankaj Gupta
Hi All, I am new to struts and have a basic question. I am making an application and I want that all the pages should be accessed through the menu items only.i.e. if a user copies the url in the browser the page should not get loaded. How can I enforce such a security? Another question is ho

Style in a tags-html

2006-05-17 Thread José María Tristán
Hi: I hava a . Is possible use a css into a html control? Por example: empresa{red:color} Thank you very much.

Re: Cannot find bean under name __APPLICATION_CONTAINER_KEY.area

2006-05-17 Thread Jorge Martín Cuervo
anyone have used a container to store application scope data? please, let me know if it's a bad practice. El mar, 16 de 05 de 2006 a las 17:15, Jorge Martín Cuervo escribió: > Hi all, > > > > > >property="key" labelProperty="value"/> >

RE: Finalize back hitting the "back"-button?

2006-05-17 Thread Julian Tillmann
Hi I'm sorry, I wasn't being specific, I meant a struts action. You see, we've got some actions which get data from a database and sometimes it takes a while, so some of the users hit the back button and I'd like to know whether this ends the connection by itself (if implemented so in finalize) o

Re: Finalize back hitting the "back"-button?

2006-05-17 Thread Michael Jouravlev
On 5/17/06, Emilia Ipate <[EMAIL PROTECTED]> wrote: Hello! Could you be more explicit? What do you understand when saying action? Are you referring to a HTTP request action? Anyway, you should remember that, when the user hits the "back" button of the browser, there is no interaction (no requ

RE: Finalize back hitting the "back"-button?

2006-05-17 Thread Emilia Ipate
Hello! Could you be more explicit? What do you understand when saying action? Are you referring to a HTTP request action? Anyway, you should remember that, when the user hits the "back" button of the browser, there is no interaction (no request sent) between the client (browser) and the server

Finalize back hitting the "back"-button?

2006-05-17 Thread Julian Tillmann
Hello my question is simple: is an action finalized when the user hits the "back" button of the browser? thanks & ciao 4 now Julian -- Echte DSL-Flatrate dauerhaft für 0,- Euro*! "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl