Wow,
I just noticed, after I logoff, if I go Back to menu and I do a refresh a new session gets created and you can use the links to navigate.
What am I doing wrong ?? How can one do not to create another session when users hits refresh on the page right after login?
Cezar
After reading http://www.husted.com/struts/catalog.html,
the way I'm checking now to see the user is still logged in, in every Action I check the session variable I set on login, if it's not there I redirect the user to login page. I no longer need the:
<%...
Tom,
IMO the methodology you want to/have to use depends on the type of project. Some types of applications dictate a specific type of process. The existing models doesn't give you the exact receipe for your project, it's just a general method proven to be working for certain types of...
Hi epiuse,
To have more radio buttons means to give the user the choose between different options of the same property¨. Are you sure you don´t need checkboxes for your stuff?
What you could do with the radio buttons would be someting like (just HTML snippet):
---
<input type=radio¨...
Hello Kindon,
It's working very well the method with the jsp under WEB-INF/jsp/, I had just to change the relative links to the actions in the action form field, from SomeAction.do to ../../SomeAction.do. I see <html:base/> tag has a big influence on the links.
>>If someone tried to access the...
Hi Kindon,
Well, very nice to have the doubts cleared in such a short time :-) Your answers are very appreciated, thanks.
When you talk about container authentication you talk about the server.xml and web.xml settings that allow access only on certain conditions? Do you know where I can find...
Wow, thanks Kindon for your quick reply.
So it does exists a solutions also it seems to me a bit cumbersome. I'll try it this week.
Another question:
- I have an app where user log in, do some stuff (I forward him to jsp pages I customize for him) and then logs out.
If someone tries to access...
Hello all,
I'm new to Struts and I have like tons of questions. Part of them I found the answer (thanks Google) but not for some of them, mostly "best practices" questions.
So, here it comes the first one:
We use application.properties file for displaying a certain language depending...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.