How to add header to a file in mapping
Hi,
I need to add header to a file , the header information i am getting is dynamic , it is an IP address of the m/c from where i received the file and keeps on changing.
Can we add this information in the header in mapping or there is any other way to acheive this.This IP is used to make a lookup at a latter stage for verification purpose.
Regards,
SRi
Hi Sri,
Write Java class or an ABAP class
in Java class or ABAP class write logic to find the first word or line
once you find that word in your incoming file, you need to replace with a string which has the static header+firstword what you have searched
for exmple
Incoming file
abcd
<abc>123</abc>
<def>321</def>
Your logic should find "abcd"
String Header = "http://www.sap.sdn.com"
String A = "abcd" (bcoz u kow u r searching for this word)
now concat A+Header and return the string
IF you are writing an ABAP or Java class include this in Interface Mapping
Hope this helps.
Similar Messages
-
How to add the mail.jar file to my CLASSPATH ?
Hi;
I wish to Instal JavaMail 1.2
To use the JavaMail 1.2 API, i unbundle the javamail-1_3_1-upd.zip file.....and now, i would like to add the mail.jar file to your CLASSPATH.
My question is: how do you do this ?
- ok i did that for CATALINA_HOME & JAVA_HOME but how to add the mail.jar file to my CLASSPATH ??
1000 thanks.I think you're looking for "developer support", not packaged application support. different server, different batch of groups. . .
Since I have very little contact with devopers, I don't truly know. -
How to add other 2 control files at ASM in linux RAC
Hi Experts,
I am new for RAC .
the vendor build a RAC for us. I found there are only one control file in system.
we use oracle 10.2.0.4 at ASM with RAC in redhat linux 5.
how to add 2 additional control file to ASM for RAC ?
Please provide a procedur in detail.
Thanks
JimHi damorgan & Friends,
I could not find some infomration to add control into ASM . I can do this job( see below procedure) in no ASM .
My question, our database locates at ASM and control file with a system auto-number ( fully qualified filename ) as
+DATA1/SALE/controlfile/current.256.690290159
How do I physical copy and rename other 2 contril file in directory and modify location in pfile?
I saw some paper to use request as an alias (such as +dgroup2/control/ctl.f). i can not image to copy/rename control.
Please help me!!
Thanks
Jim
========added control file for no ASM database and works=====================
1)
SQL> create pfile from spfile;
File created.
2)
SQL> show parameter control_file
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string C:\ORADATA\ORCL\CONTROL01.CTL
3)
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
4) modify pfile add additional control file2/3 as
control_files='C:\Oradata\ORCL\control01.ctl','C:\Oradata\ORCL\control02.ctl','C:\Oradata\ORCL\control03.ctl'
and physical copy control01.ctl and raname as control02.ctl,control03.ctl
5)
SQL> startup pfile='C:\oracle\product\10.2.0\db_2\database\initORCL.ora';
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247900 bytes
Variable Size 62915940 bytes
Database Buffers 100663296 bytes
Redo Buffers 2945024 bytes
Database mounted.
Database opened.er database mount;
6)
SQL> Create spfile from pfile='C:\oracle\product\10.2.0\db_2\database\initORCL.ora';
File created.
7) check control file info under pfile environment
SQL> show parameter control_file
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string C:\ORADATA\ORCL\CONTROL01.CTL,
C:\ORADATA\ORCL\CONTROL02.CTL
, C:\ORADATA\ORCL\CONTROL03.CT
L
8)SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
9) startup as spfile environment.
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247900 bytes
Variable Size 62915940 bytes
Database Buffers 100663296 bytes
Redo Buffers 2945024 bytes
Database mounted.
Database opened.
10) check control info for spfile environment
SQL> show parameter spfile
NAME TYPE VALUE
spfile string C:\ORACLE\PRODUCT\10.2.0\DB_2\
DATABASE\SPFILEORCL.ORA
SQL> show parameter control_file
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string C:\ORADATA\ORCL\CONTROL01.CTL,
C:\ORADATA\ORCL\CONTROL02.CTL
, C:\ORADATA\ORCL\CONTROL03.CT
L -
How to add list of multiple file types to file type of file dialog box in LabVIEW
How to add list of multiple file types to file type of file dialog box in LabVIEW?
In file dialog box there is option to add only one file type,in the list,not by seperating commas,
regards,
Naresh.NWrite the file types in pattern Input string, separated by a semicolon ;
For example: *.vi;*.doc;*.jpeg;*.xls
This should return the set of files with matching extensions
Message Edited by devchander on 09-10-2008 08:02 AM
Message Edited by devchander on 09-10-2008 08:03 AM -
How is add/insert jpeg/gif files on wiki (code gallery)
Hi;
I prepared new wiki-code gallery page. I must insert/add jpeg/gif files on my page. But I dont know How is add/insert jpeg/gif files on wiki (code gallery).
Please help me.
Thanks.
http://wiki.sdn.sap.com/wiki/display/Snippets/NewTimeDomainandConversionRoutineforTotalTimeHi;
Mr Moshe Naveh helped me. He sended me new template page.
I again prepared my wiki with new template. ( http://wiki.sdn.sap.com/wiki/pages/createpage-entervariables.action?spaceKey=stage&templateId=113147905 ) I added jpeg files on new wiki page.
Then He moved my new page.
Thanks him.
Best regards. -
How to Add Header and Footer in Flat file
HI All,
I am using ODI 11g.
MY interface is populating data from joining to 2 tables through sql query and Loads in to Flat file.
But i need to add Header and Footer in the Flat file.
In the below 3 lines
The 1st line is header ....2nd line is Data ....3rd line is Footer.
Any ideas how to work on this.
HSB9KT.KTPRTO.EBSDATA.D0000000 20120626020636
CFFE00263 SOLGSR014991340000527894536058173880207SOLNE06242012072420120000009048382650000247MRS
T00000000000000000000
Thanks,
LonyHi Drieux,
i am able to add Header and Footer in this.
But i want the header like Its like HSB9KT.KTPRTO.EBSDATA.D0000000 || SYSDATE (YYYYMMDDHHMMSS)
In my Out put i only see header as HSB9KT.KTPRTO.EBSDATA.D0000000 .
I have added a Variable where i am using SELECT to_char(sysdate,'YYYYMMDDHHMMSS') FROM DUAL query.
create header (HSB9KT.KTPRTO.EBSDATA.D0000000 #v_DATE)
/*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=FFT_SOLSNP$CRLOAD_FILE=/home/tarak/FFT_SOL.datSNP$CRFILE_FORMAT=FSNP$CRFILE_SEP_FIELD=0x0009SNP$CRFILE_SEP_LINE=0x000ASNP$CRFILE_FIRST_ROW=0SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=descrSNP$CRTYPE_NAME=STRINGSNP$CRLINE_OFFSET=1SNP$CRLENGTH=994SNP$CRPRECISION=994SNP$CR$$SNPS_END_KEY*/
Any idea why this sysdate part is not showing in Header. -
How to add header and footer to a file through ODI?
hi,
I want to add header and footer to my file..............footer should contain a counter so that page number can be displayed...................
Can anyone please guide me .................
Thanks .............
Ritikawhat is the utility you are using to create file . Interface or OdiSqlUnload ?
and what do you want to have Header and Footer as and how are you concluding the File as page 1 and page 2 etc ... ? -
How to add header and fooder in text file
Hi,
i have created simple application for generate report from database into text file.
But i need to add header and fooder in text file. I dont know is there any API for adding these.
Can anyone help me to create header and fooder in text file.
the below text are needs to be print in the header
name of the table :
Recorder type :
file creation time:
the below text are needs to be print in the footer
Recorder Number:
Record Type;
the actual code is
pst = con.prepareStatement("select REQUEST, DOMAIN_NAME, TRUNC(DATE_OF_CONFIGURATION) AS dateofConfig FROM employee where id=300");
rs = pst.executeQuery();
while (rs.next()) {
request = rs.getString("REQUEST");
domain_name = rs.getString("DOMAIN_NAME");
dateofconfig = rs.getString("dateofConfig");
System.out.println(request + " " + domain_name + " " + dateofconfig);
data.add(request + " " + domain_name + " " + dateofconfig);
System.out.println("before calling method");
writeToFile(data, "c:/Employee.txt");
System.out.println("file created successfull");
rs.close();
pst.close();
private static void writeToFile(List list, String path) {
BufferedWriter out = null;
try {
File file = new File(path);
out = new BufferedWriter(new FileWriter(file, true));
for (Object obj : list) {
String s= obj.toString();
out.write(s);
out.newLine();
out.close();
} catch (IOException e) {
}Thanks
Jasmin
Edited by: user13836688 on Mar 21, 2011 4:06 AM
Edited by: user13836688 on Mar 21, 2011 4:07 AM
Edited by: user13836688 on Mar 21, 2011 4:08 AMuser13836688 wrote:
i have created simple application for generate report from database into text file.First off, when posting code, use [code]...[/code]. or '' tags, not '<code>'.
But i need to add header and fooder in text file. I dont know is there any API for adding these.
Can anyone help me to create header and fooder in text file.Well you plainly have the code to write the file contents; and furthermore your report seems to be contained in a List called 'data'. Why not just add the header and footer lines to it? I'd also suggest making 'data' a LinkedList. That way you can add the header afterwards with no performance hit, just in case the information it contains isn't available at the start of your report loop.
Winston -
How to add header line in a file from XI system using file adapters
Hi All,
I need to add header line (Column names) in a file coming from XI system.
I am using file adapters.
Thanks & Regards,
Gaurav MittalThe Receiver File Adapter is configured, using the following settings:
1) Choose File Content Conversion as the Message Protocol.
2) You give the addHeaderLine parameter as 1
3) For the fieldSeparator parameter you need to give field separator for both list and substructure (referring to the data type above). For eg: it may be a , (comma) for substructure in a comma separated file.
4) The endSeparator parameter needs to given for substructure only. For eg: it may be a nl (new line)
5) Give the file name, the directory and the Construction mode. Activate all the settings. Receiver File Adapter with F.C.C. is configured.
please visit the blog.
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 -
Open Hub - Add header line to file on server.
Hi All,
How can I add header description to the file being generated in the server from the Open Hub. The open hub generates a fiule with data fields only, however i want a header line.
Example
IF my data fields are displayed as below,
John M 12 2344
Thomas M 17 8960
Lin F 10 8467
Jan M 12 4323
I need to add, description as NAME above John, Thomas, Lin etc.
as GENDER above M,M,F etc.
as CODE above 12, 17,10 etc. and
as EXTENTION above 2344, 8960,8467 etc
Can anyone help.
Points will be assignedHi,
i don't think this can be done even in BADI.
what you can do is once the Infospoke run is complete and the file generated , run a custom report for this.
in the custom report open a file dataset , write header and then close the file dataset.
then again open the file dataset in append mode , writhe the file that the infospoke generated and close the file dataset.
include this custom program after you infospoke run in the process chain.
Regards,
Neeraj. -
hi,
I have written following code.I have a file. i want to add data in this file.
When i add data then data is added but i donnot get the previous data. What`s the problem of my code? Is there anyone can help me? how i will add data with the previous data? Please help me.
String username=request.getParameter("UserName");
String userage=request.getParameter("UserAge");
String address=request.getParameter("UserAddress");
String sex=request.getParameter("sex");
FileWriter f = new FileWriter("d:\\download_dreamweaver\\Project_3\\WebContent\\SaveData.txt");
f.append(username);
f.close(); ith regards
binaLooks like you're creating a new file (which overwrites the old one) every time. You need to open the file first and then append to it.
-
How to add name from text file to jtable?
hello all,
how to add name (string) from the notepad file(.txt) into jTable rows.
I am not able to add it.
try {
FileInputStream fis = new FileInputStream("Devices/Devices_Lst.txt");
BufferedReader br = new BufferedReader(new InputStreamReader(fis));
String line = null;
Vector data = new Vector();
line = br.readLine();
while ( (line = br.readLine()) != null)
int rowCount1 = nmsTable.getRowCount();
for(int i=0;i<rowCount1;i++)
myTableInit(); // it initialize the table
/* nmsTable.setValueAt(i+1,i,0);
Table.setValueAt(line,i,1);
Table.setValueAt(" ",i,2);
Table.setValueAt(" ",i,3);
Table.setValueAt(" ",i,4);
Table.setValueAt(" ",i,5); */
int rowNo = nmsTable.getRowCount();
row.addElement((rowNo+1));
//row.addElement(ipText.getText()+"-"+nameText.getText());
row.addElement(line);
row.addElement((String)" ");
row.addElement((String) "");
row.addElement((String) "");
row.addElement((String) "");
row.addElement((String) "");
rows.add(row); //rows is the Vector for table row.
Table.addNotify();
br.close();
if possible give me some examples.
thank you.For every row you need to create a new Vector and add the data to that Vector. Then the Vector is added to the TableModel.
If you add 6 items to the single Vector, then you will get 6 columns. So you need to create 6 Vectors and add a single item to each Vector and therefore you will end up with 6 rows with 1 column of data. -
WCF request with utl_dbws how to add Header into SOAP envelope
I’m trying to make WCF (Windows Communication Foundation) request and using for that utl_dbws package.
After making request (calling utl_dbws.invoke) it will give error “ORA-29532: Java call terminated by uncaught Java exception: javax.xml.rpc.soap.SOAPFaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect t”
I turned on logging (utl_dbws.set_logger_level) I see that system sends standard SOAP envelope and does not have Header at all. How can I use my own SOAP envelope and/or add Header.
All info that logging give is:
ServiceFacotory: oracle.j2ee.ws.client.ServiceFactoryImpl@eec8c59c
WSDL: null
Service: oracle.j2ee.ws.client.BasicService@7c110d23
*** Created service: -677524827 - oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy@562bd0c4 ***
ServiceProxy.get(-677524827) = oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy@562bd0c4
getOperationInfo return NULL: port={http://tempuri.org/Service/}BasicHttpBinding_Service, operation={http://tempuri.org/Service/}GetLov
setProperty(javax.xml.rpc.soap.http.soapaction.use, true)
setProperty(javax.xml.rpc.soap.http.soapaction.uri, http://tempuri.org/Service/GetLov)
setProperty(javax.xml.rpc.encodingstyle.namespace.uri, http://www.w3.org/2005/08/addressing)
setProperty(javax.xml.rpc.security.auth.username, DefaultUser)
setProperty(javax.xml.rpc.security.auth.password, MySecretPassword)
<GetLOV xmlns="http://tempuri.org/"> <request xmlns:d4p1="http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <d4p1:AgentCode>AGENT</d4p1:AgentCode> <d4p1:Language>ENG</d4p1:Language> <d4p1:ProcessName>test</d4p1:ProcessName> </request></GetLOV>
Attribute 0: http://tempuri.org/: xmlns, http://tempuri.org/
createElement(GetLOV,null,http://tempuri.org/)
Attribute 0: http://tempuri.org/: xmlns, http://tempuri.org/
dbwsproxy.element.node.child.0: 1, null
dbwsproxy.add.map: d4p1, http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request
Attribute 0: http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request: xmlns:d4p1, http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request
dbwsproxy.add.map: i, http://www.w3.org/2001/XMLSchema-instance
Attribute 1: http://www.w3.org/2001/XMLSchema-instance: xmlns:i, http://www.w3.org/2001/XMLSchema-instance
createElement(request,null,http://tempuri.org/)
dbwsproxy.add.soap.element.namespace: d4p1, http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request
Attribute 0: http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request: xmlns:d4p1, http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request
dbwsproxy.add.soap.element.namespace: i, http://www.w3.org/2001/XMLSchema-instance
Attribute 1: http://www.w3.org/2001/XMLSchema-instance: xmlns:i, http://www.w3.org/2001/XMLSchema-instance
dbwsproxy.element.node.child.0: 1, null
dbwsproxy.lookup.map: d4p1, http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request
createElement(d4p1:AgentCode,null,http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request)
dbwsproxy.text.node.child.0: 3, E01306
dbwsproxy.element.node.child.1: 1, null
dbwsproxy.lookup.map: d4p1, http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request
createElement(d4p1:Language,null,http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request)
dbwsproxy.text.node.child.0: 3, ENG
dbwsproxy.element.node.child.2: 1, null
dbwsproxy.lookup.map: d4p1, http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request
createElement(d4p1:ProcessName,null,http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request)
dbwsproxy.text.node.child.0: 3, tesr
request:
<GetLOV xmlns="http://tempuri.org/">
<request xmlns:d4p1="http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/">
<d4p1:AgentCode>AGENT</d4p1:AgentCode>
<d4p1:Language>ENG</d4p1:Language>
<d4p1:ProcessName>test</d4p1:ProcessName>
</request>
</GetLOV>
13.05.2010 14:17:28 oracle.j2ee.ws.client.ClientMessages infoAboutToInvokeCallForEndpoint
INFO: Trying to connect to URL: https://x.y.z/WS/ Service.svc
13.05.2010 14:17:30 oracle.j2ee.ws.client.StreamingSender _sendImpl
FINE: StreamingSender.request:<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><GetLOV xmlns="http://tempuri.org/"><request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:d4p1="http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request"><d4p1:AgentCode>AGENT</d4p1:AgentCode><d4p1:Language>ENG</d4p1:Language><d4p1:ProcessName>test</d4p1:ProcessName></request></GetLOV></env:Body></env:Envelope>
13.05.2010 14:17:30 oracle.j2ee.ws.client.StreamingSender _sendImpl
FINE: StreamingSender.response:<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</faultcode><faultstring xml:lang="et-EE">The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.</faultstring></s:Fault></s:Body></s:Envelope>
Exception in thread "Root Thread" javax.xml.rpc.soap.SOAPFaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:559)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at oracle.j2ee.ws.client.dii.CallInvokerImpl.directInvoke(CallInvokerImpl.java:705)
at oracle.j2ee.ws.client.dii.BasicCall.directInvoke(BasicCall.java:692)
at oracle.j2ee.ws.client.dii.BasicCall.invoke(BasicCall.java:598)
at oracle.jpub.runtime.dbws.DbwsProxy$CallProxy.invokeProxy(Unknown Source)
at oracle.jpub.runtime.dbws.DbwsProxy$CallProxy.access$2600(Unknown Source)
at oracle.jpub.runtime.dbws.DbwsProxy.invokeProxy(Unknown Source)HTTP is HTPP... mostly.
In other words, the application protocol is stand and specified in RFC2616 (http://www.w3.org/Protocols/rfc2616/rfc2616.html)
The exception is specific proprietary extensions.. like for example Microsoft's NTLM authentication handshake.
The UTL_HTTP interface supports the protocol pretty well as per the protocol's specification. So using it to interact with a a web service should not be a major issue. The protocol is standard (e.g. POST command is used to supply the payload to the web service). The only real issue is formatting the payload for that as per what the web service expect. And that has nothing to do with HTTP itself - or UTL_HTTP. It is simply the delivering mechanism.
Getting that mechanism to work is fairly easy and should not pose a problem. Instead I suggest you focus on exactly how the HTTP payload needs to look like. Does that web service expects any specific name-values in the header? What does it expect in the body? Etc. -
How to "Add" Button to upload file in Notification PG?
I have a question on Extending/Customizing notfn to have "Add" attachment button to upload a document (some stnd template that Our business has) on either NotifDetailsPG or /oracle/apps/fnd/wf/worklist/webui/MoreInfoPG when a Approver opens notification to APPROVE/Reject
I'm wondering why Oracle didn't provide this feature of Uploading a file (along with Response input text area that they provided already) in NotifDetailsPG?
Business Reason: Our Business wants to upload a doc when an approver Rejects the notification (our case: iExpense module filing Exp Report) telling employee to follow some protocals
Question on OAF:
Is it possible to extend NotifDetailsPG or MoreInfoPG to upload a file. So, that when it goes to requestor they can open this file back and read thru. I know we need to insert a record in fnd_documents and fnd_attached_documents and /or fnd_lobs...but i don't know how to retrieve it back....Any hints....
Thanks
Raghu Kulkarnito clarify again....
In the WF notification during the time of "Reject"ion or "Approv"al, we want to upload a file and then perform Reject/Approve action. Can we extend the page to have Add button to upload file? Is that a lot of work?
Please any one give some suggestions...Thanks
Raghu Kulkarni -
How to add, JS and image files in portalapp.xml
Hi All,
I was trying to implement multiple level hover detailed navigation in iview for which I got couple of css scripts from web which include javascripts.
I placed these files in respective folders and their reference in header.jsp but when the iview is rendered in browser the reference is changing to .htm
So please help me out how to place these script / image files in PAR file and their reference in portalapp.xml & header.jsp.
Thanks in advance,
Sai Krishna.1) The CSS file you have , save as "jsp" file and please place in the jsp folder.
suppose your jsp is header.jsp and your css file is header_style.jsp
include the css jsp - header_style.jsp in header.jsp like
<%-- an include clause for css file --%>
<%@ include file="header_style.jsp" %>
2) All your images , please place in the "images" folder.
3) To access the images use like below: in CSS file (jsp)
in header_style.jsp
yourimage: url(<%=mimeUrl%>/images/Border.gif);
in header.jsp
<%
String mimeUrl = componentRequest.getWebResourcePath();
%>
4) more info for creating the hover menu read this blog
https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4913
Hope this will help you.
Maybe you are looking for
-
MS Outlook on O365 versus FingerPrin​t software or Value Added Package
Hello all, I have problem - after installing FingerPrint software or Value Added Package some functionality in MS Outlook 2010 on MS O365 system stops working like planning share meetings. I mean so problem in the Security - this application close s
-
Why is IE10 ignoring the CSS after applying patches?
I applied the patches (from http://helpx.adobe.com/robohelp/kb/help-visible-using-win-8-ie.html) for correct display of topics in IE10 after doing a search; that issue is now resolved. However, now when I preview any topic in RobhoHelp 10 (RH10), it'
-
Cropping pages and then printing 2 up per page.
I have a PDF from Google books of a scanned in book with lots of white space in margins. The pages are small and portrait so I wish to print 2 per page on landscape A4. When I use the cropping tool I can reduce the white space to something like the o
-
[Solved] Programs segfaults when compiled by makepkg
Hi! I changed my computer recently and now makepkg is giving me segfaults. When I try to build mplayer from aur I get segfaults when ./configure is run. The strange thing it that mplayer unset CFLAGS... makepkg change something else in the enviroment
-
Moved and can't find my power adapter!
Unpacked all my stuff, and couldn't figure out which power adapter went to my EtherFast Cable/DSL Router (4-port switch). It doesn't say the voltage and amps it's expecting on the back of the router. So i look online and im seeing (if im looking at t