大约有 103 项符合查询结果(耗时:0.0227秒) [XML]
What is the difference between Tomcat, JBoss and Glassfish?
...at is now Java EE 6 Web Profile certified via TomEE and supports EJB, CDI, JSF, JPA, and more.
– David Blevins
Jul 24 '12 at 17:35
10
...
When to use f:viewAction / preRenderView versus PostConstruct?
.... Namely, they are not available at the moment the @PostConstruct runs. In JSF 2.0/2.1, this tag didn't exist and you have to use the preRenderView workaround.
If the backing bean is @RequestScoped, do they effectively do the exact same thing? (and so then it is up to developer choice? (@PostConstr...
Handling a colon in an element ID in a CSS selector [duplicate]
JSF is setting the ID of an input field to search_form:expression . I need to specify some styling on that element, but that colon looks like the beginning of a pseudo-element to the browser so it gets marked invalid and ignored. Is there anyway to escape the colon or something?
...
Maven dependency for Servlet 3.0 API?
...ar includes Servlet 3.0, EJB Lite 3.1, JPA 2.0, JSP 2.2, EL 1.2, JSTL 1.2, JSF 2.0, JTA 1.1, JSR-45, JSR-250.
But to my knowledge, nothing allows to say that these APIs won't be distributed separately (in java.net repository or somewhere else). For example (ok, it may a particular case), the JSF 2....
Examples of GoF Design Patterns in Java's core libraries
...hus)
javax.faces.component.UIComponent#getChildren() (practically all over JSF UI thus)
Decorator (recognizeable by creational methods taking an instance of same abstract/interface type which adds additional behaviour)
All subclasses of java.io.InputStream, OutputStream, Reader and Writer have a c...
Why would I use a templating engine? jsp include and jstl vs tiles, freemarker, velocity, sitemesh
... JSP compiler. This means that one of the most annoying things I had with JSF 1.1 - having to change the id-attribute on a surrounding JSF-tag when saving a change in order for the runtime engine to discover the change - went away, giving the save-in-editor, reload-in-browser cycle back, along with...
What exactly is a Context in Java? [duplicate]
...u see this name back in an interface/class, e.g. Servlet's ServletContext, JSF's FacesContext, Spring's ApplicationContext, Android's Context, JNDI's InitialContext, etc. They all often follow the Facade Pattern which abstracts the environmental details the enduser doesn't need to know about away in...
When to use valueChangeListener or f:ajax listener?
...he subsequent UPDATE_MODEL_VALUES phase. That's exactly why you see in old JSF 1.x applications/tutorials/resources that a valueChangeListener is in such construct been used in combination with immediate="true" and FacesContext#renderResponse() to prevent that from happening. After all, using the va...
How can I avoid Java code in JSP files, using JSP 2?
...ecuting action failed.", e);
}
}
Or just adopt an MVC framework like JSF, Spring MVC, Wicket, etc so that you end up with just a JSP/Facelets page and a JavaBean class without the need for a custom servlet.
If you want to invoke some Java code to control the flow inside a JSP page, then you ...
How to get request URI without context path?
...bject to change when you have a servlet based MVC framework installed like JSF or Spring MVC. It will then represent the MVC framework's internal path (e.g. /foo.xhtml instead of /foo.jsf) and not the actual request URI (the one as enduser would see in browser's address bar). The original servlet pa...
