Tagged Questions
0
votes
0answers
9 views
How to configure url mapping to get all* url request to one jsf page in PrettyFaces / Rewrite
Can I configure PrettyFaces / Rewrite for mapping all incoming URL request to one page?
Then how I can get full URL path after domain name from PrettyFaces / Rewrite? Maybe have some annotation or ...
-1
votes
2answers
29 views
Custom Web Browser Written in Java Not Functioning: Rendering and Links not Working
I'm making a simple Java Web Browser, it does load webpages from the URL but somehow they don't seem correct at all:
Plus buttons and links on the page don't work. I think it's something regarding ...
0
votes
0answers
27 views
Transmit data into jsp from 2 tables in one query
I have a two tables( Entity classes) and need select from both and transmit result into jsp page.
My Entity for Balance
@Entity
@NamedQuery (name = "findLastFiveTransaction",
query = ...
0
votes
0answers
8 views
Bug in GlassFish 4 or Tyrus: Decoder#willDecode is called twice for each ByteBuffer?
I wrote the most simple application that uses WebSockets. My back end is GlassFish 4 build 89, my front end is a JavaFX 2.2 application client that uses Tyrus 1.0 RC3, the reference implementation of ...
1
vote
0answers
13 views
In Java API for WebSocket 1.0, is Decoder#willDecode really optional?
In the specification Java API for WebSocket 1.0, also known as JSR-356, it says on page 16:
On Decoder implementations that have it, the implementation must use
the willDecode() method on the ...
1
vote
0answers
16 views
Composite components in an external JAR are not recognized in Netbeans
I have packaged a number of composite components in a JAR. However, when using them in another project (using Maven), Netbeans editor puts red error lines under lines which use the composite ...
0
votes
0answers
7 views
Using GraniteDS with a Java client
Has anyone used GraniteDS successfully with a plain Java client and lazy-loading (a real Java client or a Java server application calling another server)?
Is any special client-side initialization ...
0
votes
0answers
36 views
Spring: Error creating bean with name 'DataSource' defined in ServletContext resource
I found two questions like this but the answers didn't solve my problem.
I have a maven project with two modules: core and web. The core module works fine but
when I run the web module I get this ...
-2
votes
1answer
41 views
HttpServlet - which method to use for a search functionality [closed]
We are implementing a search functionality in my web application which uses HttpServlet. We use the doGet() method for getting functionality, doPost() method for adding/creating functionality, ...
0
votes
1answer
20 views
action within commandButton can not be performed
hi I am newer in primefaces I encountered this problem
the action can not be performed unless i move onclick tag
I need help asap please
<p:commandButton value="Détail " ...
2
votes
4answers
34 views
Purpose of storing variables in web.xml?
A lot of the advice on the web on storing variables which may change depending on the env/other conditions is to put them in web.xml, but isn't the web.xml within the war file? even if you find the ...
0
votes
0answers
17 views
Liferay Service Builder like tools
I am new to Java EE but I worked on liferay framework. For my new assignment I need to use database. In liferay if we just add a table name/structure in service.xml then it creates necessary ...
0
votes
1answer
22 views
Spring Security 3.1.x & JSF 2.0 : “ BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains' ”
I searched many posts for this error but unfortunately I couldn't find any useful answer.
I have a simple web app for testing spring security. After running I get the following exception and I don't ...
2
votes
1answer
29 views
Open a File within an EJB
I know that it is in general not allowed to access local Files (with java.io) within an EJB: nevertheless, I have an EJB which has to open an Excel File and edit it using the apache.poi library. If I ...
0
votes
1answer
28 views
Gwt with hibernate
I need to work on hibernate and Springs along with GWT ( Google ).
This is my hibernate config file..
<hibernate-configuration>
<session-factory>
<property ...