Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Re: Download link to jar in WEB-INF

Reply
Thread Tools

Re: Download link to jar in WEB-INF

 
 
Andrew Thompson
Guest
Posts: n/a
 
      03-31-2004
On Wed, 31 Mar 2004 12:47:29 -0700, Wendy S wrote:

> "Andrew Thompson" <(E-Mail Removed)> wrote:
>> It seems this is a security issue,

....
> The Servlet Specification specifically forbids directly serving resources
> that live under WEB-INF.

....
> (I really recommend reading the Servlet Spec cover to cover...


...ugghh. Yeah, been meaning to set time aside for
all this necessary study, but it's difficult
dragging myself away from churning out hackish
(but cute!) JSP's.

> So you can do what you want by writing a Servlet that will read the .jar
> from WEB-INF/lib and send it to the user.


I will have to investigate that, thanks.

> But it would be easier to just put two copies of the .jar file on the
> server.


But yeah, I'll do that for the moment.

>(Ant task?)


No can't, just used surface spray..
(grins ..ducks)

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java -cp a.jar -jar b.jar => Works on Windows, not on Debian cyberco Java 4 02-14-2006 06:27 AM
jaas.jar, jta.jar jdbc-stdext.jar missing from jdk1.5 RPM muttley Java 0 10-20-2005 02:40 PM
Differences of xercesImpl.jar, xercesImpl-J.jar, dom3-xercesImpl.jar ? Arnold Peters Java 0 01-05-2005 10:59 PM
Differences of xercesImpl.jar, xercesImpl-J.jar, dom3-xercesImpl.jar ? Arnold Peters XML 0 01-05-2005 10:59 PM
Re: Download link to jar in WEB-INF Sudsy Java 7 04-02-2004 06:32 PM



Advertisments