Home » Developer & Programmer » Forms » JSP and Oracle forms and Jsp page from orcle form (merged)
JSP and Oracle forms and Jsp page from orcle form (merged) [message #301529] Wed, 20 February 2008 23:59 Go to next message
shekhar.salunkhe
Messages: 154
Registered: January 2008
Location: Pune
Senior Member
hello all,
i want to call a jsp page from an oracle form.there after use that jsp to call aother oracle form.i am using oracle 10g.can any body please guide me.
Re: JSP and Oracle forms [message #301551 is a reply to message #301529] Thu, 21 February 2008 00:47 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Why not pass the name of the form back to the calling form and let it do it for you.

David
Re: JSP and Oracle forms [message #301557 is a reply to message #301551] Thu, 21 February 2008 00:53 Go to previous messageGo to next message
shekhar.salunkhe
Messages: 154
Registered: January 2008
Location: Pune
Senior Member
i am beginner to this concept.could you please exlpain first how to call jsp page from oracle form and then how to call oracle forms from that jsp page

[Updated on: Thu, 21 February 2008 00:55]

Report message to a moderator

Re: JSP and Oracle forms [message #301564 is a reply to message #301557] Thu, 21 February 2008 01:00 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
What does the jsp do that Forms does not? Look at http://www.oracle.com/technology/sample_code/products/forms/index.html

About jsp to forms, ask on a jsp forum.

David
Jsp page from orcle form [message #301827 is a reply to message #301529] Thu, 21 February 2008 22:22 Go to previous messageGo to next message
shekhar.salunkhe
Messages: 154
Registered: January 2008
Location: Pune
Senior Member
Thank you .. [for answering http://www.orafaq.com/forum/t/97679/67467/]

NOw I have one more question.
If I call Jsp page from orcle form OR vice versa then
Is it necessary to pass all global variable to next page which I declare at the time of login?

Regards

[SPLIT and MOVED by djmartin]
Will you stop with the "asking new questions on old threads"!!!

[Updated on: Thu, 21 February 2008 22:28] by Moderator

Report message to a moderator

Re: JSP and Oracle forms [message #301894 is a reply to message #301564] Fri, 22 February 2008 03:32 Go to previous messageGo to next message
shekhar.salunkhe
Messages: 154
Registered: January 2008
Location: Pune
Senior Member
how to open a oracle form in a new browser in same session.at present i am using web.show_documents( ).but i am not able to maintain session and global parameters.help please!!!
Re: JSP and Oracle forms [message #302204 is a reply to message #301894] Sun, 24 February 2008 21:13 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
This seems extremely dangerous to me. To open a form in the same Oracle session I would only ever open the new form in the same browser session. To open in a new Oracle session, yes, open a new browser session.

David
Re: JSP and Oracle forms [message #302533 is a reply to message #302204] Tue, 26 February 2008 01:14 Go to previous messageGo to next message
shekhar.salunkhe
Messages: 154
Registered: January 2008
Location: Pune
Senior Member
Hello Sir,
Let me tell you complete problem.

I have 2 Fmb and 1 Jsp page: fsetenv.fmb,flnmas.fmb,mainpage.jsp

My Old application's flow as following:
User enters userid & passwd in fsetenv form. Here I have declare some global variables. After login it is redirected to flnmas form, using call_form('d:\bank\forms\flnmas');
On this form it gets all global variable.
fsetenv -> flnmas It works fine......

But now I want to change application's flow like:
fsetenv -> mainpage.jsp -> flnmas

There is mainpage.jsp between fsetenv and flnmas. I am calling Jsp page from fsetenv using web.show_document();
But global variable will not work when I redirect to Jsp page.

So Please guide me properly....
Re: JSP and Oracle forms [message #302735 is a reply to message #301551] Tue, 26 February 2008 19:08 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I know next to nothing about 'jsp' stuff. Work through the examples on the Forms sample code page.
I wrote on Thu, 21 February 2008 17:47
Why not pass the name of the form back to the calling form and let it do it for you.

David
Getting a JSP page from Oracle forms [message #382737 is a reply to message #301529] Fri, 23 January 2009 16:57 Go to previous messageGo to next message
mackey155
Messages: 5
Registered: January 2009
Junior Member
Hi i want to produce a jsp report from oracle forms and this is what i do ...

my r_url variable is ok
this will be the name of my report 'repdocafe.jsp'

reporte.jsp( :parameter.forep, r_url );
Web.Show_Document( r_url || 'repdocafe.jsp?', '_blank');

i get this 'http://pc830495.egasa.local:8889/reports/repdocafe.jsp?'

my problem is that i must attach a report in my form and i dunno what to set on the properties of it...
Report Destination Name : Repdocafe.jsp
Report Destination Format : jsp ??????
Resport Server : server


What might be wrong in this configuration?
Re: Getting a JSP page from Oracle forms [message #383010 is a reply to message #382737] Mon, 26 January 2009 23:49 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
And what happens when you run this command?

David
Previous Topic: Execute Query
Next Topic: showing LOV
Goto Forum:
  


Current Time: Sun Feb 09 10:11:37 CST 2025