This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes jar access Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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: 56191
    
  13

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?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jar access
 
Similar Threads
Error 404--Not Found while accessing web app through Weblogic 6.1
Unable to parse xml by jaxb in ejb module
XML parsing by jaxb
very very urgent...pl respond..
how to read through property file