Hi,
I tried to deploy the books example. But in the deploy descriptor it says:
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
version="2.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>books</display-name>
<listener>
<listener-class>com.sun.books.listeners.ContextListener</listener-class>
</listener>
<servlet>
<display-name>books</display-name>
<servlet-name>books</servlet-name>
<jsp-file>/books.jspx</jsp-file>
</servlet>
<jsp-config>
<jsp-property-group>
<display-name>books</display-name>
<url-pattern>*.jspx</url-pattern>
<el-ignored>false</el-ignored>
<scripting-invalid>false</scripting-invalid>
<is-xml>true</is-xml>
</jsp-property-group>
</jsp-config>
</web-app>
The only jspx file is books.jspx. After the application is deployed and I put
localhost:8080/books/books.jspx in the browser I see only the xml output in the browser window instead of any real html page. I was wondering what the use of this example is. Besides I also failed to run Bookstore project. I noticed Bookstore1 contains a backreference to bookstore project. And only Bookstore1 example really works in full. So are the books and bookstore1 examples only used for subprojects of bookstore1 or they are standalone projects?