Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
Component Sharing
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gagandeep Singh Bhatia
Component Sharing
Commits
067a69b6
Commit
067a69b6
authored
Mar 13, 2024
by
Sonawane Amol Madhjuar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete VisionUnsHSBC.jsp
parent
5a7efa44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
134 deletions
+0
-134
Amol/ScheduleSftp/VisionUnsHSBC.jsp
Amol/ScheduleSftp/VisionUnsHSBC.jsp
+0
-134
No files found.
Amol/ScheduleSftp/VisionUnsHSBC.jsp
deleted
100644 → 0
View file @
5a7efa44
<%@ page
language=
"java"
contentType=
"text/html; charset=UTF-8"
pageEncoding=
"UTF-8"
%>
<%@page
import=
"ibase.utility.UserInfoBean"
%>
<%@page
import=
"ibase.utility.BaseLogger"
%>
<%
UserInfoBean
userInfo
=
null
;
String
message
=
""
;
try
{
String
url
=
"/ibase/jsp/VisionUnsHSBC.jsp"
;
userInfo
=
(
UserInfoBean
)
session
.
getAttribute
(
"USER_INFO"
);
BaseLogger
.
log
(
"3"
,
null
,
null
,
"In VisionUnsHSBC.jsp userInfo:["
+
userInfo
+
"]"
);
if
(
userInfo
==
null
)
{
%>
<jsp:forward
page=
"/jsp/DirectAccess.jsp"
>
<jsp:param
name=
"REFERER"
value=
"<%=url%>"
/>
</jsp:forward>
<%
}
}
catch
(
Exception
e
)
{
BaseLogger
.
log
(
"0"
,
null
,
null
,
"Exception in UserActivityLog:::["
+
e
.
getMessage
()+
"]"
);
}
%>
<!DOCTYPE html>
<html>
<head>
<style>
body
{
font-family
:
Arial
,
sans-serif
;
margin
:
0
;
padding
:
0
;
/* display: flex; */
justify-content
:
center
;
align-items
:
center
;
}
div
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
.container
{
max-width
:
800px
;
margin
:
0
auto
;
padding
:
20px
;
text-align
:
center
;
}
h1
{
font-size
:
32px
;
margin-bottom
:
20px
;
text-align
:
center
;
}
button
{
font-size
:
18px
;
padding
:
10px
20px
;
background-color
:
#4CAF50
;
color
:
white
;
border
:
none
;
border-radius
:
4px
;
cursor
:
pointer
;
}
button
:hover
{
background-color
:
#3e8e41
;
}
#response
{
margin-top
:
10%
;
}
</style>
<meta
charset=
"UTF-8"
>
<title>
UNS-HSBC Integration
</title>
<!-- Add any necessary styles or scripts here -->
<script>
function
scheduleSFTP
()
{
// Create an XMLHttpRequest object
var
xhttp
=
new
XMLHttpRequest
();
// Define the function to handle the response
xhttp
.
onreadystatechange
=
function
()
{
if
(
this
.
readyState
==
4
&&
this
.
status
==
200
)
{
// Update the HTML content with the response
document
.
getElementById
(
"
result
"
).
innerHTML
=
this
.
responseText
;
}
};
// Open a POST request to the server-side servlet
xhttp
.
open
(
"
POST
"
,
"
ScheduledSftpUploaderServlet
"
,
true
);
// Set the Content-Type header for a POST request
xhttp
.
setRequestHeader
(
"
Content-type
"
,
"
application/x-www-form-urlencoded
"
);
// You can add data to be sent with the request if needed
// For example, xhttp.send("param1=value1¶m2=value2");
// Send the request
xhttp
.
send
();
}
</script>
</head>
<body>
<h1>
UNS-HSBC Integration
</h1>
<!-- Add a button that triggers the scheduleSFTP function on click -->
<button
onclick=
"scheduleSFTP()"
>
Process Payment
</button>
<div
id=
"result"
>
<!-- The response from the server will be displayed here -->
</div>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment