File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jar access

 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64175
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic