Please help me urgently, Ajax Jsp issue (Escape Character issue)
Hi all,
in my application
i am making an ajax call with a paramter
like
http://www.abc.com/Login.jsp?query=%25
and iam encoding that parameter with encodecomponent() function of javascript
but
in my servlet iam getting the parameter as
query=%
how to solve this
if i am not clear
i will try to explain clearly again
so it is failing to decode it again
how to solve this issue
iam using firebug debugger
in that it is showing th url as specified above
but in params tab it sho
Can you use URLDecoder.decode(String) on the parameter
[http://java.sun.com/j2se/1.4.2/docs/api/java/net/URLDecoder.html]
Similar Messages
-
I am facing issue in Receiving incoming calls, Name not getting displayed though the same has been saved in my phone book!! I have done sync from Windows contacts.. please help if some1 knows how to rectify the issue...
Has your carrier been having issues with Call Display? Do the telephone numbers come up when people call, or does it just show 'Unknown Number' or 'Blocked' ?
-
Javafx deployment in html page(please help me urgent)
i used the following method to deploy javafx in an html page.
javafx file is:
package hello;
import javafx.scene.*;
import javafx.stage.Stage;
import javafx.scene.text.Text;
import javafx.scene.text.Font;
import javafx.scene.paint.Color;
import javafx.scene.effect.DropShadow;
Stage {
title: "My Applet"
width: 250
height: 80
scene: Scene {
content: Text {
x: 10 y: 30
font: Font {
size: 24 }
fill: Color.BLUE
effect: DropShadow{ offsetX: 3 offsetY: 3}
content: "VAARTA"
I save the file as HelloApplet in a 'hello' named folder in my D:
after that i downloaded from internet html code as
<html>
<head>
<title>Wiki</title>
</head>
<body>
<h1>Wiki</h1>
<script src="dtfx.js"></script>
<script>
javafx(
archive: "HelloApplet.jar",
draggable: true,
width: 150,
height: 100,
code: "hello.HelloApplet",
name: "Wiki"
</script>
</body>
</html>now i typed in DOS prompt as javafxc.exe HelloApplet.fx & i got the class files .
_The main problem which is coming is how to create HelloApplet.jar file which is used in the html page without which the html page is not displaying the javafx script. Please help me urgently i am in the middle of my project & stuck up due to JAVAFX i am using WIndowsXP & javafx-sdk1.0 when i am typing jar command inside hello package it is displaying invalid command.in DOS prompt. If there is any other method to deploy javafx in html page then specify it also.Crossposted: [http://forums.sun.com/thread.jspa?threadID=5323288].
Please don't crosspost without notifying others. It is rude in terms of netiquette. Stick to one topic. -
I made upgrade for IOS to 7.04 but my iphone is second hand and when iphone need to make activation ,i don't have the apple ID so my iphone didn't work from this time so please help me urgent.
There isn't one.
amrzaky wrote:
I can't contact with previous owner s i need another solutoin
The Apple ID and Password that was Originally used to Activate the iDevice is required.
If you cannot get this information from the seller
Removing a device from a previous owner’s account
You need to return the Device for a refund, as you will not be able to re-activate it. -
Problem with Accessing Deployed Servlets Please help, very urgent.
Inspite of going through lots of Docs. I am not able to access the JSP which is deployed using JDeveloper 3.2 in the browser? What should be the URL and where should I place the JSP and the related files in the Apache Server (Specific directory)?
Please help, this is very Urgent.
Could I get some sites where I can get detailed description of how to deploy and access Servlets and JSPS using JDeveloper 3.2 for OAS 9i?
Thanks in advance,
Regards,
Kavita.
nullHi Kativa,
In answer to your first question: In most apache installs, you want to place all your JSPs under the Apache/htdocs directory. This htdocs directory becomes the root directory of your HTTP request, so, for example, to access the file
Apache/htdocs/mydir/myJSP.jsp
you'd point your browser to
server:port/mydir/myJSP.jsp]http://server:port/mydir/myJSP.jsp
As to your second question: Do you mean Oracle 9iAS? If so, look at this HOWTO: http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html
JDeveloper 3.2 does not support deployment to OAS (the predecessor to iAS), but there was no OAS 9i.
null -
Problem in VO execution----Please help me urgent
Hi,
I have One region(ASNOpptyReviewRN).this region is a tab in the main page(OpptyPG).For the region i am using one VO(OppReviewVO).
When i came to this page i am writing the code in the process request to execute the VO based on the condition..so i can get the data on the page.
First time VO is getting executed and data is coming in the page.if there is no data then i have the requirement to insert or update the fields in the region.
So everything is working fine first time..or if i not insert anything new row...it is working fine all the time.
But the problem is...after insert a new row and if i come to home page(not OpptyPG) and if i go to the ASNOpptyReviewRN the vo is getting executed but it is not showing the data on the page..
This is happenig only when i insert a new row and i come back to that page..
Please Help me..its urgent.. i am pasting the Processrequest and Amimpl code here...
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am=pageContext.getApplicationModule(webBean);
String BidNumber=(String)pageContext.getTransactionTransientValue("ASNOpptyDetNbr");
String reviewdBy=pageContext.getParameter("ReviewedBy");
String reviewdDate=pageContext.getParameter("ReviewedDate");
String versionNum=pageContext.getParameter("VersionNumber");
String effortWithoutCont=pageContext.getParameter("EffortWithoutContingency");
String contEffort=pageContext.getParameter("ContingencyEffort");
String reviewFlag=pageContext.getParameter("ReviewFlag");
String expiryDate=pageContext.getParameter("ExpiryDate");
String comments=pageContext.getParameter("Comments");
Serializable[] parameters={BidNumber,reviewdBy,reviewdDate,versionNum,effortWithoutCont,contEffort,reviewFlag,expiryDate,comments};
pageContext.writeDiagnostics(this, "Inside ifff Bharat", 1);
am.invokeMethod("insertBidReviewRow",parameters);
and the method in the am is
public void insertBidReviewRow(String BidNumber,String reviewdBy,String reviewdDate,String versionNum,String effortWithoutCont,String contEffort,String reviewFlag,String expiryDate,String comments) throws SQLException,
ParseException
String msg1="Hi i am inside bidreview"+BidNumber+reviewdBy+reviewdDate+versionNum+effortWithoutCont+contEffort+reviewFlag+expiryDate+comments;
logMessages(msg1);
Number bidnum=new Number(BidNumber);
OpportunityBidReviewVOImpl vo;
vo = getOpportunityBidReviewVO1();
vo.setWhereClause(null);
vo.setWhereClauseParams(null);
vo.setWhereClause("BID_ID=:1");
vo.setWhereClauseParam(0,bidnum);
vo.executeQuery();
int rowCount=vo.getRowCount();
String msg8="Hi no of row count:-.."+":-- "+rowCount;
logMessages(msg8);
if(rowCount==0)
String msg2="Hi iam inside bidreview:- Before fetch...";
logMessages(msg2);
vo.setMaxFetchSize(0);
Row row=vo.createRow();
String msg3="Hi iam inside bidreview:- After create....";
logMessages(msg3);
vo.insertRow(row);
String msg4="Hi iam inside bidreview:- insert row....";
logMessages(msg4);
row.setNewRowState(Row.STATUS_INITIALIZED);
vo.setCurrentRow(row);
String msg5="Hi iam inside bidreview:- insert row....";
logMessages(msg5);
OpportunityBidReviewVORowImpl opptybidreviewVo = (OpportunityBidReviewVORowImpl)vo.getCurrentRow();
opptybidreviewVo.setBidId(bidnum);
opptybidreviewVo.setReviewedBy(reviewdBy);
//opptybidreviewVo.setReviewedDate(reviewdate);
opptybidreviewVo.setVersionNumber(versionNum);
opptybidreviewVo.setEffortWithoutContingency(effortWithoutCont);
opptybidreviewVo.setContingencyEffort(contEffort);
opptybidreviewVo.setReviewFlag(reviewFlag);
//opptybidreviewVo.setExpiryDate(expirydate);
opptybidreviewVo.setComments(comments);
String msg6="Hi iam inside bidreview:- after all....";
logMessages(msg6);
String msg7="vo is cleared";
logMessages(msg7);
else
String msg7="Hi iam inside bidreview:- already existing.....";
logMessages(msg7);
Thanks in advance
Edited by: 842238 on Jul 1, 2011 7:07 AMHi Kristoper,
No..that Vo is based on some EO..why i am using the row.setAttribute() is...the bid number is coming from some other page...and i need to insert it in table..
and except the bid number..other values are coming from the page...
Thank you -
Using flat file to upload in ABAP. Please help. Urgent
Hi all,
I am using a CSV excel file to upload some data to my ABAP program. Thje file contains material numbers as one of the fields. But if I enter the material number 11910892E80, excel converts it to 1.19E+87. Since I am using this file in the program to extract some fields from MARA, i am getting an error 'Material number does not exist'.
I know that we can avoid this problem by changing the format type of the cell to 'text' in excel. I want to know if there is any other way to rectify this problem. I have to use an excel file for upload. Notepad will not do.
Please help me solve this problem. It is urgent.
Thanks and regards,
SwaminathHi
If it is comma delimited file (CSV format) you can directly read the whole file and into a table with one field.
Loop at that table.
Use split a comma into fields of your internal table.
endloop.
Sample code
move pcfile to v_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = v_file
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
TABLES
DATA_TAB = in_rec
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17.
if sy-subrc ne 0.
write:/5 'Error with PC file'.
endif.
loop at in_rec.
if in_rec(4) ca number.
split in_rec at p_del into
itab-tcode itab-tcodet
itab-saknr
itab-waers1 itab-waers2
itab-amt1 itab-amt2
itab-gl itab-kostl
itab-prctr itab-obukrs
itab-otcode itab-otcodet.
if itab-amt1 = '0.00' or itab-amt1 = space. "skip this line
continue.
endif.
move-corresponding itab to fitab.
append fitab.
clear: itab, fitab.
append itab.
endif.
endloop. -
Hello All,
Please refer to the below code:
package com.sap.NewOrderAssignment;
import java.io.Serializable;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
import java.util.GregorianCalendar;
import com.sapportals.htmlb.*;
import com.sapportals.htmlb.enum.TableColumnType;
import com.sapportals.htmlb.table.DefaultTableViewModel;
import com.sapportals.htmlb.table.TableColumn;
public class BeanOrderDetails implements Serializable
{ public Date toDay, orderDate;
public String toDayAsString;
public IListModel deliveryAddress;
public TextEdit address;
public DefaultTableViewModel orderLines;
public Locale locale;
public String poNumber, model, qty;
public Object colTitle[] = {"Model","Description","Qty (pcs)","AD Price","Net Price","Total amount","Indication ETA","12 NC","Part Del","GIM","# A-box","Pcd/A-box"};
public BeanOrderDetails()
{ Calendar cal = new GregorianCalendar();
toDay = cal.getTime();
String year = String.valueOf(cal.get(Calendar.YEAR));
String month = String.valueOf(cal.get(Calendar.MONTH)+1);
String day = String.valueOf(cal.get(Calendar.DAY_OF_MONTH));
toDayAsString = year"-"month"-"day;
deliveryAddress = new DefaultListModel();
deliveryAddress.setSingleSelection(true);
deliveryAddress.addItem("1", "Delivery Address1");
deliveryAddress.addItem("2", "Delivery Address2");
deliveryAddress.addItem("3", "Delivery Address3");
//company address
address = new TextEdit("Company Address");
address.setRows(4);
address.setCols(40);
String line1 = "KPIT Cummins Infosystems Ltd.";
String line2 = "MIDC, Hinjewadi";
String line3 = "Pune, India";
address.setText(line1line2line3);
address.setEnabled(true);
//Table creation
Object data[][] = {{"HQ8894","Sensotec Dry Rota Shaver","500","1,512.00","1,498.00","749.00","08-08-2005","885889401710","N","Y","","50"}};
orderLines = new DefaultTableViewModel(data, colTitle);
TableColumn columnModel = orderLines.getColumnAt(1);
TableColumn columnDesciption = orderLines.getColumnAt(2);
TableColumn columnQty = orderLines.getColumnAt(3);
TableColumn columnADPrice = orderLines.getColumnAt(4);
TableColumn columnNetPrice = orderLines.getColumnAt(5);
TableColumn columnTotalAmunt = orderLines.getColumnAt(6);
TableColumn columnETA = orderLines.getColumnAt(7);
TableColumn column12NC = orderLines.getColumnAt(8);
TableColumn columnPartDel = orderLines.getColumnAt(9);
TableColumn columnGIM = orderLines.getColumnAt(10);
TableColumn columnABox = orderLines.getColumnAt(11);
TableColumn columnAmountInBox = orderLines.getColumnAt(11);
TableColumn columnPcsBox = orderLines.getColumnAt(12);
columnModel.setType(TableColumnType.INPUT);
columnModel.setWidth("150");
columnQty.setType(TableColumnType.INPUT);
columnDesciption.setWidth("300");
public void setLocale(Locale l)
{ locale = l;
public Locale getLocale()
{ return locale;
public void setOrderDate(Date od)
{ orderDate = od;
public Date getOrderDate()
{ return orderDate;
public void setOrderLines(DefaultTableViewModel mm)
{ orderLines = mm;
public DefaultTableViewModel getOrderLines()
{ return orderLines;
public void setAddress(String adr)
{ address.setText(adr);
public void setTextEditAddress(TextEdit adr)
{ address = adr;
public TextEdit getTextEditAddress()
{ return address;
public String getAddress()
{ return address.getText();
public void setDeliveryAdresses(IListModel model)
{ deliveryAddress = model;
public IListModel getdeliveryAddresses()
{ return deliveryAddress;
public void setPoNumber(String pon)
{ this.poNumber = pon;
public String getPoNumber()
{ return this.poNumber;
public void setModel(String m)
{ this.model = m;
public void setQty(String quantity)
{ this.qty = quantity;
public void getNewRow()
{ Object data[][] = { {"","Sensotec Dry Rota Shaver ABC","","1,512.00","1,498.00","749.00","08-08-2005","885889401710","N","Y","","50"}};
this.setQty("");
this.setModel("");
TableColumn columnModel = orderLines.getColumnAt(1);
TableColumn columnDesciption = orderLines.getColumnAt(2);
TableColumn columnQty = orderLines.getColumnAt(3);
TableColumn columnADPrice = orderLines.getColumnAt(4);
TableColumn columnNetPrice = orderLines.getColumnAt(5);
TableColumn columnTotalAmunt = orderLines.getColumnAt(6);
TableColumn columnETA = orderLines.getColumnAt(7);
TableColumn column12NC = orderLines.getColumnAt(8);
TableColumn columnPartDel = orderLines.getColumnAt(9);
TableColumn columnGIM = orderLines.getColumnAt(10);
TableColumn columnABox = orderLines.getColumnAt(11);
TableColumn columnAmountInBox = orderLines.getColumnAt(11);
TableColumn columnPcsBox = orderLines.getColumnAt(12);
columnModel.setType(TableColumnType.INPUT);
columnModel.setWidth("150");
columnQty.setType(TableColumnType.INPUT);
columnDesciption.setWidth("300");
The above code creates a table. It actually maps the various fields as the TableColumn.
Question:
I have added a button which appears below this table.
Name of button = AddNewLine
Now, when this button is clicked, a new empy row should appear in the table.
My stmts in method - getNewRow() are not working.
Please help me do so.
Please help...its kinda urgent.
Thanks and Warm Regards,
Ritu R HunjanHi Ritu,
First up all I don't see any code where exactly you have added a button in the table.
Secondly as a general thing,looking on to ur scenario you have initialize the table on the event of clicking the button ie)in ur getNewRow() just initialize your code for building an empty row of the table.
Regards,
guru -
Please Help its Urgent ***POPUP at the time of MIGO Posting*****
Hi all,
Please help me on this issue,
I want to display one popup at the time of migo posting and that popup ask to user that " How much labels you wants to print?" and in next of that i want one text box or input field in that user inputs the number of labels he wants to print.
I have tried using various POPUP functions but i have not got any FM which fulfill my requirement so please help me on this issue?
Kind Regards
Sudarshan GaikwadThe standart POPUP* function modules seem to either give an option to output descriptive text, or ask for a dictionary based field as an input. As you want both in one popup you may need to write your own custom pop-up.
Create a function group with a Z function module and add a dialog screen with the required text and input field to this function group.
Take a look at function POPUP_GET_VALUES as an example - A custom written one could be a lot simpler.
Then call this function from your user exit.
Andrew -
Please help me- Urgent! JMF Player doesn't play correctly framerate
Hi all!
I've been installed JMF 2.1 on Ubuntu 9.04 and it's a Virtual Machine . It's seem successfull. I only have error "Can't open video card 0...." but i think it's not important
I used jmstudio to open some file, and i've opened them, but they're played incorrectly.They're played very fast, both audio and video. Example : a file has 1min33s length played in approximate 20s.
i tried some ways but it doesn't change
i use JMStudio to open them.
Please help me. I need to solve it now because my project is out of date.
Edited by: hieunh87 on Jan 7, 2010 11:02 AM
Edited by: hieunh87 on Jan 7, 2010 11:06 AMhieunh87 wrote:
I've tried but it's doesn't change
it's rate is 1.0 and although setRate((float)0.1);Then it sounds like an issue with using JMF in a virtual machine. Don't know that there's anything you can do... -
TNS Listener Error. Please Help. Urgent
Hello All,
I restarted the Oracle Server. After restarting the TNS SERVICE is not starting at all. It shows the status as started and then thros the error "TNSLSNR.EXE encountered a problem and needs to close."
The error stack is something like
szAppname :TNSLSNR.EXE
szAppver : 0.0.0.0
szModename: unknown
szModVer: 0.0.0.0
offset :0003002
Please help me to overcome this error. Even when i try to configure a new listener using the Net Configuration Assistant nothing happend. Means nothing shows up in the services.
Please tell me what could be the possible reason and what should be done to overcome the issues.
Regards,
SIDThe documentation
http://tahiti.oracle.com/
Select your database version, note I guessed here because you don't provide that information.
http://www.oracle.com/pls/db102/db102.homepage
Enter listener.log into the Quick Search
http://www.oracle.com/pls/db102/search?remark=quick_search&word=listener.log
Analyzing Listener Log Files
http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/troublestng.htm#sthref1676
Resolving the Most Common Error Messages for Oracle Net Services
http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/troublestng.htm#i440403 -
Please help me resolve this JSP compilation error
Hi,
We have deployed our web app in Sun one web server 7.0 running on Sun os, and with JRE 5.0.
Until recently, every thing was running fine, but since a few days, I am unable to get a JSP file compiled.
This file, has a <%@include file= .. > to another file, and both these used to work fine earlier.
This is the error message I am getting:
<!-- org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:604)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:464)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:358)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:792)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:472)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:353)
at com.bt.bmsnet.shared.BMSServletBase.forward(BMSServletBase.java:126)
at com.bt.gma.web.AccountServlet.actionUpdateAccount(AccountServlet.java:2704)
at com.bt.gma.web.AccountServlet.doGet(AccountServlet.java:5049)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:796)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
Caused by: java.io.IOException: tmpFile.renameTo(classFile) failed
at org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:208)
at org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:131)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:336)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:595)
... 23 more
-->
The line "Caused by: java.io.IOException: tmpFile.renameTo(classFile) failed" suggests that the JSP file isn't getting compiled into the corresponding servlet.
Can some one please help?Yes I have done that. Simple JSP pages are compiling well. But I have about 5 jsps which call some partial jsp using
<%@ include file="somefile.jsp" %>
And all these files are showing this error.
I have a feeling that this is probably due to some kind of restriction on file sizes of compiled jsps in the server. Is there any such restriction? -
Sql Query . Please help its urgent.
Suppose in table EMP there are 2 columns (Roll_no and Name)
Roll NO Name
00001 A
00002 B
00010 X
My requirement is to trunc preceding Zero's. For ex : for Roll no: 00001 the output should be 1 and for 00002 --> 2 .
Please help its very urgent.try this
select
to_number(roll_no) roll_no,
name
from
emp;
Regards
Singh -
Please Help! NullPointerException on JSP Report
I've been trying to run a JSP Report on Oracle 9iAS, but when I call it on browser the error below appears.
Please, Help me!
Reports Error Page
Mon Jul 01 14:04:24 GMT 2002
java.lang.NullPointerException:
java.lang.NullPointerException:
at oracle.reports.rwclient.RWClient.getTrace(RWClient.java:969)
at oracle.reports.jsp.JspTagUtil.getRWClient(JspTagUtil.java:59)
at oracle.reports.jsp.RwTag.setPageContext(RwTag.java:54)
at oracle.reports.jsp.ReportTag.setPageContext(ReportTag.java:85)
at bench.AssemblyHistory._jspService(_AssemblyHistory.java:55)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
at oracle.jsp.JspServlet.internalService(JspServlet.java, Compiled Code)
at oracle.jsp.JspServlet.service(JspServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:435)
at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)hi artur,
please check if the reports server works correctly
on your iAS installation.
to check this run the test.jsp report from the
reports server test page.
you can find the test page by accessing the default
home page of your webserver
http://hostname.domain:port/
click on the demonstrations tab - business intelligence and forms - reports services
click on the 'Test a JSP Report...' link.
regards,
christian -
Please help me urgently (Problem in using delete statement)
Hello,
I want to run delete query where table name should come from a variable .I have written the following procedure but its not working .Could you please help me
DECLARE
processtemplatename VARCHAR2(64);
CURSOR T1Cursor IS
select Process_template_name from ProcessTemplate
where PROCESS_template_ID in
( select PROCESS_template_ID from PROCESSINSTANCE
where process_instance_id in
(select process_instance_id from processinstance where STATUS = 'PI_COMPLETED' OR STATUS = 'PI_REMOVED' ));
BEGIN
OPEN T1Cursor;
LOOP
FETCH T1Cursor INTO processtemplatename;
EXIT WHEN T1Cursor%NOTFOUND;
DELETE FROM processtemplatename WHERE process_instance_id in
( select process_instance_id from PROCESSINSTANCE where STATUS = 'PI_COMPLETED' OR STATUS = 'PI_REMOVED' );
END LOOP;
CLOSE T1Cursor;
END;
I am getting the error
ERROR at line 19:
ORA-06550: line 19, column 27:
PL/SQL: ORA-00942: table or view does not exist
ORA-06550: line 19, column 15:
PL/SQL: SQL Statement ignored
even when i used
DECLARE
processtemplatename VARCHAR2(64);
BEGIN
processtemplatename := 'example1';
DELETE FROM processtemplatename WHERE process_instance_id in
( select process_instance_id from PROCESSINSTANCE where STATUS = 'PI_COMPLETED' OR STATUS = 'PI_REMOVED' );
END;
I am still getting the same error message
Thanks,
Salam.And BTW you do not need that clumsy CURSOR c.. OPEN c.. FETCH c INTO... CLOSE c etc. It is "reserved" for more complex cases when you cannot use:
<pre>
FOR P IN
select Process_template_name
from ProcessTemplate
where PROCESS_template_ID in
(select PROCESS_template_ID
from PROCESSINSTANCE
where process_instance_id in
(select process_instance_id
from processinstance
where STATUS = 'PI_COMPLETED'
OR STATUS = 'PI_REMOVED'
LOOP
EXECUTE IMMEDIATE
'DELETE FROM ' || P.Process_template_name ||
' WHERE process_instance_id in
(select process_instance_id
from PROCESSINSTANCE
where STATUS = ''PI_COMPLETED'' OR STATUS = ''PI_REMOVED''
END LOOP;
</pre>
Maybe you are looking for
-
Custom Document Definition - XPath Tab
Hello B2B Gurus I am trying to understand the value of the XPath Tab for Custom Document Defn. 1.What functionality does it provide? Documentation refers to extracting value form the Payload. 2. I have a requiremnt to extract PO number from the paylo
-
[jsp]can i use a simple editor in stead of an input zone?
hello friends, am developping a web site with the framework struts and jsp and in one part that deals with news i use an input zone(in my .jsp) to put my news in the right table like this :<input type="text" >. I would like to ask you if it's possibl
-
HT3924 Can I set up more than one monitor/displays to my Macbook Pro?
Can I set up more than one monitor/displays to my Macbook Pro?
-
I uninstalled Mozilla so I could use Internet explorer for a work project. I was unable to access the internet w/IE so I tried to reinstall Mozilla. When I click on the icon I get "couldn't load XPCOM. Some of the other suggestions were to copy the d
-
tengo un problema al instalar iPhoto, descargando solo llega hasta 9mb y regresa a 0. Despues sale un error en la descarga, quiero saber que puedo hacer.