java Programming Glossary: specification
How to get UTF-8 working in java webapps? http://stackoverflow.com/questions/138948/how-to-get-utf-8-working-in-java-webapps Respect the client specified character encoding see HTTP specification section 3.4.1 if null request.getCharacterEncoding request.setCharacterEncoding.. users with the name ж are found. But what about äåö HTTP specification defines that by default URLs are encoded as latin1. This results..
Places where JavaBeans are used? http://stackoverflow.com/questions/1727603/places-where-javabeans-are-used
Why JSF calls getters multiple times http://stackoverflow.com/questions/2090033/why-jsf-calls-getters-multiple-times property and nothing more exactly as per the Javabeans specification . They should not do any expensive DB business logic at all...
Converting ISO8601-compliant String to java.util.Date http://stackoverflow.com/questions/2201925/converting-iso8601-compliant-string-to-java-util-date to parse ISO8601 date string according to the XML Schema specification. javax.xml.bind.DatatypeConverter.parseDateTime 2010 01 01T12..
How to upload files to server using JSP/Servlet? http://stackoverflow.com/questions/2422468/how-to-upload-files-to-server-using-jsp-servlet input type file field in the form. As stated in the HTML specification you have to use the POST method and the enctype attribute of..
TreeMap sort by value http://stackoverflow.com/questions/2864840/treemap-sort-by-value itself sort on the values since that defies the SortedMap specification A Map that further provides a total ordering on its keys . However..
Is it possible to use JSF+Facelets with HTML 4/5? http://stackoverflow.com/questions/2935759/is-it-possible-to-use-jsffacelets-with-html-4-5 all browsers. With a XHTML doctype you should as per the specification be using a Content Type of application xhtml xml which would..
How do servlets work? Instantiation, session variables and multithreading http://stackoverflow.com/questions/3106452/how-do-servlets-work-instantiation-session-variables-and-multithreading unique session ID as cookie value. As per the HTTP cookie specification a contract a decent webbrowser and webserver has to adhere the..
Weird Integer boxing in Java http://stackoverflow.com/questions/3130311/weird-integer-boxing-in-java The true line is actually guaranteed by the language specification. From section 5.1.7 If the value p being boxed is true false..
Change private static final field using Java reflection http://stackoverflow.com/questions/3301635/change-private-static-final-field-using-java-reflection the compile time constant. Another problem is that the specification allows aggressive optimization of final fields. Within a thread..
How to internationalize a Java web application? http://stackoverflow.com/questions/4276061/how-to-internationalize-a-java-web-application so on and your web.xml is declared conform the Servlet 2.5 specification then just put jstl 1.2.jar in webapp's WEB INF lib folder. Create..
When to use <ui:include>, tag files, composite components and/or custom components? http://stackoverflow.com/questions/6822000/when-to-use-uiinclude-tag-files-composite-components-and-or-custom-componen Is there anything besides syntax and clear interface specification in case of composite components Could performance differ java..
CSRF, XSS and SQL Injection attack prevention in JSF http://stackoverflow.com/questions/7722159/csrf-xss-and-sql-injection-attack-prevention-in-jsf further improved by making it a required part of the JSF2 specification. See also JSF spec issue 869 . SQL injection This is not JSF's..
How are SSL certificate server names resolved/Can I add alternative names using keytool? http://stackoverflow.com/questions/8443081/how-are-ssl-certificate-server-names-resolved-can-i-add-alternative-names-using Some browsers might work because not all tools follow this specification strictly in particular because most specific in RFC 2818 isn't..
What are the reasons why Map.get(Object key) is not (fully) generic http://stackoverflow.com/questions/857420/what-are-the-reasons-why-map-getobject-key-is-not-fully-generic be the same type as the object that you pass in to get the specification of the method only requires that they be equal. This follows.. places in Java where this is not the case. For example the specification for List.equals says that two List objects are equal if they.. back to the example in this question according to the specification of the method is possible to have a Map ArrayList Something..
Overloaded method selection based on the parameter's real type http://stackoverflow.com/questions/1572322/overloaded-method-selection-based-on-the-parameters-real-type types of overloaded methods. Citing the Java Language Specification When a method is invoked §15.12 the number of actual arguments..
What causes java.lang.IncompatibleClassChangeError? http://stackoverflow.com/questions/1980452/what-causes-java-lang-incompatibleclasschangeerror library without recompiling the client code. Java Language Specification §13 details all of such changes most prominantly changing non..
Varying behavior for possible loss of precision http://stackoverflow.com/questions/2696812/varying-behavior-for-possible-loss-of-precision
What is a raw type and why shouldn't we use it? http://stackoverflow.com/questions/2770321/what-is-a-raw-type-and-why-shouldnt-we-use-it this question What is a raw type The Java Language Specification defines a raw type as follows JLS 4.8 Raw Types A raw type is..
What is a serialVersionUID and why should I use it? http://stackoverflow.com/questions/285793/what-is-a-serialversionuid-and-why-should-i-use-it the class as described in the Java TM Object Serialization Specification. However it is strongly recommended that all serializable classes..
How to avoid Java Code in JSP-Files? http://stackoverflow.com/questions/3177733/how-to-avoid-java-code-in-jsp-files classes. Here are several cites of relevance From JSP 1.2 Specification it is highly recommended that the JSP Standard Tag Library JSTL.. pages easier to evolve into JSP 2.0 style pages JSP 2.0 Specification supports but deemphasizes the use of scriptlets . ... In the..
Java - reading, manipulating and writing WAV files http://stackoverflow.com/questions/3297749/java-reading-manipulating-and-writing-wav-files java audio wav share improve this question WAV File Specification https ccrma.stanford.edu courses 422 projects WaveFormat There..
Switch Statement with Strings in Java http://stackoverflow.com/questions/338206/switch-statement-with-strings-in-java more technical depth on switch you can refer to the JVM Specification where the compilation of switch statements is described. In..
What does “…” mean in Java? [duplicate] http://stackoverflow.com/questions/4618930/what-does-mean-in-java share improve this question Check out the Java Language Specification Third Edition Chapter 8 Classes . Buried in there is this nugget..
Sandbox against malicious code in a Java application http://stackoverflow.com/questions/502218/sandbox-against-malicious-code-in-a-java-application application to grow. JSR 121 Application Isolation API Specification was designed to solve this but unfortunately it doesn't have..
Integer wrapper objects share the same instances only within the value 127? http://stackoverflow.com/questions/5117132/integer-wrapper-objects-share-the-same-instances-only-within-the-value-127 this question Because it's specified by Java Language Specification. JLS 5.1.7 Boxing Conversion If the value p being boxed is true..
Java abstract interface http://stackoverflow.com/questions/7202616/java-abstract-interface links I managed to find a copy of the original Oak 0.2 Specification or manual . Quite interesting read I must say and only 38 pages..
What is the Java ?: operator called and what does it do? http://stackoverflow.com/questions/798545/what-is-the-java-operator-called-and-what-does-it-do . Edit The official name is given in the Java Language Specification §15.25 Conditional Operator The conditional operator uses the..
How do I detect which kind of JRE is installed — 32bit vs. 64bit http://stackoverflow.com/questions/807263/how-do-i-detect-which-kind-of-jre-is-installed-32bit-vs-64bit IBM J9 VM java.vm.specification.name Java Virtual Machine Specification java.vm.specification.vendor Sun Microsystems Inc. java.vm.specification.version.. Server VM java.vm.specification.name Java Virtual Machine Specification java.vm.specification.vendor Sun Microsystems Inc. java.vm.specification.version.. libgcj java.vm.specification.name Java tm Virtual Machine Specification java.vm.specification.vendor Sun Microsystems Inc. java.vm.specification.version..
String's Maximum length in Java - calling length() method http://stackoverflow.com/questions/816142/strings-maximum-length-in-java-calling-length-method for String s Chapter 10 Arrays of The Java Language Specification Java SE 7 Edition says the following The variables contained..
Why does Java have transient variables? http://stackoverflow.com/questions/910374/why-does-java-have-transient-variables a field should not be serialized. From the Java Language Specification Java SE 7 Edition Section 8.3.1.3. transient Fields Variables..
If statement using == gives unexpected result http://stackoverflow.com/questions/9870985/if-statement-using-gives-unexpected-result Reference Equality Operators and of the Java Language Specification 3.0 While may be used to compare references of type String such..
|