Hi Miguel ,
I have found out the way to restrict accesses to JSP files, with this you
can have your JSP files anywhere, just add following fragment to *web.xml*file.
Deny Direct Access
*.jsp
summary
Denied
Sorry just remove *summary* there. thats all :)
On Tue, Jul 6, 2010 at 11:02 AM, Kushan Jayathilake wrote:
> Hi Miguel ,
>
> I have found out the way to restrict accesses to JSP files, with this you
> can have your JSP files anywhere, just add following fragment to
> *web.xml*file.
>
>
>
Hello,
if you want to prevent direct access to your .jsp's, you need to put
them inside the WEB-INF/classes directory. That one is a question that
popup in the list from time to time.
But if you want your users to go throu the links at the home, you have
to implement some trickery, in the form of s
Hi Guys,
Can anyone suggest me how to prevent an user entering a direct URL for the
JSP instead of action,
ie : *search.jsp* instead of *search.action*
I want to control this, so the users must enter an URL ends with
*.action*and i also wants to control access some pages by typing its
action nam
Hi,
I am using @Result but it does not have the value filed !! it only has
location,name,type and tiles.
I am using struts 2.1.8
So below does not work:
@Action(value = "/register", interceptorRefs = { @InterceptorRef(value =
"i18nStack") },
results = { @Result( value="register.j
Hi I am trying to use a redirect in portal env ..I am using liferay 5.2.3
and apache struts bridge.
I see that the "redirect=true" works fine as standalone webapp but when
fails to work in portal env..
Heres a snipped on struts-config
Thanks Greg (and Ken). I appreciate the comments and will get around to
updating this code at some point. However I believe these errors to be a
symptom of a deeper problem as this code WAS - and still is on some servers -
working. I am also getting other strange errors in code which was previo
Top of my head ... you either do not have a getMessage() method in your
action, or you do, but the value is blank/null.
Post your action code.
Regards
--
View this message in context:
http://old.nabble.com/Problem-with-figuring-out-Convention-Plugin-tp29058926p29073975.html
Sent from the Strut
8 matches
Mail list logo