Which area of the code should be checked with FND_NO_TRANSACTION_ID error?
Customer has created their OAF pages in JDeveloper and in the beginning of this week,
when they clicked on a menu which normally will open their custom OAF page,
it opened with the following FND_NO_TRANSACTION_ID error, and is wondering
what they should check for in their custom code.
In FND_NEW_MESSAGES, this error's description is "A transactionid has not been specified in the URL".
Found that EBS code with FND_NO_TRANSACTION_ID has only the following 2 files:
OAJSPHelper.java OAPageContextImpl.java
What does this message usually points to? Any advise is greatly appreciated.
The error is as below:
Exception Details.
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_TRANSACTION_ID.
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java(Inlined Compiled Code))
at oa_html._OA._jspService(_OA.java(Compiled Code))
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java(Compiled Code))
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java(Compiled Code))
at oracle.jsp.JspServlet.doDispatch(JspServlet.java(Compiled Code))
at oracle.jsp.JspServlet.internalService(JspServlet.java(Compiled Code))
at oracle.jsp.JspServlet.service(JspServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java(Inlined Compiled Code))
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java(Compiled Code))
at oa_html._RF._jspService(_RF.java:102)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java(Compiled Code))
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java(Compiled Code))
at oracle.jsp.JspServlet.doDispatch(JspServlet.java(Compiled Code))
at oracle.jsp.JspServlet.internalService(JspServlet.java(Compiled Code))
at oracle.jsp.JspServlet.service(JspServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at org.apache.jserv.JServConnection.processRequest(JServConnection.java(Compiled Code))
at org.apache.jserv.JServConnection.run(JServConnection.java(Compiled Code))
at java.lang.Thread.run(Thread.java(Compiled Code))
## Detail 0 ##
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_TRANSACTION_ID.
at oracle.apps.fnd.framework.webui.OAJSPHelper.getTransactionId(OAJSPHelper.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.releaseCachedApplicationModules(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java(Inlined Compiled Code))
at oa_html._OA._jspService(_OA.java(Compiled Code))
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java(Compiled Code))
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java(Compiled Code))
at oracle.jsp.JspServlet.doDispatch(JspServlet.java(Compiled Code))
at oracle.jsp.JspServlet.internalService(JspServlet.java(Compiled Code))
at oracle.jsp.JspServlet.service(JspServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java(Inlined Compiled Code))
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java(Compiled Code))
at oa_html._RF._jspService(_RF.java:102)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java(Compiled Code))
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java(Compiled Code))
at oracle.jsp.JspServlet.doDispatch(JspServlet.java(Compiled Code))
at oracle.jsp.JspServlet.internalService(JspServlet.java(Compiled Code))
at oracle.jsp.JspServlet.service(JspServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at org.apache.jserv.JServConnection.processRequest(JServConnection.java(Compiled Code))
at org.apache.jserv.JServConnection.run(JServConnection.java(Compiled Code))
at java.lang.Thread.run(Thread.java(Compiled Code))
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_TRANSACTION_ID.
at oracle.apps.fnd.framework.webui.OAJSPHelper.getTransactionId(OAJSPHelper.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.releaseCachedApplicationModules(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java(Inlined Compiled Code))
at oa_html._OA._jspService(_OA.java(Compiled Code))
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java(Compiled Code))
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java(Compiled Code))
at oracle.jsp.JspServlet.doDispatch(JspServlet.java(Compiled Code))
at oracle.jsp.JspServlet.internalService(JspServlet.java(Compiled Code))
at oracle.jsp.JspServlet.service(JspServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java(Inlined Compiled Code))
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java(Compiled Code))
at oa_html._RF._jspService(_RF.java:102)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java(Compiled Code))
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java(Compiled Code))
at oracle.jsp.JspServlet.doDispatch(JspServlet.java(Compiled Code))
at oracle.jsp.JspServlet.internalService(JspServlet.java(Compiled Code))
at oracle.jsp.JspServlet.service(JspServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at org.apache.jserv.JServConnection.processRequest(JServConnection.java(Compiled Code))
at org.apache.jserv.JServConnection.run(JServConnection.java(Compiled Code))
at java.lang.Thread.run(Thread.java(Compiled Code))
Thanks.
An acronym and two words for you:
OA
Framework
Forum
Similar Messages
-
How to Get Resource value which are referred in code behind file using IResourceProvider
Hi Everyone,
Currently I'm working on moving the Resource file from "App_GlobalResources" to Database by using IResourceProvider. I created a CustomResourceProvider project using ResourceProviderFactory and able to get the resource values from DB which
are used in aspx page.
But i'm not able to get the values which are referring from code behind file.
Ex: Label1.Text = Resources.Common.Car; // This is still coming from resx file.
Can any one please let me know how to get the value from DB instead of resx file which are referred in cs file.
Appreciate your help.
The below code uses the ResourceProviderFactory which calls this method and gets it from DB. Please let me know if you need any more info.
public class DBResourceProviderFactory : ResourceProviderFactory
public override IResourceProvider CreateGlobalResourceProvider(string classKey)
return new DBResourceProvider(classKey);
public override IResourceProvider CreateLocalResourceProvider(string virtualPath)
// we should always get a path from the runtime
string classKey = virtualPath;
if (!string.IsNullOrEmpty(virtualPath))
virtualPath = virtualPath.Remove(0, 1);
classKey = virtualPath.Remove(0, virtualPath.IndexOf('/') + 1);
return new DBResourceProvider(classKey);
Regards, Ravi Neelam.Hi Ravi Neelam.
>>Currently I'm working on moving the Resource file from "App_GlobalResources" to Database by using IResourceProvider.
Based on this message, your issue related to web application, questions related to Asp.Net should be posted in
Asp.Net forum.
Please reopen a new thread in that forum. You will get more efficient response.
Regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to identify the SQLs which are using the tables and new columns
Hi
I m using oracle 10G Database in windows. Developers have added some columns in some of the database tables and were asking to check whether there is some impact on performance or not. I have not done this performance tuning before. Kindly help me how to proceed further.
How to obtain the sqls which are touching the tables and the new columns? It would be really great if you can help me with this.
ThanksYou can try to use DBA_DEPENDENCIES to get PL/SQL objects using tables: http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_1041.htm#i1576452.
However if SQL code is not stored in database in a trigger, a procedure, a function, a package or a view, it is impossible to retrieve all SQL code referencing some table from database dictionary: for this you would have to analyze application source code. -
It is possible to know the code from credit check feature?
<p>
Hi Community,
Scenario:
We know that when we created a Sales Order, when the user click on the "Book Order" button, the system starts up the Check Credit Process against the customer for whom the sales order is created.
At this moment, the system checks if the customer have any overexposure on its credit and if the Sales Order jumps over the limit, the system put a check credit hold over that Sales Order.
Due to Business procedures we need to:
See if the Credit Check Process could be called on the "Shipping Transactions" Form when the user "send" the sales order to Pick Release (when the user selects the "Go" button, and the Action Selected will be "Pick Release")
Which is the code called (function or procedure) on the button "Book Order", to see if it is transportable to the "Shipping Transactions" Form, in order to call the function from this Form.
Where can we locate that code?
Thanks a lot for any help that you can give us.
Luis Montalvillo.
</p>Hi Nagamohan,
Actually we have setting up the credit checking rule in the Ordering and Picking/Purchase Release fields on our Transactiion Types; so if we are not wrong, the system is checking the credit exposure when we book the Sales Order, and if the sales order overexceed the credit limit, therefore the sales order had a credit check hold. When the user tries to make the Pick Release, we believe that the system checks if the Sales order have a hold and then advise to the user to Release it; and not to check again which is the credit situation of the customer in that moment.
That is the reason why we are asking toe location of the code of Credit check feature.
Rgds.
Luis. -
I have created a merged letter (mail merge) using Word for Mac. But I cannot merge the letter to my contacts which are in the Apple Mail Application. Is it possible to do this?
Word for Mac 8
i mac intelThis is the Apple Keynote discussion, you should post in the Microsoft forums where the experts there can help you, there is a dedicated mailmarge discussion here: Microsoft Office Word Mailmerge
-
When i click on a photo to edit, the photo doesn't show up and the area where the photo should show up is black. Why? I can edit some photos, whereas others I can not.
There are several possible causes for the Black Screen issue
1. Permissions in the Library: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair permissions.
2. Minor Database corruption: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
3. A Damaged Photo: Select one of the affected photos in the iPhoto Window and right click on it. From the resulting menu select 'Show File (or 'Show Original File' if that's available). (On iPhoto 11 this option is under the File -> Reveal in Finder.) Will the file open in Preview? If not then the file is damaged. Time to restore from your back up.
4. A corrupted iPhoto Cache: Trash the com.apple.iPhoto folder from HD/Users/Your Name/Library/ Caches...
5. A corrupted preference file: Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
If none of these help:
As a Test:
Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
Import a few pics into this new, blank library. Is the Problem repeated there? -
I downloaded a movie from itunes on my ipad. In the downloaded area where the movie should be, I only get a link to "iItunes Terms and Conditions", no movie. There is nowhere to accept the terms and condotions.
Nevermind, the movie was there in the Videos app, not itunes downloads. Thanks.
-
How can I get a birthday reminder from items which are in the read-only cal
I am looking for a solution to get a reminder message for birtdays which are within the read-only calender imported/updated from he address book. I so far have not found the option where to turn on the reminder and I do not want to duplicate items (ie creating another birthday calender inside iCal).
Thanks for comments.
PB G4 Ti, 1GHz, 10.2.8 Mac OS X (10.4.7)Hi ontour,
This limitation is one of the many reasons I wrote Dates to iCal. It is a replacement for the Birthdays calendar in iCal, so you would need to turn the Birthdays calendar off in iCal's preferences.
See here: http://discussions.apple.com/thread.jspa?threadID=466478
Best wishes
John M -
I'm using OS 10.6.8 and Mail 4.5. When I receive mails with attachments which are visible the save button doesn't work. And some contacts occasionally have problems opening files sent by me using Mail too. This was never a problem on pre-Intel Mac. A real Mac **** up ! Any ideas ?
Can you drag and drop the attachments visible in the email to the Desktop OK or does that fail ?
Re the sending: Are these recipients on Mac's or PC's as the file type could be an issue, if on Mac's then try setting the Mail Preferences Composing setting to Plain Text not Rich Text and see if that improves things. -
I shoot on a canon 5d mk11 and I record my audio on an external device yet when I open up my footage in final cut pro x I can't find my external audio files only the ones attached to the clip which are off the camera mic
What device?
What format?
How are you importing it?
Can you find the external audio with Finder?
Where is your destination file when you import it?
Andy -
What are all the certifications should i do?
Hii friends,
I introduce myself as a newbie in dis world of oracle plsql.Me having a experience of 2.5yrs in various but with a relevant exp of 6months on oracle10g plsql.And I think its the time for me to concentrate on doing certifications.
1) Could you folks can list out me what are all the certification should i go for.
2)And the books should I buy ????
3)Sites that provide mock exams????
I desperately need your valuable suggestions.
Edited by: user13310481 on Jun 23, 2010 10:53 PMuser13310481 wrote:
Hii friends,
I introduce myself as a newbie in dis world of oracle plsql.Me having a experience of 2.5yrs in various but with a relevant exp of 6months on oracle10g plsql.And I think its the time for me to concentrate on doing certifications.
1) Could you folks can list out me what are all the certification should i go for.
2)And the books should I buy ????
3)Sites that provide mock exams????
I desperately need your valuable suggestions.
Please start reading the following articles
http://blogs.oracle.com/certification/2009/05/the_route_you_choose.html
http://forums.oracle.com/forums/ann.jspa?annID=794
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=39
My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/ -
Since I upgraded to IOS 7.0.2, many times I am unable to answer the calls. Then I have to switch off and on to answer the calls. I checked with my three friends who updated and they are also facing same problem. Kindly let me know the solution.
Since other millions of people updated and do not have that problem - it means one of two.
1.Your friends lied to you and do not have that problem and in that case only your installation of ios7 got corrupted and you need to restore your phone.
2.Your friends didn't lie to you and all 4 of you need to restore phones (that way reinstalling ios 7 properly)
here are instructions for restore and you may have to backup before restore.
iTunes: Restoring iOS software - Support - Apple -
Call methods (which are in the servlet) in my response page
Hello !
I want to call methods which are in the servlet ( its name is ServletRecap) BUT the call is made in the response page which is generated by the servlet ServletRecap !
I just want to allow the user to update his choice in the response page.
example: i choice A in the initial form but i change my mind and now i want to choice B in the response page : the choice have to be update in the database.
the insertion in the DB is made by a method in the servlet : so i have to recall the method in the response page!
Please, anybody have an idea ?
my servlet :
public class ServletRecap extends HttpServlet {
// param�tres d'instance
private String urlErreurs = null;
private ArrayList erreursInitialisation = new ArrayList<String>();
private String[] param�tres = {"urlFormulaire", "urlReponse", "urlControleur", "lienRetourFormulaire"};
private Map params = new HashMap<String, String>();
// init
@SuppressWarnings("unchecked")
public void init() throws ServletException {
// on r�cup�re les param�tres d'initialisation de la servlet
ServletConfig config = getServletConfig();
// on traite les autres param�tres d'initialisation
String valeur = null;
for (int i = 0; i < param�tres.length; i++) {
// valeur du param�tre
valeur = config.getInitParameter(param�tres);
// param�tre pr�sent ?
if (valeur == null) {
// on note l'erreur
erreursInitialisation.add("Le param�tre [" + param�tres[i] + "] n'a pas �t� initialis�");
} else {
// on m�morise la valeur du param�tre
params.put(param�tres[i], valeur);
// l'url de la vue [erreurs] a un traitement particulier
urlErreurs = config.getInitParameter("urlErreurs");
if (urlErreurs == null) {
throw new ServletException(
"Le param�tre [urlErreurs] n'a pas �t� initialis�");
@SuppressWarnings("unchecked")
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
// on v�rifie comment s'est pass�e l'initialisation de la servlet
if (erreursInitialisation.size() != 0) {
// on passe la main � la page d'erreurs
request.setAttribute("erreurs", erreursInitialisation);
request.setAttribute("lienRetourFormulaire", "");
getServletContext().getRequestDispatcher(urlErreurs).forward(
request, response);
// fin
return;
// on r�cup�re la m�thode d'envoi de la requ�te
String m�thode = request.getMethod().toLowerCase();
// on r�cup�re l'action � ex�cuter
String action = request.getParameter("action");
// action ?
if (action == null) {
action = "init";
// ex�cution action
if (m�thode.equals("get") && action.equals("init")) {
// d�marrage application
doInit(request, response);
return;
if (m�thode.equals("post") && action.equals("validationFormulaire")) {
// validation du formulaire de saisie
doValidationFormulaire(request, response);
return;
if (m�thode.equals("post") && action.equals("enregistrementFormulaire")) {
// enregistrement du formulaire de saisie
doEnregistrementFormulaire(request, response);
return;
if (m�thode.equals("post") && action.equals("retourFormulaire")) {
// retour au formulaire de saisie
doRetourFormulaire(request, response);
return;
// autres cas
doInit(request, response);
// validation du formulaire
void doValidationFormulaire(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
// on r�cup�re les param�tres
String nomCentre = (String) request.getParameter("nomCentre");
String idCentre = (String) request.getParameter("idCentre");
String nomPreleveur = (String) request.getParameter("nomPreleveur");
String datePrelev = (String) request.getParameter("datePrelev");
String numFinFiche = (String) request.getParameter("numFinFiche");
// qu'on m�morise dans la session
HttpSession session = request.getSession(true);
session.setAttribute("nomCentre", nomCentre);
session.setAttribute("idCentre", idCentre);
session.setAttribute("nomPreleveur", nomPreleveur);
session.setAttribute("datePrelev", datePrelev);
session.setAttribute("numFinFiche", numFinFiche);
// v�rification des param�tres
ArrayList<String> erreursAppel = new ArrayList<String>();
// le nom doit �tre non vide
nomCentre = nomCentre.trim();
idCentre = idCentre.trim();
nomPreleveur = nomPreleveur.trim();
datePrelev = datePrelev.trim();
numFinFiche = numFinFiche.trim();
if (nomCentre.equals("")) {
erreursAppel.add("Le champ [nomCentre] n'a pas �t� rempli");
if (idCentre.equals("")) {
erreursAppel.add("Le champ [idCentre] n'a pas �t� rempli");
if (nomPreleveur.equals("")) {
erreursAppel.add("Le champ [nomPreleveur] n'a pas �t� rempli");
if (datePrelev.equals("")) {
erreursAppel.add("Le champ [datePrelev] n'a pas �t� rempli");
if (!numFinFiche.matches("^\\s*\\d+\\s*$")) {
erreursAppel.add("Le champ [numFinFiche] est erron�");
// des erreurs dans les param�tres ?
if (erreursAppel.size() != 0) {
// on envoie la page d'erreurs
request.setAttribute("erreurs", erreursAppel);
request.setAttribute("lienRetourFormulaire", (String) params.get("lienRetourFormulaire"));
getServletContext().getRequestDispatcher(urlErreurs).forward(
request, response);
return;
// les param�tres sont corrects - on envoie la page r�ponse
request.setAttribute("nomCentre",nomCentre);
request.setAttribute("idCentre",idCentre);
request.setAttribute("nomPreleveur",nomPreleveur);
request.setAttribute("datePrelev",datePrelev);
request.setAttribute("numFinFiche",numFinFiche);
request.setAttribute("lienRetourFormulaire", (String) params.get("lienRetourFormulaire"));
getServletContext().getRequestDispatcher((String) params.get("urlReponse")).forward(request,
response);
return;
//enregistre dans la base de donn�e les variables
void doEnregistrementFormulaire(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException {
String nomCentre = (String) request.getParameter("nomCentre");
String idCentre = (String) request.getParameter("idCentre");
String nomPreleveur = (String) request.getParameter("nomPreleveur");
String datePrelev = (String) request.getParameter("datePrelev");
String numFinFiche = (String) request.getParameter("numFinFiche");
String nEtude = datePrelev + "." + idCentre + "." + numFinFiche;
// qu'on m�morise dans la session
HttpSession session = request.getSession(true);
session.setAttribute("nomCentre", nomCentre);
session.setAttribute("idCentre", idCentre);
session.setAttribute("nomPreleveur", nomPreleveur);
session.setAttribute("datePrelev", datePrelev);
session.setAttribute("numFinFiche", numFinFiche);
Connexion com = new Connexion();
try{
//serveur,login,pwd,database
com.loadDriverAndConnect("127.0.0.1","3306","root","root","");
com.execute("USE BIOTECH");
com.execute("INSERT INTO RECAP (NEtude,NomCentre,idCentre,nomPreleveur,datePrelev) " +
"values ('"+nEtude+"','"+nomCentre+"','"+idCentre+"','"+nomPreleveur+"','"+ datePrelev + "')") ;
com.close();
catch(Exception ex) {
System.err.println("\n*** SQLException caught in main()");
request.setAttribute("urlAction", (String) params.get("urlControleur"));
getServletContext().getRequestDispatcher((String) params.get("urlReponse")).forward(request,
response);
return;
// affichage formulaire pr�-rempli
void doRetourFormulaire(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException {
// on r�cup�re la session de l'utilisateur
HttpSession session = request.getSession(true);
// on pr�pare le mod�le du formulaire
// nom pr�sent dans la session ?
String nomCentre = (String) session.getAttribute("nomCentre");
if (nomCentre == null) {
session.setAttribute("nomCentre", "");
String idCentre = (String) session.getAttribute("idCentre");
if (idCentre == null) {
session.setAttribute("idCentre", "");
String nomPreleveur = (String) session.getAttribute("nomPreleveur");
if (nomPreleveur == null) {
session.setAttribute("nomPreleveur", "");
String datePrelev = (String) session.getAttribute("datePrelev");
if (datePrelev == null) {
session.setAttribute("datePrelev", "");
String numFinFiche = (String) session.getAttribute("numFinFiche");
if (numFinFiche == null) {
session.setAttribute("numFinFiche", "");
// urlAction
request.setAttribute("urlAction", (String) params.get("urlControleur"));
// on affiche le formulaire
getServletContext().getRequestDispatcher((String) params.get("urlFormulaire")).forward(
request, response);
return;
// post
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
// on passe la main au GET
doGet(request, response);
my initial form:%
// on r�cup�re les param�tres dans la session
String nomCentre=(String)session.getAttribute("nomCentre");
String idCentre= (String)session.getAttribute("idCentre");
String nomPreleveur = (String)session.getAttribute("nomPreleveur");
String datePrelev=(String)session.getAttribute("datePrelev");
String numFinFiche=(String)session.getAttribute("numFinFiche");
String urlAction=(String)request.getAttribute("urlAction");
%>
<html>
<head>
<title>Fiche répitulative - formulaire</title>
</head>
<body>
<center>
<img src="logoBiotech.jpg" align="left" alt="logo Biotech-Germande" width="5%"></img>
<h2>Fiche répitulative - formulaire</h2>
<br>
<hr>
<form action="<%= urlAction %>" method="post">
[... page setting: made by html language ...]
<td><input type="submit" name="action" value="validationFormulaire"></td>
<td><input type="reset" value="Rétablir"></td>
</tr>
</table>
</form>
</center>
</body>
</html>
my response page:<%
// on r�cup�re les donn�es
String nomCentre=(String)session.getAttribute("nomCentre");
String idCentre= (String)session.getAttribute("idCentre");
String nomPreleveur = (String)session.getAttribute("nomPreleveur");
String datePrelev=(String)session.getAttribute("datePrelev");
String numFinFiche=(String)session.getAttribute("numFinFiche");
String urlAction=(String)request.getAttribute("urlAction");
%>
<html>
<head>
<title>Fiche répitulative - formulaire</title>
</head>
<body>
<form action="<%= urlAction %>" method="post">
[... page setting: made by html language ...]
<br><br>
<td><input type="submit" name="action" value="enregistrementFormulaire"></td>
<td><input type="submit" name="action" value="retourFormulaire"></td>
</body>
</html>
my web.xml:<!-- Servlets -->
<!--Servlet Fiche Recapitulative-->
<servlet>
<servlet-name>FicheRecap</servlet-name>
<servlet-class>germande.ServletRecap</servlet-class>
<init-param>
<param-name>urlReponse</param-name>
<param-value>/WEB-INF/JSP/Recap/reponseRecap.biotech.jsp</param-value>
</init-param>
<init-param>
<param-name>urlErreurs</param-name>
<param-value>/erreursRecap.biotech.jsp</param-value>
</init-param>
<init-param>
<param-name>urlFormulaire</param-name>
<param-value>/WEB-INF/JSP/Recap/formulaireRecap.biotech.jsp</param-value>
</init-param>
<init-param>
<param-name>urlControleur</param-name>
<param-value>ServletRecap</param-value>
</init-param>
<init-param>
<param-name>lienRetourFormulaire</param-name>
<param-value>Retour au formulaire</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>FicheRecap</servlet-name>
<url-pattern>/ServletRecap</url-pattern>
</servlet-mapping>
</web-apps>
Thanks in advance for your idea.
I resume : how can I call a method in my servlet into my response page (in jsp).
the servlet generate this response page and i just want to update the choice of my user.
Thanks !!I resume : how can I call a method in my servlet into my response page (in jsp).Don't do that. Put the message into a plain old Java class which can be called from both the servlet and the JSP.
-
Sp_who2 -need only active sessions from users which are not the background sessions
Hello,
sp_who2 -need only active sessions from users which are not the background sessions
Please assist.
Best regards,
VishalIts better to use DMV's to view only active sessions from users (spid>50) as mentioned by Shanky.
You can do that using sp_who2 but it requires a bit of programming to list only user sessions.
SELECT
S.SESSION_ID,
S.STATUS,
S.HOST_NAME,
C.CLIENT_NET_ADDRESS,
CASE WHEN S.LOGIN_NAME = S.ORIGINAL_LOGIN_NAME THEN S.LOGIN_NAME ELSE S.LOGIN_NAME END LOGIN_NAME,
S.PROGRAM_NAME,
C.CONNECT_TIME,
S.LOGIN_TIME,
CASE S.TRANSACTION_ISOLATION_LEVEL
WHEN 0 THEN 'UNSPECIFIED'
WHEN 1 THEN 'READUNCOMITTED'
WHEN 2 THEN 'READCOMMITTED'
WHEN 3 THEN 'REPEATABLE'
WHEN 4 THEN 'SERIALIZABLE'
WHEN 5 THEN 'SNAPSHOT'
ELSE CAST(S.TRANSACTION_ISOLATION_LEVEL AS VARCHAR(32))
END AS TRANSACTION_ISOLATION_LEVEL_NAME,
S.LAST_SUCCESSFUL_LOGON,
S.LAST_UNSUCCESSFUL_LOGON,
S.UNSUCCESSFUL_LOGONS,
S.CPU_TIME AS CPU_TIME_MS,
S.MEMORY_USAGE AS MEMORY_USAGE_PAGES,
S.ROW_COUNT,
S.PREV_ERROR,
S.LAST_REQUEST_START_TIME,
S.LAST_REQUEST_END_TIME,
C.NET_TRANSPORT,
C.PROTOCOL_TYPE,
S.LANGUAGE,
S.DATE_FORMAT,
ST.TEXT AS QUERY_TEXT
FROM
SYS.DM_EXEC_SESSIONS S
FULL OUTER JOIN SYS.DM_EXEC_CONNECTIONS C ON C.SESSION_ID = S.SESSION_ID
CROSS APPLY SYS.DM_EXEC_SQL_TEXT(C.MOST_RECENT_SQL_HANDLE) ST
WHERE
S.SESSION_ID IS NULL
OR S.SESSION_ID > 50
ORDER BY
S.SESSION_ID
-Prashanth -
Suggest what are all the things to bee checked in pr workflow to rel.pr
dear friends,
kindly tell me what are all the things to be checked in pr with workflow.
please provide me a valauble solution.
thanks in advance.
i am unable to release the pr in second level(by the user).
thanks in advance
regards,
flemmingsDear Flemmings,
As you aware setting release strategy for PR done through different stages. Your question to not able to done release for 2nd level by user - may be different causes.
I am not saying this will be the solution for your problem, but if you like please try the following link:
http://www.sap-img.com/workflow/workflow-of-purchase-requisition-release-strategy.htm
Hope it will helpful for a solution.
Regards,
Syed.
Maybe you are looking for
-
Dynamic file names on file based processing
Hi Experts we are doing file to file scenario using file based processing not on message based ( No Reposiitory Objects - No mapping , no interface objects ). we need to pickup the file name from the source directory and place it in the target direct
-
Printing in Acrobat Reader X gives an extra unwanted line in the bottom margin
Printing in Acrobat Reader X gives an extra unwanted line in the bottom margin. This margin should normally be blank. The line pattern follows the pattern of the print inside the margins. How can I print without this extra line?. The problem does not
-
Configuring MSS Reports.
Hi Experts, We are trying to implement MSS on our portal. I just want to know whats the procedure of integrating BW reports so they can be seen in MSS. It would be of great help if you can point me to the documentation. Thanks, Raj
-
dear all.. please help me i just bought lenovo g430 3000 and installed a windows vista business on it but my wlan is always turn off, i have installed all the driver on vendor dvd, and download it from lenovo but the wlan lights is off and i can't u
-
OEM 9.2.0.1.0 Archive Log Mode
I've done this numerous times, but cannot remember how to bring a database up in Archive Log Mode so I can use Dataguard Manager. Can anyone refresh my memory?