aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes url-pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "url-pattern" Watch "url-pattern" New topic
Author

url-pattern

Shiaber Shaam
Ranch Hand

Joined: Jun 16, 2006
Posts: 252
Hi

Is

<url-pattern>/foo/*.do</url-pattern>

valid?

Can we combine directory match with extension match?

thanks


$Hi/\bEr
Fahad Cheruveedu
Greenhorn

Joined: Aug 29, 2005
Posts: 5
Yes, It is valid
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19693
    
  20

Shiaber Shaam wrote:Can we combine directory match with extension match?

Every time you ask yourself this type of question, the first thing you should do is try it yourself.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Shiaber Shaam
Ranch Hand

Joined: Jun 16, 2006
Posts: 252
sure, will do.

i read in hfsj about 3 types of mapping and i couldnt find the combinations.


thanks
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
Yes, actually it's not a directory, it's a url-pattern.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: url-pattern