Yahoo Answers is shutting down on 4 May 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Only experienced Web Programmers and java programmers Answer?

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 <sql:query ....> tag. How to access the variable in <jsp: forward......>

tag or some other <jsp:.....> 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.

4 Answers

Relevance
  • Anonymous
    1 decade ago
    Favourite answer

    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....

    Source(s): Yes, "geeks" do lurk here. Unfortunately, no one but us "geeks" cares enough about this community to help report the posts that keep us from having time to answer valid questions. I've reported about 12 posts today, anything from people trying to get hired to people hiring to posts about the injustices of war and how to crash a server. A bunch of crap that eats up our time and ability to post for others with legitimate questions. If you see a post that is a nuisance, clean it up by reporting it. Enough reports or serious enough violation and they will remove it. Help the "geeks" help you. Peace.
  • 1 decade ago

    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

    Source(s): experience.. 18 deleted q's with no answer, not violation
  • 1 decade ago

    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.

  • mortin
    Lv 4
    5 years ago

    certainly you are able to study a coding language, and then comprehend how classes are equipped, once you get all that down different languages grow to be a lot less complicated to study. i imagine i sturdy starting up aspect should be C and/or C++ they arn't straight forward yet they're diverse the older languages available and different languages are caused by technique of them.

Still have questions? Get answers by asking now.