XML web pages

Dear All,

How come the URL (http://www.sun.com/training/index.xml) contains the page extention asxml instead of html, jsp, php ... etc? and the web browser open the xml page like other normal web pages.

However, when i try to open any xml page in web browser it opens it as xml tags instead of any web page.

Thanks,

Ashish

[368 byte] By [ashish_Daffodil_Softwarea] at [2007-11-27 10:04:39]
# 1
That's simply URL mapping on the server.
BalusCa at 2007-7-13 0:39:46 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Suppose if i am calling a web page like this www.blabla.c#

whether it is possible to done this in web.xml

e.g.,

</servlet-mapping>

<servlet-mapping>

<servlet-name>PdfServlet4</servlet-name>

<url-pattern>www.blabla.c#</url-pattern>

</servlet-mapping>

Reply

muthu2007a at 2007-7-13 0:39:46 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...