File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes whic tag is right 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 "whic tag is right " Watch "whic tag is right " New topic

whic tag is right

ramkumar kumar

Joined: Mar 25, 2009
Posts: 4
- what we can give in the position of <tag€ >.

we have to select from thies list
file -type


< tag>

< tag > mpg < /tag>
< tag > video/mpeg </ tag>

</ tag>

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

Welcome to the ranch. Please take some time next time to write your posts. This one is unreadable. Can you be a bit more explicit ?

[My Blog]
All roads lead to JavaRanch
Ankit Garg

Joined: Aug 03, 2008
Posts: 9462

Well I'm not sure where this question came from, but it doesn't looks like SCWCD question to me. It looks more to me like an XML question but may be I'm wrong. My guess for the answer would be

I know this may sound stupid but this is what's coming to my mind. Maybe I've misinterpreted the question...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Kamal Tripathi
Ranch Hand

Joined: Oct 02, 2008
Posts: 86
well if I am not wrong then all <tag>'s are placeholders to drop appropriate tags.

Yes Ram, it is confusing to read. Just checkout mime-mapping in one of the sample web.xml's.

Kamal Tripathi
SCJP 1.4 90%, SCWCD5 94%, Next SCDJWS--> In Naescent stage. Researching abt exam and material itself.
Ankit Garg

Joined: Aug 03, 2008
Posts: 9462

Oh yes, kamal is right, I completely forgot about the mime-mapping element of the web.xml. The answer would be

BTW ramkumar, please QuoteYourSources...
I agree. Here's the link:
subject: whic tag is right
It's not a secret anymore!