Posts by Murilo A. Oliveira • 301 points
12 posts
-
1
votes1
answer165
viewsA: Java + Active Directory - Single Sign On
I recommend using the Spring Security SAML. On the site of Spring has a case for you to download and test for you to see how it works. I’ve done this is not a 7 head bug.…
-
1
votes1
answer1134
viewsA: Primefaces doesn’t see the methods of my class
Tries to remove the <managed-bean>...</managed-bean> faces-config.xml <?xml version="1.0" encoding="UTF-8"?> <faces-config xmlns="http://xmlns.jcp.org/xml/ns/javaee"…
-
1
votes2
answers634
viewsA: JSP how to include a select within a checkbox
This is Erico. Everything ? Well, in a JSP page you can use the opening and closing tags of java code within a JSP page. EX: <select> <% List<String> resultado =…
-
2
votes3
answers75
viewsA: In a String separates with data separated by ";" how to take the 2nd data?
To take data from a string separated by ";" you can use the method split of the variable string itself. Example: String x = "Alberto;jose;Felipe;Ana"; String[] dadosSeparados = x.split(";");…
javaanswered Murilo A. Oliveira 301 -
1
votes2
answers167
viewsA: Data does not persist in txt file
Follow the hint .. Use an apache-Com lib ". jar" . This lib has a function for you to add data within a java.io.File. Example: java.io.File agendatxt = new java.io.File("agenda.txt");…
-
0
votes2
answers1590
viewsA: Wildfly error: [org.jboss.remoting.remote.Connection] (XNIO-1 I/O-2) JBREM000200: Remote Connection failed
Dai Victor, blza ? I’ll share what I’ve been through, see if it helps you. If it’s not a :-D tip This happened to me too and to me was the following situation. I had some connections…
-
1
votes1
answer940
viewsA: Consume Webservice passing object as parameter
Good, I will share with you how I use a WS from a client application. Well, let’s start mass. -D There is a tool that comes within JDK that is simple, easy and free for you to generate the client…
-
3
votes2
answers804
viewsA: How to use p:messages from Primefaces?
<p:panelGrid columns="2"> <f:facet name="header"> Cadastro de Pessoas </f:facet> <h:outputLabel value="Nome" for="nome"/> <p:inputText id="nome" required="true"…
-
0
votes2
answers89
viewsA: Java code causes persistence problem
What the ti.sof002 said it is correct. However, be very careful with Fetchtype.EAGER and Fetchtype.Lazy. this may cause some bumps for you. (slow system, error "Lazyinitializeexception,…
-
2
votes1
answer763
viewsA: Cannot create a Session after the Response has been Committed
I’ve had this problem. I solved it this way: between the tags ... I put the following code: <f:metadata> <f:event type="preRenderView" listener="#{myManagedBean.init()}"/>…
-
1
votes3
answers1615
viewsA: Create mask for fields
There is a JS called autoNumeric.js http://www.decorplanit.com/plugin/ I use it in the project, it is very good. see if it helps you. Hug.…
-
1
votes1
answer381
viewsA: How to use jboss in eclipse
From your description it can be solved as follows. In the eclipse JRE configuration, Edit the JRE Location (in eclipse goes into window->preferences in the preferences window goes into…