struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajvinder Pal <>
Subject How to disable character like Tilt(~) in the Action Name
Date Thu, 13 Oct 2016 12:00:46 GMT
Hi Everyone,

I am trying to access the URL in the browser like below:-

1.) http://localhost:9084/myportal/
2.) http://localhost:9084/myportal/

struts.xml entry:-

<action name="login" class="com.UserLoginAction">
<interceptor-ref name="my-stack">
<param name="validation.excludeMethods">execute</param>
<result name="showLogin">/jsp/userlogin/loginPage.jsp</result>

I am able to get the login page using both the URLs. I don't want to get
the result  using second URL. PLease let me know if i need any
configuration so that framework should not try to map ~login  to login in
the struts.xml


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message