大约有 40,000 项符合查询结果(耗时:0.0515秒) [XML]

https://stackoverflow.com/ques... 

Java EE web development, where do I start and what skills do I need? [closed]

...that since Java EE 6, JSP is removed from the Java EE tutorial in favor of JSF and that JSP has basically not changed since then. That's why you could safely use the fairly old Java EE 5 tutorial for this. Most important thing with regard to JSP is the fact that writing plain Java code in JSP files ...
https://stackoverflow.com/ques... 

When to use , tag files, composite components and/or custom components?

I started using JSF 2.0 with Facelets recently and got puzzled by new composite components knowing existing <ui:include> and other templating techniques offered by Facelets 1.x. ...
https://stackoverflow.com/ques... 

Recommended way to save uploaded files in a servlet application

...How to upload files to server using JSP/Servlet? and how to obtain part in JSF is answered in How to upload file using JSF 2.2 <h:inputFile>? Where is the saved File? Note: do not use Part#write() as it interprets the path relative to the temporary storage location defined in @MultipartConfig(...
https://stackoverflow.com/ques... 

How can I pass selected row to commandLink inside dataTable or ui:repeat?

I'm using Primefaces in a JSF 2 application. I have a <p:dataTable> , and instead of selecting rows, I want the user to be able to directly execute various actions on individual rows. For that, I have several <p:commandLink> s in the last column. ...
https://stackoverflow.com/ques... 

How to use enum values in f:selectItem(s)

... JSF has a builtin converter for enum, so this should do: @ManagedBean @ApplicationScoped public class Data { public Status[] getStatuses() { return Status.values(); } } with <h:selectOneMenu value="#{...
https://stackoverflow.com/ques... 

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? ...
https://stackoverflow.com/ques... 

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....
https://stackoverflow.com/ques... 

ViewParam vs @ManagedProperty(value = “#{param.id}”)

...etadata> to do initialization/preloading based on the set values. Since JSF 2.2 you could use <f:viewAction> for that instead. Allows for nested <f:converter> and <f:validator> for more fine-grained conversion/validation. Even a <h:message> can be attached. Can be includ...
https://stackoverflow.com/ques... 

When should I use h:outputLink instead of h:commandLink?

...xt" action="destination?faces-redirect=true" /> </h:form> Since JSF 2.0, there's also the <h:link> which can take a view ID (a navigation case outcome) instead of an URL. It will generate a HTML <a> element as well with the proper URL in href. <h:link value="link text" outc...
https://stackoverflow.com/ques... 

Design Patterns web based applications [closed]

...e conversion, validation and value change events. This is how among others JSF, Wicket and Play! works. As a side note, hobbying around with a homegrown MVC framework is a very nice learning exercise, and I do recommend it as long as you keep it for personal/private purposes. But once you go profe...