Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to: JSP -> MS Access -> Call and fill a Access_Mask

Posted on 2003-03-14
6
Medium Priority
?
202 Views
Last Modified: 2010-03-31
I can retrive data from Tables or Querys but now I want insert a new row in my table...

I don't want use a inser mode (e.g. "insert into mytab values('a','b','c')") but i want use a store procedure... because i must insert more rows in more linked tables....

I think use Mask, is this a correct way?

How can I call my new Mask from JSP page?
Or can I create a Strore Procedure in MS Access?
If yes, How can I call this MSAccess's Strore Procedure in JSP page?

Thanks
0
Comment
Question by:sansaba
  • 3
5 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 8137581
 Here is a good tutorial on stored procedures: http://java.sun.com/docs/books/tutorial/jdbc/basics/index.html
0
 

Author Comment

by:sansaba
ID: 8157763
I know stored procedures in oracle database...
but I don't have know-how its in Access Database...

My problem:

1 - I must create an Access Store Procedure (in oracle create procedure bla,bla,bla...).
2 - I must call it from a jsp page, i need the code to insert in
    ResultSet res = s.executeQuery("{call MYSTOREPROCEDURE('val1','val2','val3')}");
.


:D

Thanks
0
 
LVL 35

Accepted Solution

by:
girionis earned 520 total points
ID: 8157877
 Not sure if MS Access supports stored procedures. Better look at the manuals.
0
 

Expert Comment

by:CleanupPing
ID: 9058686
sansaba:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 35

Expert Comment

by:girionis
ID: 9762845
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- Points to girionis

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

girionis
EE Cleanup Volunteer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question