473,395 Members | 1,532 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Server.Execute in scriptlet

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.
Jul 19 '05 #1
0 1492

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Hats | last post by:
Hi, I've a site with no php, but ssi and scriptlets do work. I tried these tags. ++++++++++++++++++++++++++++++++++++++++++++++++++ <object type="text/x-scriptlet"...
2
by: Dune | last post by:
I'm trying to execute an aspx page by calling Server.Execute. The aspx page I'm trying to execute is in a different web app from the aspx page containing the Server.Execute statement. A slightly...
0
by: HmDZ | last post by:
There is a cool feature in some applications like The VS.NET itself, in which IE Server has full integration with the mother application and can also control it by its web page scripts. For example...
2
by: ze colmeia | last post by:
Hi all... i'm having trouble trying to pass a field value from a Data Access Page to a Scriptlet. Om my DAP i have: Function returnId() Dim pId pId = formName.Id.value returnId = pId
9
by: unlikeablePorpoise | last post by:
I would like to have an HTML dropdown list where each selection calls a method. The following code doesn't work, but it I hope it gives the idea of what I'm trying to do: <FORM NAME="frm">...
2
by: astolpho | last post by:
I am using a slightly outdated reference book on J2EE programming. It gives 2 methods of creating a database used in its casestudies. The first is an ANT script that gives the following output: ...
3
by: oaklander | last post by:
I have this scriptlet working in a JSP and was wondering how I can put it in a class file and call it in my JSP. <jsp:useBean id="pageinfo" class="mypackage.PageInfo" scope="session"/> ......
1
by: inf | last post by:
How can i use java script variable in java scriptlet
9
by: RN1 | last post by:
When a server encounters the line Response.Redirect("abcd.asp") in a ASP script, the server tells the browser that it has to be redirected to another page (which is abcd.asp, in this case)....
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.