I'm working on software and I'm having a headache to insert some related objects. It is inserting this object twice and the error is not visible. To see the whole project, follow the link from github: Complete Project .
The classes that are...
By registering the product data in my database it presents the error in getFileType at line 124 follows error
Line 124
String extensao = nomeDoArquivo.substring(nomeDoArquivo.indexOf('.' + 1));
java.lang.StringIndexOutOfBoundsException: S...
I created a REST Web Service in Java. All operations are working less than DELETE which returns the following error:
HTTPDELETEmethod:@DELETE@Path("excluir/{idpromocao}")
public void excluir(@PathParam("idpromocao") int idpromocao){...
How do I receive files and other parameters in Servlet? Here is the shipping code:
<form action="myservlet" method="post" enctype="multipart/form-data">
<input type="text" name="mytext">
<input type="file" name="...
When developing a simple application where the dependent is bound to its responsible who is a driver, when I click to create the bind and write dependent nothing happens, only the following message is posted without interrupting the application....
The problem is that in a project that I use facelets is telling me that there is a component with the ID repeated. Although I have scanned the code behind finding that ID repeated, I did not find it, so I believe the error is related to the inco...
Negative monetary values, when using the native JSF converter, <f:convertNumber type="currency"/> , are left with the character ' - ', before the R $.
For example: -R$ 56.134.726,99
.xhtml
<p:column>...
I have a project to do in java, that I will need the JMF to work with the media in general, the project is nothing more than a program to run the ads on TV's that stay in malls and etc.
They recommended me to use JMF, I had never heard of it,...
Good afternoon!
Personal,
I'm trying to use a web service from the wsdl mail to be able to do the search of the address from the zip, and to download the classes I'm making use of maven, which seems to me that works perfectly it brings me...
I created a .jar (script.jar) file that contains the "print ()" method only returns a string and I would like that when I click a button in my Java Web application (JavaEE) this "print executed.
Script.jar file method
package jardeteste.met...