SSO Sample JSP Code
Hi,
Is there anyone here who can help or much appreciated if you can provide a sample JSP code for SSO (Single Sign On pages) of Login, Logoff and Change Password. I'll be needing this to customize/replace our SSO to pattern with our current look and feel of our website. Many thanks.
Russel
I'm using 9iAS and 10g. either of the two versions will do. Thanks!
Russel
Similar Messages
-
I'm using 9iAS and 10g. either of the two versions will do. Thanks!
RusselI'm using 9iAS and 10g. either of the two versions will do. Thanks!
Russel -
Sample JSP code needed with jdbc select lists
Hello java experts!
I need to create a series a jsp pages that connects to an ms access "books" database. This first page should connect to the books.mdb and populate select lists with the values from the database. The solution would be similar to the the books shopping cart in the CoreServlets book, EXCEPT I must do everything in JSP only.
All I have done to this point is Java servlets. (I've done shopping cart stud in ASP.net, but not JSP).
I know everyone hates to post code samples, but seeing the code will help me understand. I've read the API, the tutorials, 3 textbooks, and any other doc I could find. I understand Java beans and jsp, but I need to see the JSP for this to finally crystalize.
Thanks in advance.
-JavaGirlwhat school is teaching db access from jsp?
-
I want to run a sample JSP code in eclipse. Can anyone tell how to add server in Eclipse 3.1. And from where to get the server. I have heard that Tomcat 5.0 can be used. Can anyone provide some solution,
RishiDugar wrote:
I had tried this, thats when I get the version mismatch error. I am not very clear on the compatible version of Apache and Eclipse. Can u help...STOP! stop posting and go online
there are many versions of eclipse and tomcat
many compatibility issues, etc.
now go through a tutorial
you're wasting your time here -
I'm using Orion as my server. I've got an app with a couple of JSP's. One JSP is welcome.jsp and runs JSP code fine. The other is navigation.jsp and it doesn't have ANY JSP code at all, but it still produces an internal 500 error when I browse to it....
Any suggestions?A 500 error code usually indicates that there was some problem with the server itself. For example, Tomcat will report 500 if it is unable to find the Java compiler it needs.
I'm not at all familiar with Orion, and never heard of it before today, but you may want to see if they included some sample JSP code, and if so, test to see if that code works. You might also double check that you've followed all of the instructions they set forth. In particular, pay attention to where to find error messages (usually in a log file).
One potential gotcha that seems to plague lots of developers is spaces in file names. If you installed Orion in something other than the default directory, and your preferred directory has a space somewhere in the path name, it's possible that the Orion developers didn't take that into account and as a result, some of their stuff works correctly and some doesn't. -
Need Sample source code for Forum in jsp
Hi..
Please tell me the website which is having the sample source code for simple forum... I have to implement it into my project... kindly help me out...
thanx in advance
kumarHi..
Please tell me the website which is having the sample source code for simple forum... I have to implement it into my project... kindly help me out...
thanx in advance
kumar -
Sample source code for fields mapping in expert routine
Hi All
Iam writing the expert routine from dso to cube for example I have two fields in dso FLD1,FLD2
same fields in infocube also ,can any body provide me sample abap code to map source fields to target fields in expert routine,your help will be heighly appreciatble,it's an argent.
regards
eliazBasic would be ;
RESULT_FIELDS -xxx = <SOURCE_FIELDS> -xxx
you have the source fields as source, and result fields for as the target. In between you can check some conditions as in other routines of transformation.
BEGIN OF tys_SC_1, shows your source fields ( in your case DSO chars and key figures)
BEGIN OF tys_TG_1, , shows your result fields ( in your case Cube characteristics)
Hope this helps
Derya -
Functional Module:Need some sample source code.
Hi All,
I have created a customized table u2018ZStock_Order_Dealeru2019 with the following fields:
Stock_Order_Dealer
Dealer Number
S2D order Number
Line item Number
Material Number
Ordered Quantity
Batch Number
Received Quantity
S2D from D2G
Receiving Date
I need to create a remote enabled function module in CRM system to fetch the u2018Batch Numberu2019 and u2018Received Quantityu2019 fields when the Material Number is fed to it.Please note that the input and output should be tables.
Could some one please give some sample source code for this.I used table types and select queries to resolve this problem.
-
Needs sample ABAP code for field routine
Dear Expert,
There is a field "Pay Scale Group" in my DSO which stores the data in the format
AA1/B1/CCC2/DD2/EEE1, A1/BB2/CC2/DDD3/EE2 etc. These data has to be transferred to
InfoCube where "pay Scale Group" in the InfoCube will store the data like EEE1,EE2 etc.
I need to write a field routine on the transformation between DSO and Cube.
Can any one please help me with the sample ABAP code for this scenario.
Some more examples for better understanding of the requirement:-
Data in DSO(Source) Data in Cube(Target)
=================== ===================
AA1/B1/CCC2/DD2/EEE1 EEE1
AAA1/BB2/CC1/DDD3/EE2 EE2
A2/BBB2/CC2/DDD3/EEE5 EEE5
AA2/BB1/C1/DDD3/EE3 EE3
A3/B1/CC2/DDD1/EE4 EE4
Many thanks in advance.
Regards,
Prakash
Please do not dump your code requirements in SDN
Edited by: Pravender on May 18, 2011 11:37 AMHi,
You can use the following code :
Suppose the technical name of the field coming from DSO is ZPAY_SGRP.
And also for example let me take one record, that is ZPAY_SGRP = AA1/B1/CCC2/DD2/EEE1 .
My assumption is that there will always be 4 '/'.
In the field routine write the below code
data: V1(5) type c,
V2(5) type c,
V3(5) type c,
V4(5) type c,
V5(5) type c.
data : VAR1 TYPE /BIC/OIZPAY_SGRP.
split VAR 1 at '/' into V1 V2 V3 V4 V5.
result = V5.
V5 will be having the characters after the last '/' .That is V5 = EEE1.
Hope the above reply was helpful.
Kind Regards,
Ashutosh Singh
Edited by: Ashutosh Singh on May 17, 2011 3:53 PM
Edited by: Ashutosh Singh on May 17, 2011 4:17 PM -
Sample ABAP code for userexits, and calling bapi's
Hi,
Can someone please send me sample ABAP code
1) to do extractor enhancement using user exit.
2) ABAP program to call BAPI to read live cache order series data in SNP and write to Idocs through some ports.
3) ABAP routine to generate file name (based on date/country)in the infopackage to upload flatfiles.
Thank you very much in advance and appreciate any help.
Regards
Prasadhai ,
check this code...
*& Tables
tables : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
*& Selection Screen Parameters
selection-screen begin of block a01 with frame title text-001.
selection-screen skip.
parameters : p_tcode like tstc-tcode obligatory.
selection-screen skip.
selection-screen end of block a01.
*& Start of main program
start-of-selection.
Validate Transaction Code
select single * from tstc
where tcode eq p_tcode.
Find Repository Objects for transaction code
if sy-subrc eq 0.
select single * from tadir
where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir
where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir
where pname = tstc-pgmna.
select single * from enlfdir
where funcname = tfdir-funcname.
select single * from tadir
where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name = enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
Find SAP Modifactions
select * from tadir
into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct
where sprsl eq sy-langu
and tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
Take the user to SMOD for the Exit that was selected.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen. -
Wanted: Sample source code for voice recorder
I've been google searching for some sample source code to implement a voice recorder on my AudioVox 5600. I would like to learn how to read from the microphone and write to my SD card in a standard file format like wav, wma or mp3.
Can anyone help me understand how to do this?
Thanks,
SiegfriedBasic would be ;
RESULT_FIELDS -xxx = <SOURCE_FIELDS> -xxx
you have the source fields as source, and result fields for as the target. In between you can check some conditions as in other routines of transformation.
BEGIN OF tys_SC_1, shows your source fields ( in your case DSO chars and key figures)
BEGIN OF tys_TG_1, , shows your result fields ( in your case Cube characteristics)
Hope this helps
Derya -
Need sample source code for calling stored procedure in Oracle
Hi.
I try to call stored procedure in oracle using JCA JDBC.
Anybody have sample source code for that ?
Regards, Arnold.Thank you very much for a very quick reply. It worked, but I have an extended problem for which I would like to have a solution. Thank you very much in advance for your help. The problem is described below.
I have the Procedure defined as below in the SFCS1 package body
Procedure Company_Selection(O_Cursor IN OUT T_Cursor)
BEGIN
Open O_Cursor FOR
SELECT CompanyId, CompanyName
FROM Company
WHERE CompanyProvince IN ('AL','AK');
END Company_Selection;
In the Oracle Forms, I have a datablock based on the above stored procedure. When I execute the form and from the menu if I click on Execute Query the data block gets filled up with data (The datablock is configured to display 10 items as a tabular form).
At this point in time, I want to automate the process of displaying the data, hence I created a button and from there I want to call this stored procedure. So, in the button trigger I have the following statements
DECLARE
A SFCS1.T_Cursor;
BEGIN
SFCS1.Company_Selection(A);
go_Block ('Block36');
The cursor goes to the corresponding block, but does not display any data. Can you tell me how to get the data displayed. In the future versions, I'm planning to put variables in the WHERE clause. -
Help on jsp code to display data in same page using using ajax ?
Is there any jsp code to display in same page using using ajax ?
Re: need help on how to display data in same jsp page. Locking.
-
Is there a way of embedding JSP code in VBScript?
I am launching MS Excel using VBScript in the JSP Page. I want to populate the spread sheet with the values coming from a Java Bean. I am not sure how I can embed JSP code in VBScript.
ThanksI tried doing that with Javascript but it gives me error..
here is the code I was testing..
<script language="JavaScript">
function test(){
var name = <%=(bean.getName())%>;
alert(name);
</script>
<input type="button" name="Button" value="test" onClick=javascript:test()>
Error : Object Expected
If I do a similar thing with VBScript, it doesnt work either.
here is the test code for VBScript
<SCRIPT LANGUAGE="VBScript">
sub button1_onclick()
dim name = <%=(bean.getName())%>
' Launch Excel
dim app
set app = createobject("Excel.Application")
' Make it visible
app.Visible = true
set rng2 = wb.Activesheet.Range("A1").Resize(2,2)
rng2.value = name
' Give the user control of Excel
app.UserControl = true
end sub
</SCRIPT> -
How to access a JAVA Script variable in JSP Code
How to access a JAVA Script variable in JSP Code. I have been unable todo this.
Plz Suggest a way.
Thanks
Soumyatry to do this code
String s=request.getParameter("javascriptvariablename");
Maybe you are looking for
-
Please help! Code 4: Unexpected Error on Subscribed Calendars
Hi there, I am trying to subscribe to an iCal feed that I created in Yahoo Pipes. When I do so in iCal, I get this error: Code 4: Unexpected Error on Subscribed Calendars http://tinyurl.com/3zpgrg (screenshot) This is the ical feel that I am trying t
-
VBScript which is called with Arguments from Command Line
Hi There. I have been tasked to create a VBScript which needs to accomplish the following: It needs to be called from a command line using 4 different arguments, the arguments in order as follows: - Drive letter including colon Warning thres
-
Multiscreen HTML5: iPhone Output Not Built Correctly (Missing HTML Files)
I need expert help to resolve this issue. Hopefully, this issue will sound familiar to someone, and they can provide some guidance. Since I started using RH10 a few months ago, I have delved into the details of Multiscreen HTML5 only as much as was n
-
Why can I suddenly not read PDF's on my mac osx 10.6.8 VERY FRUSTRATING
-
How to stop the animation at a certain frame using action script 3.0 .
How to stop on a frame to stop the animtion using adobe flash cc.