File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat WAP configuration - downloading 3gp files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat WAP configuration - downloading 3gp files" Watch "Tomcat WAP configuration - downloading 3gp files" New topic

Tomcat WAP configuration - downloading 3gp files

Rob Elliott

Joined: Apr 24, 2002
Posts: 9
I'm new to WAP.

Mobile users will be typing .3GP file URL which will launch realplayer based on video/3gpp mime type configured in web.xml on WAP (Tomcat) server. The 3GP file will be uploaded to the phone and played.

I need to provide a public URL to local (private) file system location mapping where .3GP files will reside on web server.

My question is do I need to provide and deploy a webapp (WAR file) to provide this functionality on server or can this be accomplished strictly through Tomcat configuration?

Scott Dunbar
Ranch Hand

Joined: Sep 23, 2004
Posts: 245
Depending on your Tomcat version the default web.xml for all webapps is in conf/web.xml in your Tomcat home directory. You could add the mime type to the list in there.

<a href="" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.
I agree. Here's the link:
subject: Tomcat WAP configuration - downloading 3gp files
Similar Threads
Creating a Wap site that calls java services(servlets)
How to transfer a program to a real phone?
Tomcat 404 - error
.3gp file on sun j2me emulator
JNDI with servlet