Need help in fetching requested data from JSP
Hello,
I really need help in fecthing requested data from JSP to servlet. Can anyone assist me as soon
as possible because I must finish my program by today.....( 20/02/2002).
Thanks in advance.
It is very likely that somebody can help you, if you say what your problem is. In fact somebody might already have helped you. What is your problem?
Similar Messages
-
Need help about RRD4J, get data from rrdb
i need more help about roundrobin database, especially using RRD4J library.
i want to know, if i have one file database data1.rrd and i specific want to get data from startTime to endTime.
how i can get that data from that database, and move them to another database file data2.rrd.
can i do this?thx jschell
javadoc from rrd4j not clearly enough for me to understanding about prosesing add, update and get data in there, so i ask in this forum may be anyone can give me solution.
i think it's simple problem but i don't know how to implement with this API.
with rrd4j we can create roundrobin database (rrd), the output in example: data1.rrd
i just want to get data that i had put in data1.rrd to move them to another rrd, example: data2.rrd.
data1.rrd and data2.rrd, they have same lastupdate time. -
Need help with loading master data from R/3 to BI 7.0.
Hi,
First i thank everybody who took efforts to answer for my posting, i really am learning this new version with your helps. I really appreciate it.
Could any one help me with a step by step process to load master data from R/3 to BI 7.0. Please don't send help.sap.com.
will assign points .
With Thanks,
Ranjani RHi,
Thanks for the answers. I tried loading it yesterday, i had lot of confusions.
What should i do to load a master data from a R/3 to BI7.0.
1. Created a Info object named (EKKO_mas) with some attributes (ernam, ekorg, lifnr).
2. Go to info provider and right clicked on info area and selected insert char as data target. (Please correct if i am wrong).
3. Login to R/3, go to sbiw generic data source created one with a view/table as EKKO and map the application compound and select the needed fields by checking the checkbox. (please correct if wrong).
4. Go to source system tab and replicate data source. ( Please correct if i am wrong)
Then what should i do.
guessing steps:
4. Create a Data source, in BI 7.0 . In that as i am not using flat file, should i select "application server" instead of "local workstation" . In field tab i specified all the fields given in Info object. ( Will there be anything else i should do or change in this tab)
5. Load data in PSA. ( will the data from R/3 i selected loaded in PSA without any problem)
6. Create transformation , save and activate.
7. Create DTP save and activate , click execute.
By doing the above given step will i be able to load the master data from R/3 to BI 7.0 data target (IO) . Please help me if something is wrong with my steps.
Thanks.
RR.
*will assign points. -
NEED HELP WITH TRANSFERRING P2 data from the HVX camera to FCP!!!
Hey guys...
Need some emergency help here... I'm trying to transfer my data from the P2 card on the HVX camera to my FCP6. I plugged in my 1394 firewire cable into the deck and followed the directions but the computer is not recognizing the HVX camera. PLEASE HELP!!!
JeremyThey come with the camera on the Installer CD. OR....
https://eww.pavc.panasonic.co.jp/pro-av/support/desk/e/download.htm#p2pcdriver
http://panasonic.sixbullets.net/
Shane -
Need help to get JS variable from JSP???i have partial soultion
Hi everyBody
here a littil desciption about wht i need:
the user should Input value by (prompt) in javascript, then the value will be assigned to JS variable
and i need the value which the user input but in JSP
so i do like this
<script>
var gg;
function getF(){
gg = prompt("yes","input name");
</script>JSP+JS,, both in same page
now JSP code
String newname = "<script>document.writeln(gg)</script>";now the problem is->
i need pass the newname variable to the method renameTo() which belong to FILE class
but i face problem with it cuz newname variable will not be assigned, it will execute the statment each time i use newname varible????
while renameTo() method should take parameter type File.
i hope i put al the details about my problem
any help please???BalusC:
i've tried ur way:
this is the JS function
<script>
var userInput;
function getF(){
userInput = prompt("yes","input name");
return userInput;
</script>and here where i call the JS function and then pass the returned value
out.print("<a href = index.jsp?'newName=javascript:getF()'><img src = folder.jpeg width = 48 height = 48 /></a>");i got the parameter here
String newPath = request.getParameter("newName");
out.print("newnameObject = "+newPath);but it return null????
any explain???!!!!
bst rgds
Edited by: Mr.Carlito on Jan 8, 2008 3:53 AM -
Need help in writing data from JSP to excel
Hi ,
I need help in writing the data from JSP to excel.I somehow able to retrieve the data into excel but unable to get the required format.
For eg: The amount should be displayed in 0.00 format .when i am exporting it to excel it is displaying as 0 :( .
I am using the following code in JSP.
"out.print(amt + '\t');"
Would like to know if there is any otherway where in i can get my requirement.
Thanks
TomHi,
Try using format part of the JSTL tag libs.
Syntax :
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<fmt:formatNumber value="40" pattern="$#,##0.00"/>
I need help in writing the data from JSP to excel.I
somehow able to retrieve the data into excelHow do u convert the jsp to excel?
One way to convert the jsp page to excel, is to render it as an excel appl instead of html. Set the content type of the response to application/ms-excel.
response.setContentType("application/ms-excel")Hope this Helps.... -
Help required to get data from Cash Mgt
Hi
I need help to get following data from cash managemment .
Bank Name
Branch
Account#
Date
cheque#/Ref
Amount Direct Debited by bank
Amount Direct credeted by bank.
Kindly help
RegardsHello.
See if this helps. When the Amount column shows a negative number it represents a Debit.
select b.bank_account_name "Bank Account" ,
bb.bank_branch_name "Branch",
b.bank_account_num "Bank Acc Num",
l.trx_date "Date",
l.trx_type "Type",
l.trx_text "Description",
l.amount "Amount"
from ce_statement_headers_all h,
ce_statement_lines l,
ap_bank_accounts_all b,
ap_bank_branches bb
where b.bank_account_id = h.bank_account_id
and l.statement_header_id = h.statement_header_id
and bb.bank_branch_id = b.bank_branch_id
and b.bank_account_id = <bank_account_id>
and h.statement_number = <'statement number'>
Octavio -
Need to fetch the data from CMS database
Hi All,
I'm using BO XI 3.1 SP2 and looking for below data to retrieve:
1. I would like to pull the data for universe as below and here my parameter would be my Universe name
Groups
Reports
Groups: which are having access to that universe?
Reports: Reports which are builds using that Universe
2. Also the below data is required for the universe is:
List of Users those are having access to universe. User active is user's status enabled or disabled. And last column is whether user is having permissions to edit the data provider or not.
User ID
User Name
User Group
User Active
Data Provide Edit
Please let me know how I could fetch this data from CMS database.
Thank you..!!There is a spreadsheet in BOB forum under download that extracts the users and groups, etc fromt he CMS database.
You can customize it to get the universes and reports.
User ID - yes available
User Name - yes Available
User Group - yes available
User Active - yes available
Data Provide Edit - I didn't see it in that spreadsheet but I am sure you can find it. -
Need help on Adhoc Request functionality in PI
Hi Experts ,
Need help on the design approach . How can PI handles if Sender System prefers to send an Adhoc Request(Outbound) to PI .
Here is the complete requirement .
" An Adhoc Request is send to PI from the Legacy Sender System (Whenever Legacy system has Planned and unplanned shutdowns) . Legacy system uses web client based request ( HTTP ) to PI . As soon as the http request is received to PI . PI needs provide back the information to Legacy System "
Note : PI needs to provide the Requested data to Legacy system from the External Shared folders . (Data content is stored in an .xml format in shared folders)
I can see file adapter is one of the option which i can choose to connect to the external folders .
How can i achieve the Adhoc Request functionality ? Needs advice and suggestions on this please ?
Regards,
KhanHi Aziz - I don't think you should worry about "Ad hoc" here. It's nothing but a specific request from your sender application.
Please refer to the scenario #8 SOAP- File and i assume it would be the same case with your interface.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f96dbf-adca-3010-ffb5-daf2d1f0e276?QuickLink=index&… -
Need help in URL Service Data Control
Hi Everyone,
I'm working on JDev11gUp2, ADF-RC
I am using URL Service Data Control to fetch data from CSV File and i got success but I need to know that is there any way to pass File Connection URL Dynamically at run time, As i know we have to provide URL string at design time, but i have multiple files to pass at run time , Then?
And one more question that Once the data is uploaded into af:Table from my CSV file. then after Any data change in CSV file must reflect in af:table with that change like other iterator refresh functionality. but I'm not able to do that, Simple question is, How to Re fetch the data from CSV file at run time?
Your answer would be really appreciated as it would really help me.
Thanks
Fizzz...Hi Fizz,
Not sure of the answer to your specific question. A couple of thoughts, though:
You could try putting some code in a backing bean action listener to get the data control from an iterator binding (where you have added an iterator binding to your page definition) and then using the debugger to inspect the runtime type of the data control returned - then look to see if that type has a setURL method.
[url http://database.in2p3.fr/doc/oracle/Oracle_Application_Server_10_Release_3/web.1013/b25947/adv_data_controls005.htm]this link talks about creating your own data control type - where you could certainly expose a method to set a URL. More work, but you have complete control.
Hope this at least gives you an idea or two.
John -
Fetch the data from the tables in the SQL 2005 server to sap R/3.
Hi Experts,
We need to fetch the data from the tables in the SQL 2005 server to sap R/3.
Please explain which will be the best approach to fetch the same and how to do it. Sample program can greatly help.
<< Please do not offer points >>
Regards,
Shobana K
Edited by: Rob Burbank on Sep 21, 2010 2:36 PMHi,
Try NATIVE SQL statements in your abap code otherwise you can try to establish jdbc connection from ABAP program.
search in SDN for samples!
Suresh -
Sending binary data from JSP (1.1)
Hi all:
I am using Tomcat 3.2.1 and Apache under Linux Mandrake OS.
I have a JSP (1.1) sending binary data (GIF, PDF, DOC ..) using response.getOutputStream().write(data)
method.
The problem is the precompiler automatically creates the JspWriter and puts some out.write("\r\n") lines
before I use getOutputStream method. The JVM throws an IllegalStateException because I am using both
methods (this is from Servlet 2.2 specification).
Must I change my code to forwarding to a servlet that make this work or is there a simple solution to
avoid this?
Thanks in advance.
J.
nullHi Shreeharsha
Please refer to below docs for sending data from JSP page to RFC. In which you need to use sap connectors for connecting to SAP backend system.
http://help.sap.com/saphelp_nw04/helpdata/en/b6/55e3952a902447847066a0df27b0d6/content.htm
Hope it helps
Regards
Arun -
Extractor class to fetch the data from PA0105
Hi All,
Can anyone suggest me the extractor class used to fetch the data from the table PA0105.
Any information regarding this will be highly helpful.If you give PA0105 all data will be extracted.
Or if you need any specific data you need to know the filed names first. check the table from SE16 for identifying the field names. and do it accordingly.
Please reward points
Regards
Venu -
Fetching all data from MS access PROBLEM !!!
Hi all,
I am having problem of fetching all data from MS ACCESS, ie, I have 112 rows of data, yet when executing query SELECT * ... only 70 items are retrieved. Don't know why, but the retrieval prcess stops on item 69 and want get the rest of the data.
I am executing the query in a WHILE loop, don't specify the number of loops !!! so I should be able to get all of the data. Why then I always only get 69?
Second q.
What is the right SYNTAX for retrieving specific data. ie. SELECT id from images WHERE size = 58
is this correct? ie. size is declared as number?
ANy help would be much appreciated.
Thanks1. Where from you are fetching the data? Is it from bean or JSP or servlet? Can you post the code?
2. Yes. the sql syntax is correct. -
How to fetch the data from databse table and get the required output
Hi,
I have made a project that connects CEP to database table but i m getting some problem in fetching the data from database.
From the following code :
If the where condition is removed then the application runs fine but i am still not able to fetch the data from the table because it is not showing any output.
Can anyone please suggest me that how to write WHERE statement correctly and how i will be able to see the output.
Following is the config.xml for processor:
======================================
<?xml version="1.0" encoding="UTF-8"?>
<wlevs:config xmlns:wlevs="http://www.bea.com/ns/wlevs/config/application"
xmlns:jdbc="http://www.oracle.com/ns/ocep/config/jdbc">
<processor>
<name>JDBC_Processor</name>
<rules>
<query id="q1"><![CDATA[
SELECT STOCK.SYMBOL as symbol, STOCK.EXCHANGE as exchange
FROM ExchangeStream [Now] as datastream, STOCK
WHERE datastream.SYMBOL = datastream.SYMBOL ]]></query>
</rules>
</processor>
<jms-adapter>
<name>JMS_IN_Adapter</name>
<jndi-provider-url>t3://CHDSEZ135400D:7001</jndi-provider-url>
<destination-jndi-name>jms.TestKanikaQueue</destination-jndi-name>
<user>weblogic</user>
<password>welcome1</password>
</jms-adapter>
</wlevs:config>
Following is the assembly file:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:osgi="http://www.springframework.org/schema/osgi"
xmlns:wlevs="http://www.bea.com/ns/wlevs/spring" xmlns:jdbc="http://www.oracle.com/ns/ocep/jdbc"
xmlns:spatial="http://www.oracle.com/ns/ocep/spatial"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd
http://www.bea.com/ns/wlevs/spring
http://www.bea.com/ns/wlevs/spring/spring-wlevs-v11_1_1_3.xsd
http://www.oracle.com/ns/ocep/jdbc
http://www.oracle.com/ns/ocep/jdbc/ocep-jdbc.xsd
http://www.oracle.com/ns/ocep/spatial
http://www.oracle.com/ns/ocep/spatial/ocep-spatial.xsd">
<wlevs:event-type-repository>
<wlevs:event-type type-name="StockEvent">
<wlevs:properties>
<wlevs:property name="SYMBOL" type="byte[]" length="16" />
<wlevs:property name="EXCHANGE" type="byte[]" length="16" />
</wlevs:properties>
</wlevs:event-type>
<wlevs:event-type type-name="ExchangeEvent">
<wlevs:class>com.bea.wlevs.event.example.JDBC_CEP.ExchangeEvent</wlevs:class>
</wlevs:event-type>
<wlevs:event-type type-name="StockExchangeEvent">
<wlevs:properties>
<wlevs:property name="symbol" type="byte[]" length="16" />
<wlevs:property name="price" type="byte[]" length="16" />
<wlevs:property name="exchange" type="byte[]" length="16" />
</wlevs:properties>
</wlevs:event-type>
</wlevs:event-type-repository>
<bean id="readConverter" class="com.bea.wlevs.adapter.example.JDBC_CEP.Adapter_JDBC" />
<bean id="outputJDBCBean" class="com.bea.wlevs.bean.example.JDBC_CEP.OutputBean_JDBC">
</bean>
<wlevs:adapter id="JMS_IN_Adapter" provider="jms-inbound">
<wlevs:listener ref="ExchangeStream" />
<wlevs:instance-property name="converterBean"
ref="readConverter" />
</wlevs:adapter>
<wlevs:processor id="JDBC_Processor" advertise="true">
<wlevs:listener ref="OutputChannel" />
<wlevs:table-source ref="STOCK" />
</wlevs:processor>
<wlevs:channel id="ExchangeStream" event-type="ExchangeEvent" advertise="true">
<wlevs:listener ref="JDBC_Processor" />
</wlevs:channel>
<wlevs:channel id="OutputChannel" event-type="StockExchangeEvent"
advertise="true">
<wlevs:listener ref="outputJDBCBean" />
</wlevs:channel>
<wlevs:table id="STOCK" event-type="StockEvent"
data-source="StockDs" table-name="STOCK" />
<wlevs:table id="STOCK_EXCHANGE" event-type="StockExchangeEvent"
data-source="StockDs" table-name="STOCK_EXCHANGE" />
</beans>
ExchangeEvent.java:
package com.bea.wlevs.event.example.JDBC_CEP;
public class ExchangeEvent {
public String SYMBOL;
public String symbol;
public String exchange;
public ExchangeEvent() {
public String getSYMBOL() {
return SYMBOL;
public void setSYMBOL(String sYMBOL) {
SYMBOL = sYMBOL;
public String getSymbol() {
return symbol;
public void setSymbol(String symbol) {
this.symbol = symbol;
public String getExchange() {
return exchange;
public void setExchange(String price) {
this.exchange = price;
Adapter Class:
package com.bea.wlevs.adapter.example.JDBC_CEP;
import com.bea.wlevs.adapter.example.JDBC_CEP.MyLogger;
import com.bea.wlevs.adapters.jms.api.InboundMessageConverter;
import java.text.DateFormat;
import java.util.Date;
import com.bea.wlevs.adapters.jms.api.MessageConverterException;
import com.bea.wlevs.event.example.JDBC_CEP.ExchangeEvent;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.TextMessage;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
public class Adapter_JDBC implements InboundMessageConverter{
@SuppressWarnings("unchecked")
public List convert(Message message) throws MessageConverterException, JMSException {
Random rand = new Random();
int unique_id = rand.nextInt();
DateFormat dateFormat;
dateFormat = DateFormat.getTimeInstance();
dateFormat.format(new Date());
MyLogger.info(unique_id + " CEP Start Time is: " + dateFormat.format(new Date()));
System.out.println("Message from the Queue is :"+ message);
TextMessage textMessage = (TextMessage) message;
String stringMessage = textMessage.getText().toString();
System.out.println("Message after getting converted into String is :"+ stringMessage);
String[] results = stringMessage.split(",\\s*"); // split on commas
ExchangeEvent event1 = new ExchangeEvent();
event1.setSYMBOL(results[0]);
List events = new ArrayList(2);
events.add(event1);
return events;
Output Bean Class :
package com.bea.wlevs.bean.example.JDBC_CEP;
import com.bea.wlevs.ede.api.StreamSink;
import com.bea.wlevs.event.example.JDBC_CEP.ExchangeEvent;
import com.bea.core.datasource.DataSourceService;
public class OutputBean_JDBC implements StreamSink{
public void onInsertEvent(Object event) {
if (event instanceof ExchangeEvent) {
ExchangeEvent cacheEvent = (ExchangeEvent) event;
System.out.println("Symbol is: " + cacheEvent.getSymbol());
System.out.println("Exchange is: " + cacheEvent.getExchange());
System.out.println(DataSourceService.class.getClass());
Kindly let me know if you need further info.Do you have StockDs configured in your server config.xml?
I think the query should look more like this:
SELECT stocks.SYMBOL, stocks.EXCHANGE
FROM STOCK as stocks, ExchangeStream [Now] as datastream WHERE stocks.SYMBOL = datastream.SYMBOL
Thanks
andy
Maybe you are looking for
-
I'm trying to retrieve an image from Firefox's cache but so far have had no luck in doing so. The picture was hosted on imageshack and I had it open in a window but when I refreshed the page several hours later it was gone. I refreshed the page sever
-
BAPI to Change MM Vendor Quotation (Simulate ME47)
Hi everybody. I'm abap consultant and I'm trying to find a BAPI to change a Vendor Quotation. I've found two so far, but they are especific to Customer or Purchase Order (BAPI_CUSTOMERQUOTATION_CHANGE and bapi_po_change). I've seen that currently the
-
Unable to connect to report server Error: Message : ErrorCode : 10061
I have configured a report server oracle 10.1.0.2 app server on solaris 10. when the user tries to connect through the front end application web he gets the below error: Type : System.Net.WebException, System, Version=2.0.0.0, Culture=neutral, Public
-
Flah Lite Device Centre: content types
Welcome everyone, my question is what is a difference between 'browser' content type and 'standalone player'. I found out that most Nokia phone types support standalone player but do not support browser content type. It is quite different in Sony-Eri
-
Scope of rights - Authorizations/Security in BO
Hi, According to the Administrator's Guide you should be able to set the scope of rights. (e.g. Give a user/group access to the root folder but not to it's subfolders (because of inheritance)). ""Scope of rights" refers to the ability to control the