Hi,
        I have used a namespace "abc" for a particular set of action 
classes. The action class invocation happens with the namespace in the 
requested url, as expected.  However after the processing is done, the 
namespace is appended to the result jsp.

code snippet - 

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd";>

<struts>
        <package name="pack1" namespace="/u"
                extends="default">

                <action name="Login_*" method="{1}"
                        class="com.LoginAction">
                        <result 
name="input">WEB-INF/jsp/Login.jsp</result>
                        <result 
name="FIRST">WEB-INF/jsp/Login.jsp</result>
                        <result name="EXPIRED_PASSWORD">
                                WEB-INF/jsp/ChangePassword.jsp
                        </result>
                        <interceptor-ref name="basic" />
                </action> 


After processing, the servletPath is "/u/WEB-INF/jsp/Login.jsp" . Is this 
the expected behavior? I would prefer not changing my jsp location.
Any pointers would be of great help.

Thanks,
Dwipin Chandran.
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


Reply via email to