Southin - I'm pretty sure you used to work at St. Paul Companies a
couple of years back.  So did I, over on the Wolfkrow/MAPS group with
Steve Petersen, Janice and Gail.  

Assuming you are the right Southin, I just figured I'd send you a quick
note to say hi.  I couldn't resist - this newsgroup is just too odd a
place to come across someone I recognized!

I hope you are doing well.  I'd heard - through Shanti, I think - that
your first couple of ventures after SPC were a little less than you'd
hoped for.  Also that you are now married, if memory serves...  So
congratulations if that is correct.

Well, take care.  And let me give you an 'attaboy' for contributing
back to the group!

Steve Snider

--- "Simphoukham, Southin" <[EMAIL PROTECTED]> wrote:
> Yes/No.
> 
> Supposedly Sun provides a way to read files from either a jar (war)
> or zip
> files.  I tried it with very little success.
> 
> There are examples in the O'Reilly Java I/O book by Elliotte Rusty
> Harold.
> 
> Southin
> 
> -----Original Message-----
> From: Jonas Bergstr�m [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 16, 2001 8:35 AM
> To: JBoss User
> Subject: [JBoss-user] Read a file from WAR (not a strict JBoss
> question)
> 
> 
> Hello.
> 
> Is it possible to include resource files, such as .xsl files, that
> are read
> by a servlet (through e.g. a FileInputStream) in a war file, just as
> if they
> were read from disk?
> 
> How is that file accessed, which path is used?
> 
> To be more clear, if the content of my .war is this:
> 
>       /index.html
>       /images/banner.gif
>       /images/jumping.gif
>       /WEB-INF/web.xml
>       /WEB-INF/lib/jspbean.jar
>       /WEB-INF/classes/com/mycorp/servlets/MyServlet.class
>       /WEB-INF/classes/com/mycorp/util/MyUtils.class
>       /xsl/howto.xsl
>       /xsl/feedback.xsl
> 
> The servlet generates xml on each request, and wants to transform the
> xml
> with either 'howto.xsl', or 'feedback.xsl' to generate output to the
> client.
> 
> Is it now possible for the servlet to read those .xsl files as if
> they
> resided on disk?
> 
> 
> 
> Thanks / Jonas
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to