Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 2nd, 2007, 10:36 AM   #1
ssrun
Newbie
 
Join Date: Aug 2006
Posts: 20
Rep Power: 0 ssrun is on a distinguished road
Can JSP Access .jar files?

Hello!

I'm currently evaluating possible languages for writing a web application. The data for the application will be images stored directories compessed into .jar files. I'm wondering if JSP can access and read the .jar files. I have no experience with JSP so I'm a little in the dark on this one.
ssrun is offline   Reply With Quote
Old May 2nd, 2007, 10:58 PM   #2
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,010
Rep Power: 5 lectricpharaoh will become famous soon enough
Quote:
Originally Posted by ssrun
Hello!
Hi!
Quote:
Originally Posted by ssrun
I'm currently evaluating possible languages for writing a web application. The data for the application will be images stored directories compessed into .jar files. I'm wondering if JSP can access and read the .jar files. I have no experience with JSP so I'm a little in the dark on this one.
Should be totally possible to do this. To my knowledge, .jar files are compressed using the ZIP format. As there are classes in Java to handle ZIP compression, it should be a trivial task. See this page, for example.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old May 29th, 2007, 12:43 PM   #3
msi_333
Newbie
 
msi_333's Avatar
 
Join Date: May 2007
Location: Egypt
Posts: 19
Rep Power: 0 msi_333 is on a distinguished road
Send a message via Yahoo to msi_333
Quote:
Originally Posted by ssrun View Post
Hello!

I'm currently evaluating possible languages for writing a web application. The data for the application will be images stored directories compessed into .jar files. I'm wondering if JSP can access and read the .jar files. I have no experience with JSP so I'm a little in the dark on this one.
You can import the class the inside using page tag

<%@ page import="javax.servlet.http.HttpSession" %>
msi_333 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
.Jar Files running in Web browser PhilBon Java 0 Apr 23rd, 2007 12:48 AM
Access to private files. Jhaqen Java 2 Nov 2nd, 2005 2:35 PM
Random Access Files In JAVA oncampus Java 0 Mar 8th, 2005 3:44 AM
shutil.copy corrupting files? TimL Python 0 Feb 20th, 2005 3:32 PM
Bash script to access all files in a directory shinni Bash / Shell Scripting 4 Feb 18th, 2005 3:26 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:00 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC