Implement “Master Pages” in Java

Found a good blog post on how you can emulate the use of ASP.Net Master Pages in Java,to create the desired layout of the site. Have a look here


No Internet | Network Card not working fine

During these last few days, my network on the computer started giving me problems and sometimes the internet will stop working for no reason.

I found this supposed solution… will test it out and see how it goes. If anyone has a better solution, please let me know.

From a command prompt run the following code:

netsh winsock reset

That will reload the tcp/ip suite for windows and can supposedly correct some issues.

If you are using a USB adapter, be it wireless or wired, go into device manager and turn off the ability for windows to shut down the device to save power. You may have to do this on the root hub and controller that match your device.

Will tell you how it goes later on. Goodluck for me 🙂

ASP.Net | Read Values from Javascript

Today I started checking out some videos about Windows CardSpace and ASP.Net for logging in and I saw how he used javascript to get client side input and use it in ASP.Net in the C# code.

First you need to create a HiddenField on your webForm and name it TokenField (any name would actually do)

<asp:HiddenField ID=”TokenField” runat=”server” />

To set the Hidden Field value in JavaScript use the following code: Continue reading

Div OnClick instead of a href | Quickie

Instead of using the “<a href=” tag to go to another page, you can use the “<div onclick=” to be transferred to another page. This is extremely useful if you have a lot of text and pictures that need to be clicked anywhere wanted. Next is the html code to achieve this:

<div id="div_id" onclick="window.location = 'Your reference here'>
Your text here

Hope this Quickie was of help 😉

Project NINE is ready for Christmas

Project NINE's Malta Christmas Offers

This month’s launching and special Offers are for real. This is our offer to help you start online with a great website and a lower price, and if you book till Christmas, an even lower price. Next is our package:

Our Christmas Offer
With €9/month you’ll get a website with the following pages:
  • Home Page ›› include any company details
  • About Us / Services Page ›› any other information like services that you give
  • Find Us ›› A Map showing your business location
  • Contact Us ›› Can send email directly from the website and receive it in your inbox
You’ll also get the following features:
  • A Mobile Site (as from January) so people can access your website faster from a mobile / smart phone Continue reading