aspose file tools*
The moose likes Struts and the fly likes Hide Source Code in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Hide Source Code in Struts" Watch "Hide Source Code in Struts" New topic
Author

Hide Source Code in Struts

Yaddif Medina
Greenhorn

Joined: Oct 05, 2005
Posts: 23
Hello,

I want to hide my JSP code for the user when it does right click - View Source in the page. How can i do it? .... I am using struts.

Thanks in advance.
praveen Shangunathan
Ranch Hand

Joined: Sep 06, 2005
Posts: 65
http://forum.java.sun.com/thread.jspa?threadID=584062&messageID=2991116
Scott Dunbar
Ranch Hand

Joined: Sep 23, 2004
Posts: 245
That, or this one works too


<a href="http://forums.hotjoe.com/forums/list.page" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.
Yaddif Medina
Greenhorn

Joined: Oct 05, 2005
Posts: 23
Thanks guys.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

We also have a Struts forum here, and I am going to move this post to that forum, even though it has been answered.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2579

I haven't seen what the above links say, but let me assure you that there is nothing you can do to hide the source of your page. No matter what you do, there are still workarounds. Don't you know how ppl disected google suggest?

- Manish
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hide Source Code in Struts