English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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.

2006-07-31 11:05:03 · 4 answers · asked by binaryFusion 5 in Computers & Internet Programming & Design

4 answers

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

2006-08-01 06:11:50 · answer #1 · answered by Anonymous · 1 0

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

2006-07-31 11:23:10 · answer #2 · answered by StupendousMan 5 · 0 0

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.

2006-07-31 11:10:37 · answer #3 · answered by yofatcat1 6 · 0 0

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.

2016-10-15 10:35:24 · answer #4 · answered by ? 4 · 0 0

fedest.com, questions and answers