Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • Lotus Expeditor wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search
IBM Translated Product Documentation...

 Lotus Expeditor 6.2.3 Documentation
 IBM Translated Product Documentation

Tag Cloud

  • 6.2.1
  • 6.2.2
  • 6.2.3
  • access services
  • accounts
  • administer
  • application
  • applications
  • broker
  • client
  • client for desktop
  • client management
  • cluster
  • collecting data
  • configuration
  • configure
  • data integrity check tools
  • database
  • db2
  • db2e
  • deleting log entries automatically
  • demo
  • demonstration
  • desktop overview
  • develop
  • device
  • device client
  • diagnosis of problems. See troubleshooting
  • diagnostic data
  • diagnostic tool
  • documentation
  • download
  • environment variables
  • error messages
  • expeditor
  • expeditor server
  • expeditor toolkit
  • files
  • fix pack
  • gettingstarted
  • Help
  • how-to
  • IBM Support
  • install
  • installation
  • integration
  • integrator
  • interaction services
  • Interrogation Windows Tab
  • introduce
  • introduction
  • log files
  • messaging
  • micro
  • mobile databases
  • mobile databases
  • mobile devices
  • mqe
  • nci
  • notes
  • OpenSpan
  • OpenSpan Scripting Container
  • OpenSpan Windows Container
  • overview
  • platform
  • portlet
  • prerequisites
  • presentation
  • problems with synchronization. See troubleshooting.
  • purging log entries automatically
  • Release Notes
  • replication
  • resources on the Web
  • rich client application
  • samples
  • scripts
  • security
  • server
  • software
  • software prerequisites
  • support
  • support troubleshooting
  • Sync Client
  • Sync Server
  • synchronization
  • synchronization problems
  • tool
  • toolkit
  • tools
  • trace files
  • trace level
  • troubleshoot
  • troubleshooting
  • tutorial
  • use
  • was
  • web services
  • What's New
  • xcm
  • xpdt
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Lotus Expeditor 6.2.3 Documentation > Accessing resources packaged in JAR bundles
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
(Current editable edition)
Original noneditable edition
Current editable edition
(Original noneditable edition)

Accessing resources packaged in JAR bundles 

expanded Abstract
collapsed Abstract
The Servlet and JSP specifications do not guarantee that a web application's resources will be represented as files in the host machine's file system. Many web container implementations do expand web applications into the file system, and some existing web applications take advantage of this implementation detail to reference resources as Java™ Files. However, web applications that target a Lotus® Expeditor runtime are represented as JAR bundles that do not have to be expanded in the file system to run.



The Servlet and JSP specifications do not guarantee that a web application's resources will be represented as files in the host machine's file system. Many web container implementations do expand web applications into the file system, and some existing web applications take advantage of this implementation detail to reference resources as Java™ Files. However, web applications that target a Lotus® Expeditor runtime are represented as JAR bundles that do not have to be expanded in the file system to run.

Because of this, your web application should use the ServletContext.getResourceAsStream() API when accessing web application resources. It should not assume these resources will be available as files. The API ServletContext.getRealPath() should also not be used as it is implementation dependant. For the Lotus Expeditor runtime, it will return null since the web application resources are not expanded in the file system. Again, such resources can be accessed as IO streams through ServletContext.getResourceAsStream().

Parent topic: Accessing Web application resources

expanded Article information
collapsed Article information
Category:
Lotus Expeditor 6.2.3 Documentation, Product documentation,
Tags:
6.2.3, documentation

This Version: Version 1 October 5, 2011 11:49:26 AM by IBM  IBMer

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (1)
collapsed Versions (1)
Version Comparison     
Version Date Changed by               Summary of changes
This version (1) Oct 5, 2011 11:49:26 AM IBM  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use