wood burning stoves 2.0*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 61092
    
  66

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
 
Don't get me started about those stupid light bulbs.
 
subject: jar access