Wednesday, 18 March 2009

Example : MultiActionController in Spring


1> Controller Contains
public class testController extends MultiActionController {
public ModelAndView action_name1(HttpServletRequest          httpServletRequest,HttpServletResponse httpServletResponse) {
System.out.println(“In Action1″);
return new ModelAndView(“view1″, “date”,”date”);
}
public ModelAndView action_name2(HttpServletRequest httpServletRequest,HttpServletResponse httpServletResponse) {
System.out.println(“In Action 2″);
return new ModelAndView(“view2″, “date”,”date”);
}
}
2> View contains
<a href=”test.htm?action=action_name1″ >Go to Action1 </a> |
<a href=”test.htm?action=action_name2″ >Go to Action2 </a>
3> Change in Application-servlet.xml
<bean name=”/test.htm” class=”testController”>
<property name=”methodNameResolver”>
<ref bean=”paramResolver”/>
</property>
</bean>
<bean id=”paramResolver” class=”org.springframework.web.servlet.mvc.multiaction.ParameterMethodNameResolver”>
<property name=”paramName”><value>action</value></property>
</bean>
Simple Way:
1> Controller Contains
same as above
2> View contains
<a href=”test.htm/action_name1″ >Go to Action1 </a> |
<a href=”test.htm/action_name2″ >Go to Action2 </a>
3> Change in Application-servlet.xml
No need to add anything

Wednesday, 18 February 2009

Error : svnserve.conf:12: Option expected svnserve.conf

In svnserve.conf, you cannot have a space before you set an argument and a variable. It doesn’t find the argument. Open svnserve.conf and delete extra spaces at the beginning of any line.

Monday, 26 January 2009

Edakkal Cave Kerala

         

The name "Edakkal" translates to "a stone in between," aptly describing the formation of this intriguing site. The cave is formed by a massive boulder wedged between a fissure in the rock. The cave itself is divided into two levels. The lower chamber, measuring approximately 18 feet long, 12 feet wide, and 10 feet high, is accessible through a narrow opening of 5 x 4 feet. Opposite the entrance, a passage ascends to a small aperture in the roof, leading to the upper level. This upper chamber is vast, spanning about 96 feet in length, 22 feet in width, and 18 feet in height. Natural light filters into the cave through a large gap at the right-hand corner of the roof, where the boulder does not meet the adjacent wall.

Located just three kilometers from Ambalavayal and 25 kilometers from Kalpetta, Edakkal Caves are nestled in the Ambukuthy Mountain. Despite being referred to as caves, they are not caves in the conventional sense. Instead, they are a cleft in the rock, about 96 feet long and 22 feet wide, formed when a section of rock split away from the main body due to natural forces. The depth of the cleft and fissure is approximately 30 feet. What gives it the appearance of a cave is the enormous rock, weighing several tons, that has fallen across the cleft, creating a natural roof.

The rock walls of Edakkal are adorned with fascinating carvings that depict human figures, animals, tools, and symbols. These ancient petroglyphs, believed to belong to a highly civilized prehistoric community, have captivated archaeologists and historians, inspiring them to delve deeper into the history of Wayanad and Kerala as a whole.

Visitor Tips:

  • Trekking: The journey to Edakkal Caves involves trekking, so wear comfortable shoes and carry essentials like food and water, as there are no facilities along the way.
  • Travel Light: Minimize luggage to make the trek easier.
  • Entry Fee: The entrance ticket costs ₹15 per person, and an additional ₹25 is charged for carrying a camera.

This breathtaking site is not just a haven for nature lovers but also a treasure trove for history and archaeology enthusiasts.

         



Sunday, 25 January 2009

Soochippara Waterfall Kerala

Soochippara Waterfalls: A Hidden Gem of Nature

Nestled near Meppadi, the Soochippara Waterfalls is a stunning natural wonder, offering an enchanting experience for visitors. The waterfalls cascade from heights ranging between 100 and 300 feet, creating a mesmerizing spectacle that captivates all who visit. At the base of the falls lies a serene pool, perfect for water activities such as rafting, swimming, and bathing.

Adding to its charm, tree-top huts in the area provide breathtaking panoramic views of the Western Ghats. From here, one can also marvel at the shimmering, shallow waters of the surrounding springs, making it a perfect retreat for nature lovers and adventure enthusiasts alike.

Visitor Tips:

  • Essentials: Carry food and water to stay refreshed during your visit.
  • Trekking: The falls are accessible after a short 100-meter walk, followed by a brief trek to the bottom for a closer view of the cascading waters.

Soochippara Waterfalls is a true treasure waiting to be discovered—a harmonious blend of adventure, tranquility, and natural beauty.





Alappuzha(Alleppey)


Alappuzha (Alleppey):

The Venice of the East

Renowned for its enchanting backwaters, Alappuzha (formerly Alleppey) is one of Kerala's most sought-after destinations. A visit to Alappuzha promises unforgettable experiences, from gliding along serene waters in traditional Kettuvalloms (houseboats) to witnessing the excitement of the iconic boat races.

Alappuzha offers a variety of activities for every traveler. Picture yourself relaxing on a houseboat, enjoying the gentle sway of the waters, or indulging in fishing amidst picturesque surroundings. The region is also home to Kuttanad, famously known as the "Rice Bowl of Kerala", with its lush green paddy fields and vibrant rural life. Beyond the backwaters, Alappuzha boasts beautiful beaches, swaying palm trees, and delectable local cuisine, making it a complete package for nature lovers and cultural enthusiasts alike.

Tips for Visitors:

  • Houseboat Experience: Opt for the 22-hour houseboat trip, which covers all the must-visit spots and includes breakfast and lunch.
  • Cost: A standard houseboat accommodating up to 10 people costs around ₹3000, with pricing varying depending on the amenities and type of boat.
  • Best Time: For a truly immersive experience, plan your visit during the famous Nehru Trophy Boat Race, typically held in August.

Alappuzha’s captivating beauty and tranquil charm make it a must-visit destination, earning it the title of the "Venice of the East".