answersLogoWhite

0

📱

Web Programming

Web Programming is the category for programming for the Internet and World Wide Web. Q&A's include coding in technologies used for Browser, applet based applications, and more.

584 Questions

What is web service who writes it and how it works?

  1. A web service is a service that is available for use over the internet. "Servers" are called such because they provide "services." Don't be confused by someone pointing at a computer and calling it a "server", strictly speaking this is incorrect even though it is a vernacular used nearly everywhere. What the person means is that computer runs server software that provides services over a network.
  2. As for who writes it, there is no definitive answer other than "the programmer/s". As there are far too many web services and programmers of them out there to discuss.
  3. Similarly for how it works, it depends on the specific service you want to discuss and since there isn't one named there are too many out there to mention.

Which tags do you know that do not need a closing tag to work?

End tags on void elements must not be used. A void element is any element that cannot have any content. The HTML 4,01/XHTML 1.0 Strict void elements are: <area>, <base>, <br>, <col>, <hr>, <img>, <input>, <link>, <meta>, and <param>. HTML5 also adds <command>, <keygen>, and <source>.

In XHTML, all void elements must be self-closing. For example:

<input type="submit" value="OK" />

In HTML 4.01, use the following instead:

<input type="submit" value="OK">

Both forms can be used in HTML5, however self-closing void elements are preferred.

The following must not be used:

<input type="submit" value="OK"></input>

Elements that normally have content (i.e., all non-void elements) must have an end tag even if they have no content.

<a id="myanchor"></a>

The following must not be used:

<a id="myanchor" /a>

HTML 4.01 allows certain non-void elements to be used without an end tag (the end tag is implied). For example, the <p> element can be used without a corresponding </p> tag:

<p>This is a paragraph.

<p>This is another paragraph.

However, do not rely on this.

Why jsp cannot be used as mvc controller instead of servlets?

Because JSPs are designed to take care of the View part of the MVC design patter and not the controller. You can have little or some amount of logic in it, but it is not designed/created with the idea of controlling the flow of control in a J2EE application.

What is the J2EE Value Object Pattern?

The Value Object pattern provides the best way to exchange data across tiers or system boundaries, especially when there is network communication involved. This is a pattern that solves performance issues around network latency

This pattern is an object that encapsulates a set of values that is moved across the boundary so that attempts to get the values of those attributes are local calls.

What is the difference between block level elements and inline elements?

In HTML, block level elements are elements that creates large blocks of content like paragraphs or page divisions. They typically are formated with a line break before and after the element. They may appear only in element and can contain other blocks as well as inline elements and text or data. Examples are:

,

,

,

,
    etc.

    Inline elements are those elements that defines text or data in the document like makes the enclosed text strongly emphasized and says the enclosed text is a quotation. They don't start new lines when you use them, and they generally only contain other inline tags and text or data. Or they include nothing at all, like the
    tag. Examples are ,

, , , etc.

An important thing to keep in mind while using inline elements is that formating of inline elements is different from block element. You cannot specify the width, height, max-width, max-height, min-width & min-height of an inline element.

It is worth mentioning that you can change the type of inline element or block level element by using any of the following CSS property:

display: block; (To convert an inline element to block element)

display: inline; (To convert block element to an inline element)

What is diamond problem in oop inheritance?

The diamond problem in object-oriented programming occurs in languages that support multiple inheritance, where a class inherits from two classes that both descend from a common superclass. This creates ambiguity as to which version of the superclass's methods or properties should be inherited by the subclass. For example, if class A has subclasses B and C, and class D inherits from both B and C, it becomes unclear whether D should use the implementation from B or C when accessing methods from A. To resolve this, some languages implement specific rules or mechanisms, like method resolution order (MRO) or virtual inheritance.

Is basefont tag an empty tag?

No.

The <basefont> tag specifies the default font for text on page.

Example usage:-

<head>

<basefont face="courier, serif" size="5" color="red">

</head>

IMPORTANT: the <basefont> tag is no longer supported (since HTML5). It is still supported by Internet Explorer 9 and earlier versions but, regardless, you should be using CSS for style and HTML for content, never HTML for both style and content.

What basics do you need to know to be a webmaster of a small site?

A very basic, but still decent, website would include "HTML" and "CSS". HTML creates the page. It outputs the words onto the screen, and organizes things into tables and divisions (When you get more advanced). CSS takes the HTML and makes everything look better, and more decent. It colors certain things, aligns a web page, and more. These are the building blocks of web design. Many other dynamic languages await, but they require HTML + CSS. You can learn HTML and CSS, and more, at w3schools, absolutely free - No strings attatched. [ http://www.w3schools.com/ ]

What are tracking logs?

A tracking log is typically a file where a computer program, such as a web server, stores the behaviour of each user through several records. In the case of a web server, there is one record in the tracking log per each file served.

E.g. (simplified Apache log record):

IP adress: 127.0.0.1

User: root

Time: [10/Jun/2010:22:30:56 +0200]

Type:GET

Web page: /phpmyadmin/db_structure.php

Protocol: HTTP/1.1

A 10-bit code could represent how many characters?

210 = 1024, so there are 1024 different bit configurations in a 10-bit code.

What is the difference between sticky and retroactive comment signatures?

Retroactive changes your signature on every message you've ever posted.

Sticky keeps your old signatures and only uses your new signature for any subsequent messages. It should be noted that sticky signatures are removed if you later choose retroactive signatures.

What is it called when text can be converted into a table by using the convert text to table option?

Using a text processor (such as Microsoft Word) you can convert between text and table formats. You will rarely have to make it.

The columns in a "text formatted" table are separated just by tab spaces, as if using TAB key.

This tool allows to represent text with less complexinternal formatting, just using tabs to separate each cell of each column of a table.

The internal formatting complexity may be a concern when you have to worry about compatibility between different programs, like Microsoft Word and simpler text editors, such as Windows Notepad or even with some old fashioned Internet browsers.

Where can you upload videos?

Videos can be uploaded to a variety of user-based websites such as Youtube, Facebook, Myspace, or Flickr.

How many boys are in vmk?

Lol i Dont Really Know How Many Boys There On In VMK But There Is ALOT!!!!!!!!!!!!!!!!!!! And I <3 VMK Like Crazy my computer Wont Let Me Click It Right Now Fer Some Reason.Lol i Dont Really Know How Many Boys There On In VMK But There Is ALOT!!!!!!!!!!!!!!!!!!! And I <3 VMK Like Crazy my computer Wont Let Me Click It Right Now Fer Some Reason.

How do you populate values of combobox using server side scripting as php?

I am assuming you already have a mysql connection function/string in place

Now select the database

mysql_select_db("db_name"); // Put the name of your database in place of db_name

// Add the column you want data from in place of ID

// Add the name of your table in place of table_name

$query = mysql_query("SELECT ID FROM table_name");

// This gets a bit complicated but it helps with debugging

?>

If you want value of another combobox by selecting a combobox then use of AJAX is helpful

Is Slash is used to create a closing tag?

Yes.

<FORM> is the opening tag whereas </FORM> is the closing tag. This </TAG> to close tags is applicable for most tages.

ex: <HTML> </HTML>

<BODY> </BODY> etc...

How do you access private variable in flex?

In Flex, you access a private variable by calling it from within that class. Remember, the "private" modifier means it cannot be directly accessed outside of the class you declare it in (note I say "directly accessed" you can indirectly access it via public functions which I will show below).

Example:

declare your variable at the top of your class like this:

private var myVariable:String;

Then, inside one of your functions of that class, you can access the variable and/or assign it this way:

public function changeMyVariable(value:String):void {

// sets the private variable to a custom string

myVariable="test String";

trace("myVariable is set to "+myVariable);

// sets the private variable to the argument passed in

myVariable = value;

trace("myVariable is now set to" +myVariable);

}

How do you change a website that someone else built if you are a beginner?

Well first of all if your asking this question then im going to have to first say you should'nt be trying to change sombody elses website if you dont first know how to build your own websites. Then I'm going to add that you can only pull HTML and Javascript off the net... Either way you need to know HTML, If the website is written in somthing such as PHP your going to need the original sourcecode before you can make modifications. You can get the HTML in Mozilla by clicking View > Page Source or in Internet Explorer by View > Source. But to know what your doing you need to know atleast some HTML or well... Your just gonna see a bunch of random tags and have no idea whats doing what.

Now if your trying to change a PHP or ASP, etc website and you have got a copy of the source code then well just throw it into Notepad or Notepad++ (whichever you wish to use... theres tonnes of editing software such as Dreamweaver or Frount Page) and make your changes, If you have the technical documentation then that just makes things easier right. If your pulling HTML off the net (Watch out for copyrights) then you can do a simple copy and paste or a Save as and then edit the data as you wish.

Now that you have your website and you've changed what you wish its time to put it all on the net for all to see. Now if your sitting at the server then you can simply copy the files into the servers home directory (example servers are Apachi or IIS). If your at a remote location files can be uploaded to the server via protocols such as FTP or Telnet, etc.

This cannot be done. If I wish to visit xyz.com and copy their HTML, Edit it and put it back up. This is legally not possible and can only be done by people that know what they are doing. If you read this question hoping to learn how to hack into a system and change their web page then its already obvious you don't have the required skills. Sure there are ways to do it but they all seem to land you in A LOT of trouble. DON'T TRY.

Who invented CGi?

peter foldes invented/divelept cgi

What is Ultrasurf U91?

UltraSurf is a program thing deigned to allow you to seamlessly bypass proxys at school/work. The only problem is it's site is considered a proxy avoidence site so it's already blocked before you can bypass...

What is an empty tag?

An empty tag is a tag that contains no element or attributes. For example:

href="url"> Text

The bold is the element and the italic is the attribute. An empty tag doesn't contain either, and rather than an opening and a closing tag, it is just one tag, for example:


I got banned for 24 hours from kinz chat plus but it was over 24 hours so can I get help?

I got banned from kinz chat plus on my kangaroo's acount for 24 hours also, (from a fake report) and the next day it let me on. But ever since then, it always says, "kinz chat plus is closed in this color zone at this time. Please check the scedule to see when kinz chat plus will be open." when I was on an open color zone. Or it would say, "You are unable to enter kinz chat plus at this time. You have received a kinz post letter explaining this. You will not be able to enter kinz chat plus until 1/8/36", when I never got a kinz letter about it. Sorry to say, but, I don't think you'll be entering kinz chat plus anymore.