Using variables in Page processing
I want to use variables (items) in
Page processing - process - reset pagination for page(s) (PageID,PageID,PageID)
and
Page processing - Branches - Branch to page / URL - URL
Is this possible, and if so How
Fred.
scott,
On the places I mentioned I have tried to use references like &ITEM. and #ITEM# but they don't work.
Where can I find documentation about where I can use which references.
Fred.
Similar Messages
-
Using variables in transform process
Using file adapter to read multiple rows into the database. Its a basic transformation with a one to one match, e.g. what's on the left exist on the right.
The issue is that I want to uniquely identify each file process with an ID. Therefore what I have done is set up a sequence which will be used as a batch ID. I assign this to a variable before I transform the file definition to the database definition.
What I would like to do is assign this variable to a field in my database as a kind of dynamic constant. I don't seem to be able to use the getVariableData in the options. I want this ID to be loaded on every line without incrementing.
Does anyone know if it is possible to use variables within the transformation.
cheers
JamesUsing file adapter to read multiple rows into the database. Its a basic transformation with a one to one match, e.g. what's on the left exist on the right.
The issue is that I want to uniquely identify each file process with an ID. Therefore what I have done is set up a sequence which will be used as a batch ID. I assign this to a variable before I transform the file definition to the database definition.
What I would like to do is assign this variable to a field in my database as a kind of dynamic constant. I don't seem to be able to use the getVariableData in the options. I want this ID to be loaded on every line without incrementing.
Does anyone know if it is possible to use variables within the transformation.
cheers
James -
Reference to variable in Page Process
I have written a SQL query in Page Processes that works with a hard coded variable. How do I reference this program with a table variable? Can you provide an example.
Thanks,
SteveHi Scott,
I appreciate you looking into this. Below is the source code I am referring to:
DECLARE
v_part CHARACTER(8);
v_vibration NUMBER(4,1);
v_nom_flow NUMBER(5,3);
v_nozzle_sz NUMBER(5,4);
v_spm_limit NUMBER(3,1);
v_test_pr NUMBER(4,1);
BEGIN
SELECT mod_part,mod_vibration,mod_nom_flow,mod_nozzle_sz,mod_spm_limit,mod_test_pr
INTO v_part,v_vibration,v_nom_flow,v_nozzle_sz,v_spm_limit,v_test_pr
FROM cat_model
-- WHERE mod_part = 8756321;
WHERE mod_part = :P8_PART_NO;
UPDATE cat_input
SET in_fan_pwr = v_vibration,
in_cubic_met = v_nom_flow,
in_nozzle_sz = v_nozzle_sz,
in_k_factor = v_spm_limit,
in_disc_pr = v_test_pr
END;
The item P8_PART_NO is defined hidden with the properties from my earlier post. The program works for the hard coded value, remarked in the program. I believe no data is getting to the item.
Thanks Again,
Steve -
Using database links in a plsql page process
I am trying to use a database link in a pl/sql page process.
It works fine when I use the link name in the plsql like this:
BEGIN
SELECT
CARD_ID
into
:P12_HDR_CARD_NUMBER
from [email protected];
But the link name will be coming from a page item (P12_DBLINK) populated as follows:
select db_link d, db_link r from user_db_links;
I have tried the following and it's not working:
DECLARE
l_link VARCHAR2(30);
BEGIN
l_link := :P12_DBLINK;
SELECT
CARD_ID
into
:P12_HDR_CARD_NUMBER
from fusion.EXM_CC_COMPANY_ACCOUNTS@l_link;
this gives me:
ORA-04052: error occurred when looking up remote object FUSION.EXM_CC_COMPANY_ACCOUNTS@L_LINK.WORLD ORA-00604: error occurred at recursive SQL level 3 ORA-02019: connection description for remote database not found
I thought that maybe the link name was getting appended with .WORLD automatically but the link name already has .WORLD at the end. I tried stripping that off first but the error is the same.
Is there some synatx for this that will work for this? Will I need to use dynamic sql?
Any suggestions are most appreciated.
thanks,
johnHi John,
check the following example to use the execute immediate statement for your purpose
sql - Variable for Database Link Name - Stack Overflow
let me know if this answers your query in the current thread -
Invoking page process using AJAX
Hi,
Is it possible to invoke page process using AJAX, just like I can do it with application processes?
Regards,
PrzemekHi,
Could you not have a application process that does an execute immediate on a block of PL/SQL? This way in your app process you could extract the code from your page process.
So your code would like something like:
SELECT region_source
INTO v_plsql_source
FROM apex_application_page_regions
WHERE source_type = 'PL/SQL'
AND application_id = :app_id
AND page_id = :app_page_id
AND static_id = :your_static_id; -- or you could reference from region name etc...
execute immediate (v_plsql_source);
I'm not sure if you'll have any issue with bind variables in v_plsql_source
Martin
[http://apex-smb.blogspot.com/] -
Register users using a procedure and page process
I have the procedure written and the md5 function written along with the page process these all work fine but the password hash does not get entered into the user_repository everything else does but the password hash i wasnt getting a error before but now im getting the follow error
Action Processed.
ORA-28231: no data passed to obfuscation toolkit
The registered Procedure is as follows
create or replace procedure register_user
(p_username in varchar2, p_password in varchar2, p_forename in varchar2, p_surname in varchar2, p_email in varchar2, p_admin in char, p_locked_flag in char) is
v_hash varchar(32);
begin
v_hash := md5hash(upper(p_username) || p_password);
insert into user_repository
(username, forename, surname, email, admin, password_hash, locked_flag)
values
(p_username, p_forename, p_surname, p_email, p_admin , v_hash, p_locked_flag);
end register_user;
md5 function is as follows
create or replace function md5hash
(p_input in varchar2)
return varchar2 is
begin
return upper(dbms_obfuscation_toolkit.md5
(input => utl_i18n.string_to_raw(p_input)));
end md5hash;
page process is dependent on the create button being pressed which is as follows
begin
register_user
(:P2_USERNAME, :P2_PASSWORD, :P_FORENAME, :P2_SURNAME, :P2_EMAIL, :P2_ADMIN, :P2_LOCKED_FLAG);
end;
Any help would be apprechiated.OK it is done i put a direct copy of the app up,
workspace = mattswork
username = [email protected]
password = midemi
The app is up and is exactly the same as the one i have mentioned, the form in question is on the users tab which is page 2 i believe use a login username as matthew with no password that will give you access to the application then you can play around with the rest any help at all will be very very very much apprechiated.
Thanks Guys -
Using variables across multiple pages...
Hello all,
I may have forgotten something very basic in my time away from php and MySQL, so please keep that in mind when reading this question.
I have a page that has 5 links on it. Selecting one of the links would open a new page, which makes an SQL query to summon data specific to the link that was chosen.
Instead of creating 5 succeeding pages, one for each link, I'd like to use one page. Based on the variable generated/created/assigned when a given link on the previous page is selected (for simplicity, clicking the first link would generate a 1...clicking the fifth link would generate a 5) the query will look for specific data in the database, likely this will be accomplished by making 5 seperate includes files with specific commands or array structures to acheive this. Simplicity.
Simplicity except I'm not yet certain as to how this is accomplished.
Here's where someone's going to throw the book at my head...can I generate a variable that can be stored for use on another page?
I never ask easy questions...sorry about that.
Thanks to any and all in advance for your help!
Sincerely,
wordmanhttp://forums.adobe.com/thread/426785
-
How to use a jdbc query result to redirect to a variable html page
uh, my problem is that i'm making a servlet which should redirect to a variable html page based on jdbc query (I'm really sorry if this is not the correct forum to post it, but since it's jdbc i thought it was).
Anyway, the problem is that when a string say, "mystring" is equal to the value in a column, say "column1" of the database then page should redirect to "mystring.html".
Is this possible, if so then how?
and if not then is there any other way to solve my problem?
please, help!!
thanks in advance.uh, since i've already asked man, please gimme an answer if you know, it'll be appreciated.
OK, HERE'RE THE DETAILS:(as you requested them)
i have an html page where there's a textfield say "t1", the value of that text field is sent to the servlet which compares the value of the field with the value in Database, say "db1" in column say "column1".
if there's a value in the column matching the value inputted in the textfield, then i need the servlet to redirect to an html page of the same name as inputted in the textfield. Hope that helps you understand.....
thanks in advance....... -
How can I call a Page Process from the Select statement for Report Page
I'm able to call a javascript using the below:
img src="#IMAGE_PREFIX#add2.gif" border="0" alt="Icon 4" onClick="javascript:add_connect1('||CPORT.ID||')"
But Now,
I'd like to accomplish (2) New things:
1. instead of using,....... onClick="javascript:add_connect1,
I'd like to call a Page Process, onClick=
2. I'd like to be able to call two different processes onClick.
a. onClick="javascript:passBack('||ID||')"
b. onClick= <Please see my question #1 above>
Can someone please help me with the syntax for this,
If indeed it can even be done?
Thanks- GaryGreg.
It seems that my situation is the one you describe in you second paragraph, where you mention:
you could then add the ID column value as a parameter to the javascript functionBut,
I do not know how to reference the variable in my javascript nor how to use it in my on-demand process.
If you can hellp me past this last little bump, then I think I will be able to use these skills in Sooo many different areas of my design.
Here's what I've got so far:
A. In the select statement I identify the javascript as:
onClick="javascript:connect_port('<font color=blue>''||ID||''</font>')";
B. In my javascript I have this:
<script language="JavaScript" type="text/javascript">
function connect_port(ID)
var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=CONNECT_PORT',0);
gReturn = get.get();
get = null;
</script>
C. In my on demand function I have this:
BEGIN
INSERT INTO CCONNECTIONS_B
BLDG_ID,CLST_ID,PORT_ID,STRAND_ID
) VALUES
:P2004_BLDG_ID,:P2004_CLST_ID,:P2004_PORT_ID,:P2004_STRAND_ID1
END;
You can see that I dont know how to use the value for 'ID' in either the javascript or the On-Process function.
If you can help me out with this one, Then I can imitate it for the rest.
-Gary
Edited by: garyNboston on Apr 3, 2009 6:44 AM
Edited by: garyNboston on Apr 3, 2009 6:44 AM
Edited by: garyNboston on Apr 3, 2009 6:45 AM
Edited by: garyNboston on Apr 3, 2009 6:47 AM -
Parameter Passing between pages- process not picking up on changes
Hello, new user, this is a different question than before.
I have a drop-down list box on Page 1, upon which the user can choose a study number. The List Box is named "P1_STUDY_NBR".
Then I have a list, one entry of which goes to my master-detail form, which is Page 6. I would like it to go to the study number that the user choose on Page 1.
In my target on the create/edit list entry, I put in "Page in this Application", "Page 6", then in Set these items, I put in
P6_STUDY_NBR
My question is what to use in With these values, where I want the contents of the P1_STUDY_NBR. I tried:
&P1_STUDY_NBR.
Now I've got it passing to the master detail form, but it passes whatever was the first value! i.e, if I set the default of the drop-down list box to 336-00, then it opens the form with 336-00, and if I set the default on the drop-down list to 005-07, then it opens to 005-07.
However, if I change the value in the drop-down list box to something else, then press the link in the list to go to the page, then it doesn't pass the new value like I want (it passes whatever was the default value).
Is there something that accepts the new value into the variable upon the change in that drop-down list box that I need to add to my processes, or why won't it use the new value as the parameter?
-MaryI'd recommend (re)reading "Understanding Page Processing and Page Rendering" in the Users Guide and then redesigning your page. The problem is that you change the study number list selection in the browser but the change never gets processed because a navigation list link doesn't submit the form, it only navigates away from it.
You could try making the study number list type "Select List with Redirect" which processes the change so that the new selection value gets set to the session state and then returns to the same page. -
Calling stored procedure from page process and PLS-00049 error?
Good morning guys!
I'm dealing with several problems this morning! The one that I need to deal with first is the following.
I created the page process (see below: 1st code) in order to validate if all records where LNG_GEBIET matches have the status 3 or 4. If that is the case I want to call the procedure "set_status_arbeit_zu_gebiet". If amountrs and countstat do not match, then nothing is supposed to be done.
The problem lies within the stored procedure itself. I receive a PLS-00049 bind variable error for :new.LNG_GEBIET.
Can you please tell me what I forgot to declare in code 2 below???
Thank you guys!
The page process:
Declare
amountrs number;
countstat number;
begin
SELECT COUNT(*) INTO amountrs FROM TBL_PUNKTDATEN where LNG_GEBIET = :P4_CNT_GEBIET;
SELECT COUNT(*) INTO countstat FROM TBL_PUNKTDATEN where LNG_GEBIET = :P4_CNT_GEBIET and INT_STATUS = 3 or LNG_GEBIET = :P4_CNT_GEBIET and INT_STATUS = 4;
IF amountrs = countstat THEN
set_status_arbeit_zu_gebiet;
ELSE
dbms_output.put('nothing');
END IF ;
end;Code 2 with the true problem!
CREATE OR REPLACE PROCEDURE set_status_arbeit_zu_gebiet
IS
cursor c2 is select LNG_GEBIET from TBL_ARBEIT_ZU_GEBIET where PNUM = 1114 and LNG_GEBIET=:new.LNG_GEBIET;
v_c2 c2%ROWTYPE;
BEGIN
open c2;
fetch c2 into v_c2;
if c2%notfound then
INSERT INTO TBL_ARBEIT_ZU_GEBIET
LNG_GEBIET,
LNG_ARBEITSSCHRITT,
PNUM,
INT_BEARBEITER,
DATE_DATUM,
GEPL_DATUM
VALUES
(:new.LNG_GEBIET,
52,
1114,
895,
sysdate,
to_date('01.01.1990', 'DD.MM.YYYY')
commit;
close c2;
END set_status_arbeit_zu_gebiet;One more question: Is it possible to integrate the first validation that calls my stored procedure into code 2?
Thanks for you time!
SebastianThe error is in following statement:
INSERT INTO TBL_ARBEIT_ZU_GEBIET ( ... ) VALUES ( :new.LNG_GEBIET, ... );
As the statement is part of a procedure and not trigger so it is not able to bind this variable with any value.
As a resolution, pass this value to the procedure from the process and use it in the insert statement.
The process will have following IF statement:_
IF amountrs = countstat THEN
set_status_arbeit_zu_gebiet *(:P4_CNT_GEBIET)*;
ELSE
dbms_output.put('nothing');
END IF ;
and the procedure will be as follows:_
CREATE OR REPLACE PROCEDURE set_status_arbeit_zu_gebiet *(p_lng_gebit varchar2)*
IS
cursor c2 is select LNG_GEBIET from TBL_ARBEIT_ZU_GEBIET where PNUM = 1114 and LNG_GEBIET= --:new.LNG_GEBIET-- p_lng_gebit ;
v_c2 c2%ROWTYPE;
BEGIN
INSERT INTO TBL_ARBEIT_ZU_GEBIET ( ... )
VALUES
( --:new.LNG_GEBIET-- p_lng_gebit, ... );
END set_status_arbeit_zu_gebiet; -
ORA-01008 error on page process process
Hi All,
I am getting an "ORA-01008: not all variables bound" error when saving a process in a page. Below is a snapshot of the process. All bind variables are being used in other processes within the same page without any problems.
DECLARE
I_EMAIL_SUBJECT VARCHAR2(100);
I_EMAIL_BODY VARCHAR2(4000);
I_EMAIL_RESULT NUMBER;
I_PROCESS_NAME VARCHAR2(100) := 'INPUT - Cancel Form';
I_FORM_NUMBER NUMBER := TO_NUMBER(:P12_IFORPSP_KEY,'999999');
I_FORM_VERSION NUMBER := TO_NUMBER(:P12_FORM_VERSION,'999999');
I_FUNC_RETURN VARCHAR2(400) := NULL;
E_CUSTOM_ERROR EXCEPTION;
I_ERROR_MSG VARCHAR2(4000);
BEGIN
BA_HR_IFO_util_pkg.add_debug_line('-- START --',I_PROCESS_NAME);
-- Change WF Step to 'Canceled'
BA_HR_IFO_util_pkg.add_debug_line('Set WF Step to Canceled ',I_PROCESS_NAME);
-- The function below is triggering the error
I_FUNC_RETURN := BA_HR_IFO_util_pkg.update_wf_step(p_form_no => I_FORM_NUMBER,
p_form_ver => I_FORM_VERSION,
p_created_by => TO_CHAR(:P12_CREATED_BY),
p_step_status => TO_CHAR('Canceled'),
p_next_step_name => TO_CHAR('Canceled Form'),
p_flex_hiring_freeze => TO_CHAR(:F103_FLEX_HIRING_FREEZE));
IF I_FUNC_RETURN <> 'S' THEN
-- Set ERROR msg
BA_HR_IFO_util_pkg.add_debug_line('Error '||I_FUNC_RETURN,I_PROCESS_NAME);
I_ERROR_MSG := 'Error: '||I_FUNC_RETURN;
RAISE E_CUSTOM_ERROR;
END IF;I am using Oracle 11g, APEX 3.2.1
The function is declared on a package in the same schema. All function parameters are included. The error seems to be when calling the function. However, I have use this function and bind variables in other processes.
This is my first post. I hope I included enough information.
Thanks in advance for your help
CarlosYou can try something like :
DECLARE
I_CREATED_BY varchar2(100); -- enter correct size here
I_F103_FLEX_HIRING_FREEZE varchar2(100); -- enter correct size here
BEGIN
I_CREATED_BY := v('P12_CREATED_BY');
I_F103_FLEX_HIRING_FREEZE := v('F103_FLEX_HIRING_FREEZE');
-- The function below is triggering the error
I_FUNC_RETURN := BA_HR_IFO_util_pkg.update_wf_step(p_form_no => I_FORM_NUMBER,
p_form_ver => I_FORM_VERSION,
p_created_by => I_CREATED_BY,
p_step_status => 'Canceled',
p_next_step_name => 'Canceled Form',
p_flex_hiring_freeze => I_F103_FLEX_HIRING_FREEZE);
...Probably it helps.
Lev -
The function javascript:doSubmit not passing variables between pages
Hi,
I have an report that has a link to another page, and I'm trying to pass 2 variables. If I use a target URL as such the variables do not get passed, but if I use a page target and explicitly add the item name and values it works fine. Here is the call I'm using to javascript:doSubmit:
javascript:doSubmit('f?p=&APP_ID.:32:&SESSION.::&DEBUG.:32, CIR:P32_PROJ_ID,P32_DID:#AWARD_NUMBER#,#ID_PROVIDED#');
Does anyone have any insights?
Thanks,
JoeYou can't use doSubmit to pass variables; it will only submit your page with the request you passed in. All normal page processing and branching will be followed.. Why are you using doSubmit? Just put the URL in the URL field.
f?p=&APP_ID.:32:&SESSION.::&DEBUG.:32, CIR:P32_PROJ_ID,P32_DID:#AWARD_NUMBER#,#ID_PROVIDED# -
Set VO bind variable on page loading programmatically
Greetings everyone!
I use JDeveloper version 11.1.2.3.0
I am currently trying to get some filtered data from a VO, based on a WHERE clause with a bind variable. This process should be done on page load. I have to set this bind variable with the id of the logged user (the part of getting this id is already achieved and used somewhere else). My current approach is defining a managed bean with pageFlow scope. Inside this i have a method in which i retrieve the id and i set it as the parameter value. The code snippet:
BindingContainer bindings = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("getUserIdFromUsername"); //getUserIdFromUsername is a method defined in the AppModule and exposed in the client interface
operationBinding.getParamsMap().put("username", getUserName());
Object userID = operationBinding.execute();
setUserId(Integer.parseInt(userID.toString()));
System.out.println("THE USER ID IS: "+getUserId());
BindingContainer bindings2 = getBindings();
OperationBinding operationBinding2 = bindings.getOperationBinding("ExecuteWithParams"); // i've dragged and dropped the ExecuteWithParams operation into the page
operationBinding2.getParamsMap().put("userId", getUserId()); // userId is the bind variable which i'm talking about
Object result = operationBinding2.execute();
Then, i call this method on BeforePhase in the page view. It works, i get the filtered data and the println shows me the correct ID. The problem is that each time i select a row in the table showing the data, the page seems to reload and it always get the selection back at the very first row.
What am i doing wrong? May be this is not the right approach, as i've seen some other posts about this topic but they are not very clear to me.
Please adviceApproach1:
Drag and Drop an Application method as Default Method Call Activity, then draw a control flow case from the method to your page.
In the application module method, implement appropriate logic.
Approach2:
Using a combination of client listener and server listener will also help.
<af:clientListener method="onLoadAction" type="load"/>
<af:serverListener type="MyCustomServerEvent"
method="#{backingBeanScope.editBean.onLoadListener}"/>
function onLoadAction(event){
/*alert(':::: onSave ::');*/
AdfCustomEvent.queue(actionEvent.getSource(),
"MyCustomServerEvent",
true);
actionEvent.cancel() ;
actionEvent.stopPropagation(); -
[b]Error during JSP page processing[/b]
hi , i'm mech.
i have some probs with jsp. i am trying to connect jsp page with database and printing the data on the browser page. i have created DSN mm using microsoft odbc for oracle and oracle9i's driver oracle in orahome90 but it is giving yet . i have this coding and error.
------------------------jsp code--------------------------
package pagecompile.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.io.PrintWriter;
import java.io.IOException;
import java.io.FileInputStream;
import java.io.ObjectInputStream;
import java.util.Vector;
import com.sun.server.http.pagecompile.jsp.runtime.*;
import java.beans.*;
import com.sun.server.http.pagecompile.jsp.JspException;
import java.sql.*;
public class _Connect extends HttpJspBase {
static char[][] jspxhtml_data = null;
public _Connect( ) {
private static boolean jspxinited = false;
public final void jspxinit() throws JspException {
ObjectInputStream oin = null;
int numStrings = 0;
try {
FileInputStream fin = new FileInputStream("E:\\JavaWebServer2.0\\tmpdir\\default\\pagecompile\\jsp\\pagecompile.jspConnect.dat");
oin = new ObjectInputStream(fin);
jspxhtml_data = (char[][]) oin.readObject();
} catch (Exception ex) {
throw new JspException("Unable to open data file");
} finally {
if (oin != null)
try { oin.close(); } catch (IOException ignore) { }
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
boolean jspxcleared_due_to_forward = false;
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
String _value = null;
try {
if (_jspx_inited == false) {
jspxinit();
jspxinited = true;
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
out.print(_jspx_html_data[0]);
out.print(_jspx_html_data[1]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(14,2);to=(28,2)]
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection myconn=DriverManager.getConnection("Jdbc:Odbc:mm","madhulika","madhulika");
Statement stmt = myconn.createStatement();
ResultSet myResultSet = stmt.executeQuery("Select * from peopletable");
if(myResultSet != null)
while(myResultSet.next())
int eid=myResultSet.getInt("id");
String fname=myResultSet.getString("firstname");
String lname=myResultSet.getString("lastname");
String mail=myResultSet.getString("email");
// end
out.print(_jspx_html_data[2]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(30,10);to=(30,13)]
out.print(eid);
// end
out.print(_jspx_html_data[3]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(31,10);to=(31,15)]
out.print(fname);
// end
out.print(_jspx_html_data[4]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(32,10);to=(32,15)]
out.print(lname);
// end
out.print(_jspx_html_data[5]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(33,10);to=(33,14)]
out.print(mail);
// end
out.print(_jspx_html_data[6]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(37,5);to=(43,0)]
stmt.close();
myconn.close();
// end
out.print(_jspx_html_data[7]);
} catch (Throwable t) {
if (out.getBufferSize() != 0)
out.clear();
throw new JspException("Unknown exception: ", t);
} finally {
if (!_jspx_cleared_due_to_forward)
out.flush();
_jspxFactory.releasePageContext(pageContext);
-------------------error in browser----------------------
Error during JSP page processing
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
at java.lang.Throwable.(Compiled Code)
at java.lang.Exception.(Compiled Code)
at java.sql.SQLException.(SQLException.java:43)
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Compiled Code)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:3814)
at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:1029)
at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:145)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:165)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:126)
at pagecompile.jsp._Connect._jspService(Compiled Code)
at com.sun.server.http.pagecompile.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.runServlet(JspServlet.java:469)
at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspServlet.java:259)
at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.java:97)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at com.sun.server.ServletState.callService(ServletState.java:226)
at com.sun.server.ServletManager.callServletService(ServletManager.java:936)
at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423)
at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79)
at com.sun.server.http.stages.Runner.process(Runner.java:79)
at com.sun.server.ProcessingSupport.process(Compiled Code)
at com.sun.server.Service.process(Service.java:204)
at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:374)
at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code)
at com.sun.server.HandlerThread.run(CompiledBacking up a moment, is there a particular reason that you're using the JDBC-ODBC bridge rather than using the Oracle JDBC driver?
Have you taken a look at the JSP sample code available on OTN? I would start by making sure you can run that.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
Maybe you are looking for
-
What base station will work with all?
What would be the easiest base station to set up a shared DSL internet connection between an older OS 9 with a new OS X powerbook? Both have wireless cards and latest updates. Windows because I got work to do.
-
Proper Data Not showing in Preview Mode
Hello, I'm using the Dashboard Design tool to create a dashboard with Input controls on 2 stack column charts. There are 7 Input Targets pointing to 1st stack column chart, the SUM of all these targets need to be populated on one of the values in th
-
Including inetrnal table as deep structure
Hi All, All ready Iam having a internal table and I want to add a new internal table inside the old one as deep structure. How can I do that? Thanks in Advance, Rani
-
Maximum size param in file channel
Hello All, What is the parameter to mention in the sender communication channel to restrict huge files I remember there is a paramter that can be configured in channel Maximum File Size Can someone tell me the exact syntax for that THanks, Regards, M
-
Flash player invisible on some sites with Firefox 4
I have my problem documented on Adobe's forums @ http://forums.adobe.com/message/3589972#3589972 but they have been unable to help me so far and suggested I post the problem here. At http://www.adobe.com/software/flash/about/ the animation doesn't ap