File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes jar access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "jar access" Watch "jar access" New topic
Author

jar access

Malhar Barai
Author
Ranch Hand

Joined: Aug 17, 2001
Posts: 399
Hi all..
I have archived my web-app in a jar file, as I dont want the client to view the code of my JSPs..
I have archived from the context..i.e my url was like this..
http://localhost/tlg/module/index.jsp
now I have archived the "tlg" I ran
jar -cvf tlg.jar . at <path>/tlg/ prompt..& put the tlg.jar in web-apps path. but then I ma not able to acces the application.
Dont know if I am doing it in a proper way.
Hope I am clear.
TIA


Malhar Barai
SOA & Java Book
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

I have archived my web-app in a jar file, as I dont want the client to view the code of my JSPs..

Ummm, you do realize that they can simply unpack the jar and look at anything they like, right?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Malhar Barai
Author
Ranch Hand

Joined: Aug 17, 2001
Posts: 399
Originally posted by Bear Bibeault:

Ummm, you do realize that they can simply unpack the jar and look at anything they like, right?

Ye I know they can surely unpack the jar, but they wont take pain to do that much. But if its freely placed, they would surely like to have a look at the coding.
Thnx AW
 
 
subject: jar access
 
Similar Threads
how to read through property file
Unable to parse xml by jaxb in ejb module
very very urgent...pl respond..
XML parsing by jaxb
Error 404--Not Found while accessing web app through Weblogic 6.1