static content served relative to struts package namespace

2010-04-05 Thread Bogdan Dumitrascu
 hi guys, i am developing a webapp called LearningPlatform, i have written some secure actions in struts2 for the login section, placed them in a  package with namespace="secure" , and now static contents like images and .css files that invoke images get served relative to "secure" like /secure/

package namespace

2008-02-26 Thread stanlick
Is there a reason the namespace attribute does not require a "/" prefix if specified? I chased a friends bug around too long this morning before realizing they had :super::super:fubar-ed the namespace! -- View this message in context: http://www.nabble.com/package

Re: Struts 2 Package Namespace and URL generation

2007-07-03 Thread Richard Sayre
On 7/3/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- Richard Sayre <[EMAIL PROTECTED]> wrote: > How will it know which name space I am referring to? AFAIR it uses the current namespace unless you supply a "namespace" attribute. d. Thank you. I should have triple checked the doumentation.

Re: Struts 2 Package Namespace and URL generation

2007-07-03 Thread Dave Newton
--- Richard Sayre <[EMAIL PROTECTED]> wrote: > How will it know which name space I am referring to? AFAIR it uses the current namespace unless you supply a "namespace" attribute. d. Looking for a deal

Struts 2 Package Namespace and URL generation

2007-07-03 Thread Richard Sayre
I have a package defined as follows: /JSP/Design/selectCustomer.jsp /JSP/Design/location.jsp I am using the name space to encapsulate the JSP from the user. When I create a form using struts tags like this: The 'action' is rendered