2017-12-27 21:06 GMT+01:00 Dave Weis :
> Would it be a correct assumption that changing the property
> struts.convention.relative.result.types to add 'tiles' would let me use my
> tiles definitions? There's no mention at all of tiles in the document at
> http://struts.apache.org/plugins/convention/
On 12/28/2017 12:21 AM, Tamás Barta wrote:
> For example there is a web application which has a LoginAction action. On
> one site it is needed to access it via /login, on the other site /user/log.
I'm just curious why you have to do such support. I think if I knew, I
could have better advice.
I'm doing something similar and extended ActionSupport to put helpers to
access the user session and the site they went to in the first place.
On Dec 27, 2017 2:51 PM, "Tamás Barta" wrote:
> For example there is a web application which has a LoginAction action. On
> one site it is needed to acc
For example there is a web application which has a LoginAction action. On
one site it is needed to access it via /login, on the other site /user/log.
It is just an example. The urls shouldn't be hard-coded in action
annotations as I don't want to clone the web application just to change
urls.
201
On Wed, Dec 27, 2017 at 1:22 PM, Lukasz Lenart
wrote:
> 2017-12-27 18:12 GMT+01:00 Dave Weis :
> > Which direction would you recommend? I'll probably have around 100
> actions
> > on this project and 300 or so JSP pages. I am using tiles extensively
> also.
>
> I would recommend using the Convent
2017-12-27 18:12 GMT+01:00 Dave Weis :
> Which direction would you recommend? I'll probably have around 100 actions
> on this project and 300 or so JSP pages. I am using tiles extensively also.
I would recommend using the Convention plugin for a fast development,
when prototyping things. Or if the
On 12/27/2017 9:28 PM, Tamás Barta wrote:
> I would like to use the same web app code
> with different URLs (for different sites).
Could you elaborate with an example, please?
On 12/27/2017 9:16 PM, Dave Weis wrote:
> On Wed, Dec 27, 2017 at 11:43 AM, Yasser Zamani
> wrote:
>
>> On 12/27/2017 8:42 PM, Dave Weis wrote:
>>> It would make things substantially
>>> more convenient but I like the declarative method so there's no question
>> as
>>> to intention.
>>
>> If I
Hi,
Is there any built-in method to assign URL pattern to an action (method)
out of the action code itself? I would like to use the same web app code
with different URLs (for different sites). My idea is to create a custom
URL mapper which reads url data from database or configuration files for
ex
On Wed, Dec 27, 2017 at 11:43 AM, Yasser Zamani
wrote:
> On 12/27/2017 8:42 PM, Dave Weis wrote:
> > It would make things substantially
> > more convenient but I like the declarative method so there's no question
> as
> > to intention.
>
> If I understood your high level English well ;) you are
On 12/27/2017 8:42 PM, Dave Weis wrote:
> It would make things substantially
> more convenient but I like the declarative method so there's no question as
> to intention.
If I understood your high level English well ;) you are worry about if
convention plugin ties your hand on results? No, you
On Wed, Dec 27, 2017 at 10:41 AM, Yasser Zamani
wrote:
> On 12/27/2017 7:52 PM, Dave Weis wrote:
> > I do have the struts-convention plugin loaded and removing it fixed my
> > problem!!
> >
> > Where was it trying to find the success forward?
> >
> > Thank you so much!
>
> Glad to hear this :)
>
On 12/27/2017 7:52 PM, Dave Weis wrote:
> I do have the struts-convention plugin loaded and removing it fixed my
> problem!!
>
> Where was it trying to find the success forward?
>
> Thank you so much!
Glad to hear this :)
At [1] I saw it will look for `WEB-INF/content/logout.jsp` or
`WEB-INF
On Wed, Dec 27, 2017 at 10:14 AM, Yasser Zamani
wrote:
> On 12/27/2017 7:01 PM, Dave Weis wrote:
> > Where it gets odd is that if I change that action definition to the
> > following and completely stop and start Tomcat from Eclipse I still get
> an
> > error:
> >
> > You can see there is no men
On 12/27/2017 7:01 PM, Dave Weis wrote:
> Where it gets odd is that if I change that action definition to the
> following and completely stop and start Tomcat from Eclipse I still get an
> error:
>
>
> /landing.jsp
>
>
> /landing.jsp
>
>
> Struts Problem Report
>
> Struts has detected an
I'm having an odd interaction/problem with Struts, eclipse, and Tomcat.
I have this in my struts.xml file:
/landing.jsp
/landing.jsp
/reload.jsp
I can access /auth/logout2 correctly and can access /auth/reload correctly.
The body of the execute method in both actions is nearly identic
16 matches
Mail list logo