problem with htp.formOpen(...)
I'm having a problem with htp.formOpen(...) in the following code:
CREATE OR REPLACE PACKAGE BODY insert_into AS
PROCEDURE insert_country(name IN VARCHAR2 DEFAULT NULL) IS
PROCEDURE country IS
htp.header(1,'Insert data into the "Country" table');
htp.print('Enter a Country');
I use this code inside a package named 'insert_into'. I load the procedure 'insert_into.country' with my browser and I see the form. By pressing the "Execute" button, it should submit the form and call the "insert_into.insert_country" procedure just to show nothing (a test).
BUT, whenever I press the "Execute" button instead of seeing the generated page from 'insert_into.insert_country' I get the infamous 404 error - page not found. Once I press 'refresh' in my browser on the same page I get 404 I suddenly see the page generated by insert_into.insert_country.
any ideas why I get 404 while the procedure exists and is viewable in the browser?
Both mentioned procedures are mentioned in the package specification (thus I can see them in my browser).
There was a type mismatch in the Parameters that 'insert_country' recieved - managed to Fix it , so just ignore this thread ^^
thanks for reviewing anyway (-;
I have same problem. Could you please explain more about how did you fix that.
Click Here to Expand Forum to Full Width