27;t expect to come into your url.
>
> Regards
> Louis
>
>
>
> From: mathias-ewald
> To: user@struts.apache.org
> Sent: Monday, July 20, 2009 2:53:39 PM
> Subject: Re: Problem with LoginInterceptor
>
>
> Hi,
>
> yes I am using the latest ver
Hi,
yes I am using the latest version of struts2. Most likely the tutorials I
used refer to other versions. I set the struts.xml as follows:
---
Thx for the reply! I checked the Login Intercepter Tutorial once again and
recognized I forgot some Interceptors as you told. This is what they suggest
to define:
You need to include one of the framework interceptor stacks (e.g
"defaultStack") in your "defaultLoginStack" stack. As you have
con
Hi,
recently I was told using Interceptors was better than using a BaseAction
object performing the login process. I agree. Still I have some trouble:
This is what happens: I have a JSP that creates a button liked with another
action:
AgencyDetails.jsp
-
...
Hi,
newton.dave wrote:
>
> Have you considered using an interceptor for determining whether or not
> the user is logged in? Actions requiring login can be marked with an
> interface, annotation, etc. IMO this is a substantially cleaner
> architecture.
>
Okay - I didn't really care about in
Hi,
a few days ago I implemented a login mechanism into my web application.
Therefore I use an abstract BaseAction, that asks the implementing class
wheter it want to be password protected or not. If it does and there's no
object named "user" available the Login.jsp is shown. When the Login form
Hi,
this is the JSP script that causes the Exception:
-
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
http://www.w3.org/TR/html4/loose.dtd";>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page import="com.opensymphony.xwo
Hi,
I have a Category business object looking like this:
--
public class Category {
private Category parent;
private Set children;
//...
}
--
I have a form that allows me to edit in information about a different
obj
Okay, it was just my understanding of the whole thing. I will do as you
suggested.
cu
Lukasz Lenart wrote:
>
> 2009/7/17 mathias-ewald :
>> I don't think so - I want the exact value to be shown, too, so it's more
>> a UI
>> thing.
>
> As you thing, but
I don't think so - I want the exact value to be shown, too, so it's more a UI
thing.
Lukasz Lenart wrote:
>
> 2009/7/17 mathias-ewald :
>> I want to round a value during an interation:
>
> Maybe it will be better to prepare a list on server side with rounded
&g
Hi,
I want to round a value during an interation:
--
(Min: , Max: )
<%
int val = 0;
%>
--
Hi,
I am trying to implement a login mechanism. I will now explain what I did
and what error I get but in case there is a more sophisticated way to do
that - please tell me!
I created a BaseAction which is the parent of all my Actions. The BaseAction
is supposed to be responsible for displaying
Works - thx. I should have seen that in the doc though ^^
Nils-Helge Garli wrote:
>
> Try using the url tag without specifying value or action.
>
> Nils-H
>
> Den 16. juli. 2009 kl. 13.14 skrev mathias-ewald :
>
>>
>> Hi,
>>
>> is there a w
Hi,
is there a way to create a URL (like ) to the Action that called a
JSP file? I would like to reuse some code like forms and other stuff
cu
mathias
--
View this message in context:
http://www.nabble.com/URL-to-underlying-action-tp24514500p24514500.html
Sent from the Struts - User mailing li
14 matches
Mail list logo