wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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="http://forums.hotjoe.com/forums/list.page" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.
It is sorta covered in the JavaRanch Style Guide.
subject: Tomcat WAP configuration - downloading 3gp files
Similar Threads
JNDI with servlet
How to transfer a program to a real phone?
Tomcat 404 - error
Creating a Wap site that calls java services(servlets)
.3gp file on sun j2me emulator