Home » questions » Only experienced Web Programmers and java programmers Answer?

Only experienced Web Programmers and java programmers Answer?

2006-07-31 15:05:03, Category: Programming & Design
1> Some web pages can never be saved by File-->Save Page As menu. There are some whose source even can not be saved. How to design such pages? 2> How to prevent images on a webpage from being copied or saved? 3> Please describe a few real life methods to add counters on a web page. Must be in java or jsp. 4>In jsp I retrive a database row in a variable say 'x' using jstl tag. How to access the variable in tag or some other tag or in <%...........%> tag or in <%=.....%> tag. This is the 3rd question I'm asking in yahoo answers. My previous 2 questions gathered only one useless answer each. Is yahoo a place only for questions like "I need a G/F........" etc. I'm inclined to believe so. Please note that I will choose best answer, if any answer is really useful.

Answers

  1. Matthew B

    On 2006-07-31 15:07:55


    ... techie-fag...
  2. StupendousMan

    On 2006-07-31 15:23:10


    Those which cannot be saved can be done by using a secure connection ( it is more of admin configuring, port 81) or use java script, disabling such use.., right click etc. 2. java script. , search for code. 3. real life methods? counters are in jscript mostly. google free counter and view source.. it is mostly a 1234567890 written in equal space gif image., even microsoft front page has a generated a counter for you....or you can write a count variable in constructor, that would count each object created... 4. i dont know / nor have patience to solve / debug and post a answer. Some tips: 1. Ask 1 question per post, not 4 q's 2. Developers dont hang out here , nor geeks , look for them in user forums on the sun website or other similar ones 3. The I need a GF is important q for that age group of people., they have equal rights, this is not a age restricted place. 4. I m afraid to say so.. people dont want to do lot of complex stuff for 10 points.. , waht is my fav color can get me 10 points, why should i answer , write a program that behave like a macintosh. Get uset to it, Dont spoil the fun
  3. griz803

    On 2006-08-01 10:11:50


    Well, 1) Yes, that can be done but it is USELESS. The reason I say that is simple. All images and text must be downloaded to a client machine and stored on disk, usually, in a serialized cache to be viewed in the browsers. Sometimes, the browser is intentionally setup by the user to store sessions in RAM only. In these rare instances, it would be beneficial to disallow a right click menu by intercepting the event and reassigning it to a harmless task with Javascript. 2) Same basic answer as 1 above. However, this is again easily curcumvented by several methods with a savvy user. Even viewing source would need to be disabled, or an URL could be found at which the image is stored and that URL could be used to access it directly for downloading. Oh, well, nice idea. These 2 oughta' do you....
  4. yofatcat1

    On 2006-07-31 15:10:37


    I can only answer number 2. There are sites that provide the code so you can't right click on a page. However, people who know something about computers can figure out that all they have to do is ctrl a and ctrl c to copy the page, and get the image.