I'm working in a project using Seam and JSF. For some reason (don't ask me, I don't know) the people before me decided to redirect the user to the response page through a FacesContext.getExternalContext().redirect(). The problem I'm seeing is that some pages, when redirected to themselves, never release the conversation (the conversationId is always the same in the URL). Has anyone had a similar problem? Thanks
Temporary conversation not ending after ExternalContext.redirect()
395 Views Asked by Alfonso Vasquez At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in JSF
- Strange java.lang.ArrayIndexOutOfBoundsException rendering error in jsf application under high load
- h:outputStylesheet inside ui:repeat
- IntelliJ warns "Cannot resolve variable" on EL variables declared in parent page of include
- How to instantiate a backing bean on page load
- How to disable default keyCode event in Primefaces?
- How to define a style for ul which appears automatically
- How to add '%' symbol in textbox using jsf and jsp?
- Primefaces onkeyPress triggerevent
- h:commandButton action method is not invoked
- f:ajax resetValues="true" does not seem to work
- Primefaces datatable duplicate "No records found" while doing column freeze for empty records
- How to provide a file download from a JSF backing bean using af:commandMenuItem?
- Remove message from h:outputText ofter time
- How to change the position of confirmation box in jsf primefaces?
- commandLink not working when images are in same line
Related Questions in SEAM
- disabled button seems enabled
- How to load config.properties file in a Seam Application using web.xml context-param
- onChange not Firing with Richfaces
- JSF 2.1 and Seam: s:token still required
- javax.el.ELException: java.lang.IllegalArgumentException: Cannot convert .. to class java.lang.Long
- request error, status : 0 pop up with a4j:support
- Handing exceptions in Quartz thread in Seam
- Which converters Seam used by default for parameters passed to page.xml
- What is the advantage of built in factory in Seam 2
- h:commandLink inside richfaces dataTable not working properly after pressing browser back button
- Handling concurrent call to conversational components on JBoss Seam
- JBoss6 : HTTP 404 while rendering (SEAM)
- how to use a seam validator in jsf?
- Hibernate native query - char(3) column
- Class cast exception on stateful ejb
Related Questions in SEAM-CONVERSATION
- Check if a Seam conversation is being used, without getting a lock
- Seam 2 with conversation and Internet Explorer doesn't work
- How does JSF 2 ConversationScope work?
- Temporary conversation ending doubt
- Temporary conversation not ending after ExternalContext.redirect()
- Starting a CDI conversation and injecting @ConversationScoped bean into stateless session bean
- Help me to understand SEAM and Hibernate?
- Concurrent call to conversation
- No long-running conversations - IllegalArgumentException: Stack must not be null
- Object references an unsaved transient instance - save the transient instance before flushing Hibernate
- Catching global "@In attribute requires non-null value" in SEAM 2
- JSF ConversationScoped bean not elevating scope between POSTs
- SEAM session or conversational scoped bean?
- EJB @Stateless + Seam @Scope(ScopeType.CONVERSATION) = @Stateful?
- Using jstl tags in seam 2.3 without long running conversation is not working
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
A conversation is not ended by a redirect. If you want to end a conversation manually, you need to call it by
Conversation#end(). You can also instruct it to end before a redirect byConversation#endBeforeRedirect(). There are more convenience methods as well.