Server.Execute in scriptlet

Discussion in 'ASP General' started by Lim Chee H, May 22, 2004.

  1. Lim Chee H

    Lim Chee H Guest

    Hi All,

    I have an ASP calling a scriptlet. There is a method "Exec" which is
    using Server.Execute to run any ASP file/command. There rest of the methods
    are working fine.Somehow, wscAsp.Exec("myLocalProc"), didn't work. Please
    help.

    My ASP:

    <%
    Set wscASP = CreateObject("ASPScriptlet")
    wscASP.sName = "sName (R/W)= OK"
    %>
    <P>The current date is <%=wscASP.GetDate()%></P>

    <P>The value of the Var1 is <%= wscASP.GetVar()%></P>
    <%
    Call wscAsp.Exec("myLocalProc")

    Sub myLocalProc
    response.write "Scriptlet is executing myLocalProc!"
    End Sub

    %>
    The Scriptlet, wscAsp.Exec method, is purely just call Server.Execute("any
    string passed in")

    Thanks.
     
    Lim Chee H, May 22, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Phil Powell
    Replies:
    0
    Views:
    1,673
    Phil Powell
    Nov 21, 2003
  2. Robert Mark Bram

    Share vars between scriptlet and jstl?

    Robert Mark Bram, Mar 20, 2005, in forum: Java
    Replies:
    1
    Views:
    15,430
    Ryan Stewart
    Mar 20, 2005
  3. Hats
    Replies:
    3
    Views:
    478
    Spartanicus
    Jun 20, 2005
  4. ramakrishna
    Replies:
    0
    Views:
    1,304
    ramakrishna
    May 4, 2006
  5. Replies:
    1
    Views:
    400
    Aj-India
    May 15, 2006
Loading...

Share This Page