on 03-14-2008 4:40 PM
The link below shows how to manage web.xml for a J2ee/EJb application on a 404 http error.
[http://help.sap.com/saphelp_nw04s/helpdata/en/9a/e74d426332bd30e10000000a155106/content.htm]
<error-page>
<error-code>404</error-code>
<location>/errorPages/MyCustomErrorPage.jsp</location>
</error-page>
I understand a Webdynpro application is also a j2ee application running in the server with its webdynpro runtime.
However, I do not see a web.xml file.
However, the following files were found, upon searching the file system.
1. Application.xml and ( requirement for a j2ee application ear file).
2. application-j2ee-engine.xml (not sure why WD needs it).
Can anyone help please?
Thinakar
The link below shows how to manage web.xml for a J2ee/EJb application on a 404 http error.
[http://help.sap.com/saphelp_nw04s/helpdata/en/9a/e74d426332bd30e10000000a155106/content.htm]
<error-page>
<error-code>404</error-code>
<location>/errorPages/MyCustomErrorPage.jsp</location>
</error-page>
I understand a Webdynpro application is also a j2ee application running in the server with its webdynpro runtime.
However, I do not see a web.xml file.
However, the following files were found, upon searching the file system.
1. Application.xml and ( requirement for a j2ee application ear file).
2. application-j2ee-engine.xml (not sure why WD needs it).
I could not locate the above in any of the WD, J2ee, EP perspectives, but only in the file system.
Questions:
1. Should I need to create a web.xml inside this webdynpro? If so, at what location ?
2. Can I add the above <error-page> tag section inside application.xml ? If so, how to edit this file.?
3. Is there any other approach to insert the http 404 error response?
Can anyone help please?
Thinakar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.