Himai Minh wrote:Hi, Collins,
should it be
select pg from PropertyGroup pg inner join pg.properties pr inner join pg.properties pr2 where pr.name = 'position' and pr.value >= 10 and pr2.name = 'priority' and pr2.value >= 10
Himai Minh wrote:How about this?
select pg from PropertyGroup pg inner join pg.properties pr where (pr.name = 'position' and pr.value >= 10 ) or (pr.name='priority' and pr.value<=10)
javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
Poonam Agarwal wrote:
As per my knowledge url contains only "/" slashs are served by the static file or servlet listed by <welcome-file-list>
Am I right??? please correct if not
Ulf Dittmer wrote:Googling for "default servlet" will get you many results that describe what it means in the context of the Tomcat servlet container.
The Default servlet (or DefaultServlet) is a special servlet provided with Tomcat, which is called when no other suitable page is found in a particular folder.
For example, it will be called if the following folders are empty:
It's purpose is to display a directory listing, which may be enabled or disabled by modifying the "listings" parameter.
The definition for the Default Servlet is in the server-wide default web.xml file (<jakarta>/conf/web.xml). It looks like this (for Tomcat 5.5):
As you can see from the above, the servlet is built into one of the Apache libraries.
There is also a <servlet-mapping> tag which maps the servlet to the "/" url-mapping:
<!-- The mapping for the default servlet -->
When is the Default Servlet called?
* The Default Servlet is called when no suitable <welcome-file> page is found in the folder. See the <welcome-file-list> tag for information on the exact sequence of events.
What can I do with the Default Servlet?
* You can override it, to provide your own handler
* You can use it to enable or disable the Directory Listings Feature of Tomcat