Forums Register Login

Connecting to Remote Data

+Pie Number of slices to send: Send
I am trying to develope a web application. I need to get and post data to several AS400 files. I have created a connection class that works only on a specific file. How can I create a connection class that stores the connection to a variable. Then use this variable in classes that have SQL strings that interact with the AS400 files.

This is my connection class:


I use the LogOnConnection conn = new LogOnConnection(); in a Servlet.

I need to be able to use the connection variable in the following:



However, I get a connot resolve on conn
+Pie Number of slices to send: Send
Where is the Conn object initialization inside the method.
I once met a man from Nantucket. He had a tiny ad
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 823 times.
Similar Threads
How do I get a Subset of a ResultSet
Creating Cewolf Combined Charts
Dynamic JSP
Test User Input Sting to Object
Help with Remote Data
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:32:12.