Hello, I must be missing something obvious here.
The URL
pattern I am trying to use is;
<
servlet>
<servlet-name>
test</servlet-name>
<servlet-class>package.homepage</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>test</servlet-name>
<url-pattern>/servlet/test.*</url-pattern>
</servlet-mapping>
Although the URL "http://localhost:8080/package/servlet/text.sometext" does not work, whilst the URL "http://localhost:8080/package/sevlet/text.*" does work.
So the * is being treated as a literal character and not as a wildcard.
I have had a look around and I can't seem to find an explanation for this odd behaviour. I am using
Tomcat v6 as my container.
Any ideas?
Regards,
Michael