Hi, I place member.jsp in my webapp root folder, which is
<TOMCAT_HOME> --> webapp -->myWebApp/
and part of web.xml :
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
part of struts-config.xml:
<action-mappings >
<action
path="/Index"
type="com.kiss.web.news.actions.Index"
unknown="false"
validate="true">
<forward
name="member"
path="/Member.jsp"
redirect="false"
contextRelative="false" />
</action>
</action-mappings>
I call http://localhost:8080/Index.do and member.jsp is shown
but when I change the
<url-pattern>*.do</url-pattern>
to
<url-pattern>/*</url-pattern>
then I call http://localhost:8080/Index
Index has been called with this error msg:
"Invalid path /Member.jsp was requested"
How can I fix it? I don't want to type some .do or .action sort of
thing in my url, I type want the url like :
http://localhost:8080/Index
with no extension
Any help?
Regards
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]