243 questions
2
votes
2
answers
366
views
Eclipse IDE 2022-06, how to change template when create new JSP file?
I am using Eclipse IDE 2022-06 , Java/JDK 1.6, Windows 10 pro x64, Spring 2.5.6 .
I need encoding UTF-8 by default, not ISO-8859-1. I don't want edit many files, many time manually. How to change ...
0
votes
0
answers
94
views
Import existing project in Eclipse
How do I import an existing project in eclipse (latest). I have downloaded a project from git repo. It is a legacy Java web application. Project directory structure:
Myapp
-.settings
....
1
vote
1
answer
900
views
How to write a web service for a Java NetWeaver 7.5 via NWDS?
I have both ABAP ECC6.0 and SAP AS Java NetWeaver 7.5 and it is the AS Java portion I have a question about: I need to automate the import of role data into the portal.
Currently person takes the file ...
0
votes
1
answer
73
views
Why EJBObject's remove function no removing the object of the Collection get from bmp-query?
BG: My company is using some old java technology. We have weblogic server. We have interface which extends the EJBHome, used to run query in database to retrieve Collection of/Simply the EJBObject.
I ...
0
votes
1
answer
775
views
Creation of a java EE project on Eclipse for Java EE
I have create a Java EE project using maven.
Here is the generated hierarchy
If you observed on this image, I got an error in the index.jsp file.
When I focus in error, I got :
The superclass "...
0
votes
1
answer
1k
views
On improving file uploads with respect to memory and performance - struts 1
We have struts 1.1 legacy MVC code, in a "non spring" J2EE application.
The following code is in an action/form-bean. This code represents the recipient of the HTTP Post with multipart.
...
0
votes
1
answer
762
views
HashMap doesn't add values after @InjectMocks. The hashmap is inside class with the annotation
The problem is that nothing is added to my cache. My class is much bigger so I provide here to minimum example that should reproduce the problem.
Let's say I have a dictionary class, which uses some ...
0
votes
0
answers
73
views
How to escape special symbols or special character in Java?
I am trying to pass the string value LISBøA in java. I works fine for me when I run in net beans IDE it gives the out put value as LISBøA. when build the code and try to run in console window the ...
0
votes
1
answer
523
views
How to include another jsp page from custom jsp tag
I want to have a custom Jsp tag with one string attribute, if this is a a path to another jsp file then I want to include that JSP in the page (behave as a jsp:include); if not, then I want to just ...
0
votes
1
answer
322
views
Question about xa and transaction on ejbs
I have two question/doubt:
If two ejbs are deployed in different ear or different applicationserver, and one call the other, they still required XA indipendent that each one use one or more db as ?
...
0
votes
1
answer
752
views
XA or non XA in JEE
I have question about this paragraph
"Initially, all transactions are local. If a non-XA data source connection is the first resource connection enlisted in a transaction scope, it will become a ...
0
votes
0
answers
65
views
Java EE at creating servlet - Multiple markers at this line
So I have this problem (multiple markers at this line) whenever I create a servlet i dont know why,
This is the basic servlet
0
votes
0
answers
287
views
Multiple Primefaces DataTables on one page have the same pagination index
I have a PrimeFaces 6.2 DataTable with rowExpansions. Each rowExpansion has another DataTable with pagination enabled. The whole construct is within a single form. The backing bean is a ViewScoped ...
0
votes
0
answers
161
views
configure JSR45 on intellij with JDK1.5 and JBOSS EAP6.4
How with Intellij ultimate 2020 could i using JSR45 option on JDK1.5 project with JBOSS EAP 6.4 and EJB2.
Currently JSP debug option is not active
Regards
0
votes
0
answers
224
views
Cannot resolve dependencies and plugins for Cargo tracker application
I downloaded the Cargo-tracker application code from git hub.
Configured glassfish 4.1.1 application server in Intellij ultimate edition.
Find pom.xml below
<project xmlns="http://maven.apache....