MY mENU


Sunday 27 May 2012

Change Text and Baloon Tip Associated With All Desktop Icons


You need to know the object's class ID (CLSID), which uniquely identifies each system object. The following table lists the CLSIDs for common desktop objects. CLSIDs for desktop objects


Desktop object                            CLSID
My Computer                      {20D04FE0-3AEA-1069-A2D8-08002B30309D}
Recycle Bin                         {645FF040-5081-101B-9F08-00AA002F954E}
Microsoft Outlook               {00020D75-0000-0000-C000-000000000046}
Internet Explorer                 {FBF23B42-E3F0-101B-8488-00AA003E56F8}
The Internet                         {3DC7A020-0ACD-11CF-A9BB-00AA004AE837}
My Network Places            {208D2C60-3AEA-1069-A2D7-08002B30309D}
Briefcase                             {85BBD920-42A0-1069-A2E4-08002B30309D}
Dial-Up Networking            {992CFFA0-F557-101A-88EC-00DD010CCC48}


Run the Registry Editor, go to HKEY_CLASSES_ROOT\CLSID, a key that lets you change
characteristics of system objects, and highlight the CLSID whose name or balloon text you want to change. For example, to change My Computer, highlight the subkey HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}. Keep
in mind that HKEY_CLASSES_ROOT\CLSID has many CLSIDs listed under it, so it might
take you a while to find the proper subkey. Once you find the right subkey, if you want to edit the name of the object, open the Default value and type in the text that you want to appear underneath the object. If you want to edit the balloon text for the object, open the InfoTip value and type in the text that you want to appear as balloon text. Once you're done, exit the Registry and reboot.

Working with URL-Related Actions


In web application developmentweb developers usually have to deal with URL manipulation such as importing URL, redirect to another URL...JSTL provides several useful URL-relatedactions to simplify URL manipulation.

The Action

The action is used to define a parameter. It is used inside the body of other actions such as import>. and  actions. the syntax of the action is simple as follows:
You specify the parameter name in the name attribute and its value in the value attribute.

The Action

The action enables you to retrieve the content of an URL and then you canprocess it within JSP page. The syntax of the action is as follows:
The only attribute url is mandatory. The URL could be in absolute or relative form. If it is in relative form, the resource you refer must be inside the web application. Inside the body of the action, you can also has parameter which specify by the action. Let's take a look at an example of using the action:
In the example, we use the action to retrieve the content of an XML file resided in the web application. Then we output the content of the XML file into the textarea. Later on if you learn how to process XML, you can parse this XML content to extract data inside it.

The  Action

 The  simply to redirect the current page to another page or URL. The syntax of the is as follows:
You can put any URL in the url attribute of the action. Let's take a look at an example of using the action:
In the above example, you choose a search engine and click Go button, the page will beredirect to the corresponding URL.
JSTL c:redirect Action Demo

The Action

The  action enables you to format an URL correctly. Inside the action, you can put multiple to construct URL. Here is an example of using the action: 
In the above example, we construct a link:  http://localhost/JSTLDemo/curl.jsp?mode=demo by using c:url action. We use the to define the query string which is mode with the value demo.