The ugly way to get twitter bootstrap in spring MVC

Ok, I know maven is great, but I am not able to work with it! You may call me a noob in spring and Java EE so it may be possible that I am not getting it properly, but here is an ugly way to enhance my page with bootstrap.

In servlet-context.xml, make sure this line exist

<resources mapping="/resources/**" location="/resources/" />

If it is already inside that xml file, you are lucky like me. Now download twitter bootstrap and put them in resources folder of your webapp folder.

if you have done it, then you can get bootstrap in your web view. try this

<script src="<c:url value="/resources/js/jquery.js" />"></script>
<script src="<c:url value="/resources/js/bootstrap.min.js" />"></script>
<link rel="stylesheet" type="text/css" href="<c:url value="/resources/css/bootstrap.min.css" />" />

And then, do your design.

BTW, did i mention that you will need jquery to use bootstrap?

Advertisements

IKVM.NET Home Page

IKVM.NET is an implementation of Java for Mono and the Microsoft .NET Framework. It includes the following components:

  • A Java Virtual Machine implemented in .NET
  • A .NET implementation of the Java class libraries
  • Tools that enable Java and .NET interoperability

IKVM.NET Home Page.

Link

JavaXPCom : Setup a Java Browser

JavaXPCom : Setup a Java Browser

I wrote earlier about setting up a Java Browser using Gecko browser engine from Mozilla and SWT at http://techdior.blogspot.com/2010/03/java-web-browser-with-gecko.html. Turns out, there is a simpler solution, without needing SWT and all that threading code. And this is closer to XPCOM, at least looks closer at a first glance than the other approach.

Netbeans IDE 7.3 Beta released

The NetBeans IDE is an award-winning integrated development environment available for Windows, Mac, Linux, and Solaris. The NetBeans project consists of an open-source IDE and an application platform that enable developers to rapidly create web, enterprise, desktop, and mobile applications using the Java platform, as well as PHP, JavaScript, Ajax, Groovy and Grails, and C/C++.

The NetBeans project is supported by a vibrant developer community and offers extensive documentation and training resources as well as a diverse selection of third-party plugins.

NetBeans IDE 7.3 Beta empowers developers to create and debug rich Web and mobile applications using the latest HTML5, JavaScript, and CSS standards. Developers can expect state of the art rich web development experience with a page inspector and CSS style editor, completely revamped JavaScript editor, new JavaScript debugger, and more. Additional highlights available in 7.3 Beta include continued enhancements to the IDE’s support for Groovy, PHP, JavaFX and C/C++.

NetBeans IDE 7.3 Beta is available in English, Brazilian Portuguese, Japanese, Russian, and Simplified Chinese.

Read more about this release: http://netbeans.org/community/releases/73/

Download the Beta:http://dlc.sun.com.edgesuite.net/netbeans/7.3/beta/

Enjoy, 🙂

tech.bdnews24.com | Bangladesh’s first bilingual 24/7 news provider in any medium opened its content to public free of charge on 23 Oct 2006

সম্প্রতি জানা গেছে, কপিরাইট ভঙ্গের অভিযোগে গুগলকে দোষী সাব্যস্ত করেছে যুক্তরাষ্ট্রের এক আদালত। জানা গেছে, ওরাকলের প্রোগ্রামিং ল্যাঙ্গুয়েজ জাভার কপিরাইট আইন ভঙ্গ করেছে তারা। খবর বিবিসির।

সূত্র জানিয়েছে, ১০০ কোটি ডলার ক্ষতিপূরণের দাবি করেছে ওরাকল, যা প্রযুক্তির ইতিহাসে সবচেয়ে বড় অঙ্কের মামলা বলে মন্তব্য করেছে বিবিসি।

via tech.bdnews24.com | Bangladesh’s first bilingual 24/7 news provider in any medium opened its content to public free of charge on 23 Oct 2006.

Popularizing web application in Bangladesh

Once upon a time we saw a lot of desktop application in offices of different government and private office. They were mostly build with visual basic 6.0 . After the emergence of .NET framework, We got BASIC and C# .net.
Now the time is pretty different. Now we are seeing a lot of applications for office developed by PHP , or JAVA EE. Still there are a hand full desktop application, but people are moving for LAMP technology.
Now i will try to find out the cause of this and post it in my blog. mean while if you find some information about it, please let me know.