Question about asp access

Hi.
I'm trying to get information from a MS Access database to a Java applet. I think the easiest way to do this is to use ASP. I got the asp page working to access the database and print its contents but I have no idea how the applet can access that information. I know nothing about asp and got the connection code from a tutorial. Can anyone tell me how I can access the information from a Java applet?
Thanks in advance.
ASP code follows:
<%
Set MyConn = Server.CreateObject("ADODB.Connection")
MdbFilePath = Server.MapPath("db1.mdb")
MyConn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & MdbFilePath & ";"
SQL_query = "SELECT * FROM Table1"
Set RS = MyConn.Execute(SQL_query)
WHILE NOT RS.EOF
%>
<LI><%=RS("Name")%>: $<%=RS("Balance")%>
<%
RS.MoveNext
WEND
%>

Thanks, I've gotten the reading working. But I'm a
little confused on how I would update. If I wrote an
asp page (say...called update.asp) that updates the
database, how would I call that from java? You
wouldn't use an input stream would you?Same way. Don't confuse the input stream with "input to a database". It's just the response from the service, and also the way to actually get the service (URL) to be invoked. Of course, for updating the database, you're probably going to want to pass the service something, telling it what to update. Passing it something is done (or can be done, as one way) by putting the information on the URL, like:
http://some/path/update.asp?key=abc&newValue...
And if you have any links to tutorials on asp database code,
that would be awesome. Thanks.I'd suggest using good-old google: http://www.google.com to search for those keywords.

Similar Messages

  • Ask question about asp mvc5

    hi
    i've some question about mvc5 /asp which is the right forum?
    thanks 

    Here you go: http://forums.asp.net/1146.aspx/1?MVC

  • Question about Database Access

    Hello,
    I have one question regarding database access from Java.
    What are the other ways of connecting to database other than JDBC? This was one of the question I been asked by the interviewer. He says JDBC connection can slow down the perfomance when it comes large number of transactions?
    Any insight or help will be very useful.
    Thanks

    He may have been referring to available "persistance managers" like Hibernate or the mechanisms build into EJB containers. However, as far as I know, they all use JDBC, and any speed-up is due to caching of data as objects.

  • Questions about database access in WCS 7.x version

    Hello,
    In WCS version 7.x, events from controllers are stored in database. The limits for these events are 7 days and 40000 events. Does anyone know where  we could change these limits?
    In the other hand, we can´t access to database because we don´t know user and password to access database. Can anyone pass me default credentials for database?
    What is the procedure to change database password in WCS version 7.x?
    Thnaks in advance.

    Don't know about username and password for the database, but this might help:
    http://www.cisco.com/en/US/products/ps6305/products_qanda_item09186a00807a60f0.shtml
    Q. How many alarms are kept in the WCS when are they cleared, and what is the average size of each alarm?
    A. The WCS keeps the last 40,000 events in the system and clears them up after seven days. An event or alarm can have 1000 bytes on average.
    A. Under the <WCS_INSTAL_DIR>/webnms/conf folder, there is a file called NmsProcessesBE.conf. Within this file, the user needs to modify the parameter CLEAN_EVENT_INTERVAL (default value is seven days) and the parameter EVENT_WINDOW_SIZE (default value is 40,000). The server needs to be stopped and restarted after the user makes the modifications.

  • About to purchase but question about usb access to Sony DVD-RW camera

    I am on the verge of purchase of a macbook and it would be my first mac at that. Specifically, I am looking for information on using the usb connection between my camera and the macbook. I am coming from the Windows world, and the camera software is windows only. I record my stuff in VR mode, and when I plug in via usb the windows software allows me to pull off the VRO files. Then I have another windows program that is able to read the VRO files and I can move them around (I don't edit the contents of the VROs), put transitions and then create a dvd. My question when moving to the macbook, can I still record in VR mode and then when done recording, without finalizing the disk, hook the usb cable to the macbook and it will be able to read those files? I read in other posts something similar but not definitive that it could not do this. There might be other software (ie, something call readDVD) that might be able to but could not determine, for sure, that it could do this over the usb (since I can't pull the 8CM disk and put it in the non-tray DVD drive). Or is there a better suggestion, please be kind that I don't know what is possible on the MAC.
    For what is it worth, my scenario that I have put up with (because it gave me results that were adequate) on the windows side, had me record in VR mode and it gave me control over all the individual segments (hitting record and then stop is a segment) that I could manipulate individually with the windows software. I don't know enough about what is possible with the usb connection and the software on the MAC to know what to expect out of the box and if I have to buy additional software (to pull the movies off the video camera). If I recorded in Video mode, and then finalized and then hooked the usb cable to the macbook, would the resultant files be able to be read by iMovie? If so, would it be the individual segments or would it be one be movie (ie, all segments rolled up into a/many vob(s))? I want to be able to join many segments from many different disks onto one dvd. Maybe that is the crux of my question and may really be better suited for the iMovie forum rather than this one. If, so, please forgive my ignorance.

    Welcome to macbook forum,
    Could you post your camera model / type, so we can check that out for you in order to give you better answers.
    Or you can check this link for camcorder that supported on new iMovie 7.x.x.
    http://docs.info.apple.com/article.html?artnum=306171
    Good Luck.

  • Question about wireless access

    I'm thinking about buying an Airport Extreme for my dorm so my two roommates and I don't have to bother with ethernet cables. Once the base station is set up, will I have to leave my laptop connected to it in order to access the internet, or will the base station function on its own (meaning, can I set up the base station and have it stand alone as a wireless station connected to our dorm ethernet port)? Thanks.

    Once you have configured the Airport base station then it will work fine and no computer needs to be left on (unlike when you share an internet connection).
    iFelix

  • Again question about restricting access to files through URL?

    I found many topics about this, but every time it is some special case.
    I want to ask it simple. How can I restrict access to some files in my application through entering URL in Browser, no matter if I am logged or not.
    For example I have included JSP files with jspf extension. I don't want to access them through url. How can I do this?

    May be it will work, but it seems somehow workaround decision - one half of jsp files in one place and another part in other place.
    Message was edited by:
    cheltsov

  • Beginner question about granting access rights

    Hi, am a total beginner, just a very simple question. I have created a number of tables with my admin account that I would like user accounts to be able to see (they should only be allowed to see these few tables)
    I then created a user account called EDWARD with just the basic connect access right (I don't want them to be able to create/delete tables etc, just to be able to query the tables I have created above and to add rows to these tables)
    Google searching has lead me to the grant statement, so I tried this from the admin account:
    grant select, update, insert on CUSTOMERS to EDWARD;
    This statement executes correctly but when I log in the EDWARD account I cannot do any of these things, instead I get the error: ORA-00942: table or view does not exist
    Any ideas?
    Thanks

    >>Would it be better to create a separate account called 'ADMIN' perhaps that I use for
    my application admin and then grant them appropriate access to confidential tables
    rather than logging them in as the SYSTEM?
    Yes, this is what I would advise, since SYSTEM (like SYS and several others...) is not user like other, it's better do not work and create object under this one. Keep it for Oracle administration usage only, not for application administration, create your own schema for this.
    Nicolas.

  • QUESTION ABOUT CLIENT ACCESS ROLE AND MAILBOX SERVER INSTALLATION ON DIFFERENT HOSTS

    If i install one mailbox server and three client access servers on three different hosts,then what will be the url to open ecp and owa?and also to do this kind of installation,what should i do?please help.
    trainee

    Well, you can open ECP URL Internally by using any of following URL
    1. https://host1/ecp
    2. https://host2/ecp
    3. https://host3/ecp
    OR if you have DNS entry for mail, lets say mail.domain.com then you can open your ECP using https://mail.domain.com/ecp
    As far as deployment is concerned i won't recommend this deployment. You are trying to achieve HA of CAS server role but mailbox server role who will be performing most of the Exchange 2013 tasks is not redundant. I would recommend you to have 2 CAS servers
    in NLB with 2 Mailbox Servers in DAG for HA. Exchange 2013 is loosely coupled and you can install any of these roles first. Thanks.
    Hope this answers your questions. Kindly mark this as answer if found helpful.
    Regards, Riaz Javed Butt Consultant Microsoft Professional Services MCITP, MCITP (Exchange), MCSE: Messaging, MCITP Office 365

  • Question about "mod_security: Access denied with code 400"

    Dear All,
    After merged clone's configure the application tier server nodes. I can get in form window, but after merged clone's finishing tasks:1.Generate JAR files / generate message files / relink executables / copy files to destination. I can't open form window any more.
    The apache error_log will show below
    mod_security: Access denied with code 400. Pattern match "!^([-_@|#!=A-Za-z0-9/ :.$]){0,255}([-_@|#!=A-Za-z0-9/:.$]){0,255}$" at ARGS_NAMES. [hostname "hcp11et30.liteonit.com.tw"] [uri "/oprocmgr-service"] [unique_id TugHyQoG2lsAAFOwD84]
    Then referred Note 389558.1, and can login normally, But the same error messages still keeping reporting in error_log.
    Please advise?
    Thanks,
    Jackie

    Hi;
    Did you check below notes:
    Access Denied With Code 400 When Starting Forms or Calling MOD_PLSQL [ID 394587.1]
    Why do we see Error: mod_security: access denied with code 400 IN OCO pages? [ID 976473.1]
    Regard
    Helios

  • Question about partial access with "infinite" partial length

    Suppose you want to read partial data starting at offset 100 but you don't know the total length.
    Or, suppose you want to write partial data, replacing all bytes from offset 200 to the end of the data.
    One would think that calling DatabaseEntry.setPartialLength(Integer.MAX_VALUE) would do the trick... but I'm worried that this will cause integer overflow in the internals of the JE library and screw things up.
    Is using DatabaseEntry.setPartialLength(Integer.MAX_VALUE) safe?

    Hi,
    Looks like this is answered by the javadoc for DatabaseEntry.setPartial. Please take a look and let us know if there is some way we can improve the doc.
    Thanks,
    --mark                                                                                                                                                                                                                                                                                                                                                                       

  • About Network Access Restrictions

    i am using acs3.2,but i find a question about
    Network Access Restrictions.i edit Network Access Restrictions in shared profile
    components,then i Select the Define IP-based access descriptions check box.i choose aaa client,type the applicable information in each of the following boxes,then click enter and sumbit.when i logging into acs server again,i find the AAA client, port, and address information does not appears as a line item in the table.why ?
    Acs version : Release 3.2(1) Build 20

    To administer all features included in Cisco Secure ACS 3.2, use an English-language version of one of the following tested and supported web browsers:
    Microsoft Internet Explorer version 6.0 with Service Pack 1 for Microsoft Windows
    Netscape Communicator version 7.0 for Microsoft Windows
    Netscape Communicator version 7.0 for Solaris 2.7
    http://www.cisco.com/univercd/cc/td/doc/product/access/acs_soft/csacsapp/csapp32/rn322.htm#wp1043943

  • Questions about Access Manager tutorials available in netbeans site

    Hi
    Thank you for reading my post
    I have some questions about two tutoral which i find in :
    http://www.netbeans.org/kb/55/amsecurity.html and
    http://www.netbeans.org/kb/55/amsecurity-liberty.html
    here is my problem :
    we have some web services, now we want to have authentication applied for consumer who try to access our web services.
    we need to have most possible flexibility because we may deploy the server for a customer with an already established Identity database ( Database Table with user details)
    Also we need to have Transport level security using SSL.
    I read and studied both of them and now i have some questions :
    -I think Securing Web Services Using the SAML or UserNameToken is what we need for authentication and autorization of web service consumers?
    is that right?
    -Does Sun Java System Access Manager provide flexibility to authenticate user/password with a database table content?
    -How we can apply roles in Sun Java System Access Manager when we authenticate users ?
    Thanks

    Imagine that we want to have an end to end security for our web services
    we thought that we could use message level encryption to protect the soap message and also we should protect our web services from un-authenticated acess,
    we will use userName token for this.
    Our customer has large database which contains many user/password and role of those users.
    some of web services should be available to higher role (manager) and not for all users.
    so we should check a user role before we allows him/her to access a web service.
    my question is whether Sun Access manager can help us with this? or there are other configuration or packages that we should apply to have this feature.
    to explain more :
    our client side is a swing application, users enter username/password to login into system. after they loged in, we send user/pass every time user want to request some data from some services. (is it good to send user/pass every time?)
    We want Sun Access Manager to handle users authentication .
    We also need to handle role related authorization, can Sun access manager handle this?
    Thanks

  • Question: about accessing Nik collection through Lightroom

    I have recently purchased and installed Nik collection. I have no problem reaching the plug-ins in Photoshopbut can't in Lightroom (except for HDR)

    Thanks!  Technology senses my fear and always makes it difficult for me! Ha! I can use the Nik programs so if I have to, I'll work on them there.
    Date: Sat, 13 Apr 2013 16:27:45 -0700
    From: [email protected]
    To: [email protected]
    Subject: question: about accessing Nik collection through Lightroom
        Re: question: about accessing Nik collection through Lightroom
        created by trihelm2 in Photoshop Lightroom - View the full discussion
    I suspect there are potential issues on some systems with the Google "combined" version, when I installed it I had recieved a copy of the Google complete version free because of my purchase history. I was advised that I could install over the Individual Plugins I had. I never got as far as trying it with Lightroom, only in Elements. The plugins appeared but the load times were abysmal and I mean realy bad , far longer than the Nik individual Installs, so I dumped it and reverted to the originals. Pity cos I wanted the Sharpen Plugin that I have'nt got. After reverting all was back to normal The Nik individual Plugins load very quickly. It was this that convinced me there is a difference in the Google setup.There are people on here with far more knowledge than me, hopefully one of them can help you, alternatively you might try asking Google for help with this.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5232723#5232723
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5232723#5232723
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5232723#5232723. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Lightroom by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Question about accessing CIFS with LUM user (permissions)

    Hi there,
    I have a question related to accessing a CIFS mount throught a user in a linux box.
    First of all, its a system based in OES11 sp2 & SLES 11 SP3. I have a cifs mount
    in /media/nss, with novell cifs, coming from a NSS Filesystem. This mount is mounted
    with a username/password with password policy, etc. I have four users LUM-enabled,
    in the Linux box, which should access the CIFS mount, but I have a permission denied.
    I have set trustees for the primary group for the 4 lum-enabled users and also I have
    addedd permissions for a group in the NSS volume, and add this group to the membership
    of the users, but doesnt works.
    I guess Im missing something or Im doing something wrong. Could anybody give me a pointer?
    Thanks!

    Antoniogutierrez,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

Maybe you are looking for

  • Oracle Installation Issue on windows 7 64 bit - database 11.2.0.3

    Hi , I am trying to install 11.2.0.3 database on windows 7 prof 64 bit in lenova lap The issue is at the last screen the installer just hangs in the prerequists check. this is the installer log out put last portion INFO: Verification Result for Node:

  • Function Module giving pruchase requisition release code ?

    Hi everyone !! I am using the FM BAPI_REQUISITION_RELEASE_GEN in order to realease a purchase requisition, this works well as I give it a hard-coded value for input parameter REL_CODE. However in our company an intricate set of release strategies imp

  • How to reinstall iPhoto on my mac book pro

    hello everybody, i had iPhoto on my mac, than i had to clean up my hard disc. now i have problems to reinstall iPhoto, in the app-store it says that i allready bought this article and that i can reinstall it from the list of bought articles. but in t

  • "Parser module cannot parse the file" - opening .ai files in PS CS3

    Hi, I understand Photoshop CS3 can open Illustrator .ai files. When inside Photoshop, file/open, select .ai file, I get the following message: "Could not complete your request because the parser module cannot parse the file" This presents a huge prob

  • Converting SSN Number

    can anybody tell me the logic to convert ssn number 421-64-8951 to 421648951 .Plz answer urgently,points will be awarded undoubtedly.