Re: [OS-webwork] Running WebWork on Sun ONE Application Server 7

2003-09-10 Thread Rickard Öberg
Bernard Choi wrote:
In this particular, our application which uses webwork resides in an
environment along with other applications. That environment is controlled by
another team, who imposes such restrictions. 
Ok, but the question then still remains: why impose such restrictions? I 
have yet to find a good reason to use permissions in server-side 
applications (except for hosting applications in an ISP/ASP 
environment). If you're in the same company it doesn't make much sense, 
and seems mostly just like a hassle.

regards,
  Rickard


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


Re: [OS-webwork] Running WebWork on Sun ONE Application Server 7

2003-09-10 Thread Dick Zetterberg
From: Jason Carreira [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
 Isn't suppressAccessChecks only if you're accessing private or
 protected properties using reflection?

Yes, I believe so. It is used in the ValueStack to be able to call/access methods that 
matches parameters but may be protected.
There is a comment in the code: Try to sneak through security so that's what it is 
used for.

Cheers,

Dick Zetterberg
[EMAIL PROTECTED]


  -Original Message-
  From: Dick Zetterberg [mailto:[EMAIL PROTECTED] 
  Sent: Tuesday, September 09, 2003 3:57 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [OS-webwork] Running WebWork on Sun ONE 
  Application Server 7
  
  
  I am not sure about WW2, but for WW1 you have to have some 
  permissions for the reflection and property editors to work.
  
  There is a Wiki note here: 
  http://wiki.opensymphony.com/space/Running+WebWork+on+SunONE
  
  According to it you should set the following permissions to 
  make it work:
  
  - Give Write Permissions to java.util.PropertyPermission.
  -  Add java.lang.reflect.ReflectPermission suppressAccessChecks
  
  Best regards,
  
  Dick Zetterberg
  [EMAIL PROTECTED]
  



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


[OS-webwork] Get Environment entries

2003-09-10 Thread Samuel Mota
How can I get env entries?

I've setted them up at web.xml like this:
env-entry
env-entry-nameARSServer/env-entry-name
env-entry-value10.100.1.4/env-entry-value
env-entry-typejava.lang.String/env-entry-type
/env-entry

They are not at the ValueStack ...

thanks

+ Samuel G. Mota
+ [EMAIL PROTECTED]
+ 55 (11) 4417 7093
+ Business Application Dpt.
+ Netset Serviços em Tecnologia
+ a Hypercom Company
+ http://www.hypercom.com



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


[OS-webwork] xwork newbie

2003-09-10 Thread Anthony Baker
Hi,

I'm looking into using xwork as a standalone framework
and ran into the following questions:

1) How does xwork get configured?  What do I need to
call to load xwork.xml?

2) Is this the correct way to dispatch to an action?

ActionProxy proxy =
ActionProxyFactory.getFactory().createActionFactory(...);
proxy.execute();

3) Is this how I would send values to an action?

ActionContext.getContext.put(aName, aValue);


Basically I'm looking for a good example that shows
how to load xwork and dispatch messages to actions.  I
need to be able to send parameters and return data.

TIA,
Anthony


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork