Quantcast
Channel: JavaPins - Stories tagged with parameter
Browsing all 6 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Parametrizing custom validator in JSF 2

Writing a custom validator in JSF 2 is not a complicated task. You implement Validator interface, add @FacesValidator annotation and insert validator declaration in faces-config.xml, that’s all. A...

View Article


Image may be NSFW.
Clik here to view.

Hibernate parameter binding examples

Without parameter binding, you have to concatenate the parameter String like this (bad code) :String hql ="from Stock s where s.stockCode = '"+ stockCode +"'";List result =...

View Article


Image may be NSFW.
Clik here to view.

Using the final keyword on method parameters - Java Code Geeks

After some own confusion which specific meaning final declared method parameters have this blog entry will try to clarify this. At least the final keyword on method parameters can be seen as an...

View Article

Image may be NSFW.
Clik here to view.

Bozho's tech blog » Customizing Parameter Names When Binding Spring MVC...

In spring MVC you can have public class Job { private String jobType; private String location; } @RequestMapping("/foo") public Strnig doSomethingWithJob(Job job) { ... }

View Article

Image may be NSFW.
Clik here to view.

Changing URL parameters with jQuery » samaxes

You can find plenty of resources about this topic just by googling the web, most of which will point to jQuery plugins. But the fact is that it’s so easy to achieve this by simply using jQuery that you...

View Article


Image may be NSFW.
Clik here to view.

Welcome to semika's blog: Passing more parameters with login request - Java

If you are using some container managed authentication mechanism like standard java form based authentication or spring security authentication mechanism, You are not really involving with user...

View Article
Browsing all 6 articles
Browse latest View live