I'd like to know whether it's possible to call Java classes compiled with the latest Sun JDK from an ASP page? All the documentation I've been able to find on the net has referred to the ancient MS JVM and SDK, and I don't seem to be able to get any of the examples to work, so I'd like some idea of whether or not what I'm trying to accomplish is, in fact, workable.
I have written a JAVA class.it have compiled with -target 1.1 arguement and I just can instant it twice time.I can instant it at the first time and second time.When I try to instant it anymore,it prompt me "The remote procedure call failed and did not execute." message.What does it mean?
After,I need restart my web server.My java is used to create new socket and connect to other server.I am using getObject("java:classNameHere") method
I would like to use asp to call a java class file with arguments in methods for a web database application.May I know how to call the following class ? say :
package wkflow; //all the imports here public class clsMail(){ public void sendMail(String subject, String Content, String Recipient){ //Some command to post mail; } }
As i have seen in the forum a similar question was posted in the past but the answer refered only to java applets. As i have to use an existing servlet to get some info and process them using asp code it is necessary for me to learnhow to do it.
In addition to that i'm new to internet development. I suppose that there must be a way to call a wep page from asp code and process the response in the same page. But i am not sure if you can do that with asp and if it is possible i don't know how to do it.
i have a client which want to put a counter(ASP file) on his home page but the problem is his all site is static so he wants to have "index.htm" page and also counter on it.
i want to know can i include or call the asp page from java script or any other way to call it on html page?
I have one VB exe file. Can it be called and opened in ASP page like as html form is shown. I want to execute the exe file from any machine. Should that machine have vb and sql.
I know that this is easy to do, I've done it before, but I can't find how I did it before.Basically, my ASP page can createObject for a compiled DLL, but it can't do it for the non-compiled DLL (running in VB6).
WE want to call an ASP page that will contain our site navigation html. But call it from pages with .htm extension. Our site is on an NT server. Is this workable? We do not want to rename our existing .htm pages to .asp. This would screw up our page positions on search engines.
is there a way of getting the page that called the current page? Like, I'd like to add a 'back' button that fills some info and then sends to the previous page, which could be one of many pages that can call this current page.
other than adding a form hidden field and passing it at submit or whatnot, is there something like session('callingpage') or something like that?
I have an ASP page that has over 150 records listed. I would like to have an "Index" (A,B,C,D...) at the very top of the page. Once a letter is clicked, I need to:
1) Call a SQL string like "SELECT * from WoD Where UCASE(WotD) LIKE " & UCASE(strSelected) & "*" & Chr(34)
2) Recall the SAME page (Not another ASP page) withpopulating with the new recordset.
I am having a total brain fart on this and can't figure it out.
I wrote a dll and I want to call it from asp page, but I can't do it. I am using the method: server.CreateObject, but can't interface with the dll. I think that my problem is registering the dll to Windows, and when that I am doing it I receive an error message that telling me that "DllRegisterServer may not be exported". what should I do?
I am trying to execute some script on my server that is currently run on an ASP page.
However, I am finding that it can often take up to 5-10 minutes to run and the user is not needed for this execution anyway. What I am attempting to do is write the script into a .vbs file on the server and execute the script when necessary.
I would like this script to run without the user knowing and therefore I do not want the asp page to wait for a return from the script. I am trying to use:
Set WshShell = Server.CreateObject("WScript.Shell") ReturnVariable = WshShell.Run("c:connorVBScript1.vbs", 0, FALSE)
The FALSE tells the system to run the code and not wait for a return. The webpage seems to run and returns to the user as it should but the script is not executed.
I have a function in a script file that I use from a couple of different pages. Can I, within the function, detect which page is being viewed (which page called the function)
i was wondering if i call an activex dll that resides within the same domain, but on a different server from IIS.
there is no problem if its registered on local machine, server.createobject(), i read about MTS and was thinking it could be the solution, but it has a few restrictions or should i say warnings about using components developed without regard to MTS and if the component uses other components...and so on, frankly, im scared to use it.
How do I call a page in a password protected directory? In other words, I had my admin make a directory protected with authentix and now I want to use a page outside that directory to call a page inside that directory. How can I do this
I have asp page. In that I want to call a aspx page in the background.That called aspx pages will send and receive mail in the background.The calling of the aspx pages should be hidden from the user.Is it possible.
In my asp page I have a form with dropdown list,some text boxes and a submit button.When the user selects any value from the dropdown list, I want to retrive the selected value in same page and display it.I know it's not tough,but still Iam unable to get it...ending up with some error.Can anybody help me out in this matter?
I am trying to call a field value from my database - which gets open in an included file (all work on database must be done in that included file), if i use response.write(rst("pagename") it would print fine in the page when I call the sub i.e <% call pageNameFind() %>
But i want to get the field value to appear like this <% PageTitle = pagename %> where pagename comes from the included sub pageNameFind pagename = rst("pagename")
It doesn't pick this up however - how would I do this? This value will then be sent on to another included file at later stage. and I must have the <% PageTitle = myvalue %>.
I have 2 sites on my Windows Server 2003/ISA/IIS machine. One of the sites works fine and has 'default.htm' for the default document. The other site returns an 'HTTP error 404' and has a 'default.asp' for the default document. Aside from that they appear to be configured the same.
also values of these parameters are to be extracted using Request.Form from the fields in the forms. Now How do I call this stored procedure from an ASP Page using a Connection object in Server Tags <% %>. Also this stored procedure returns a Numeric value as "RETURN_VALUE". please give me the syntax. This stored Procedure is a part of Session Management module.
I created C# COM+ component. It has two overloaded methods - the method names are same and their signatures are different, one takes two parameters and another takes four. I coded this way: the method with 4 parameters is coded first and then the one with 2 parameters.
I created very simple ASP page to call these two methods. Calling the method with 4 params has no problem. However, calling the method with 2 params I get the error saying:
Error Type: Microsoft VBScript runtime (0x800A0005) Invalid procedure call or argument: 'SetReferenceValues' /suitevoyager/testLmx.asp, line 16
I have a standard Header.asp that I want to include in every other page in my site. Header.asp is located in the root folder, but the calling pages are in various folders/levels. Since the relative paths specified in header are subject to change and are based on the relative path of the calling page, problems arise. (Strangley, using the IFRAME method of including a header doesn't react the same way.)
The solution I believe lies in using absolute paths in the Header.asp file using the "virtual" include qualifier. But this assumes your development directory structure is the same as your production environment. So I guess that is the answer. Use absolute paths and set up your development directory structure to be identical to your production.
We are currently facing a strange problem. We wrote an ASP application using some sessions and database-connectivity, nothing special.
On some machines (we are all using IE5.5 / IE6) those applications produce a 404 error.
The pages that are called do exist (I checked it thousands of times and it is only happens on some machines). Most of the machines have no problem with that pages and do not produce any errors which makes me belive that it is no real programmed problem.
The strange thing is that a reinstallation of IE mostly helped and if not we reinstalled the complete computer (as you can guess this is no real suitable way.
Maybe it has something to do with the sessions we use, but they are not so big.
I hope (not for the one who really has) that somebody has also experienced this kind of problem and can point me into the right direction.
I also tried different IE newsgroups but they had no idea, that's why I now try to ask ASP-programmers.
Ignorant newbie here who got thrust into a programming role I'm unqualified for. Please use small words. I have to create a java program that interacts with a remote server. Code used in remote server is ASP.NET.
I need to do the following:
1.) Send data from Java program to remote server 2.) Read input data from Java program using ASP.NET 3.) Query SQL dbase on remote server using ASP.NET 4.) Send dbase results to Java program from remote server
I'm pretty sure how to do #3, and I think I can do #4. I'm pretty clueless about the first two steps.
i am writing a asp pages and i am using some frontpage. my problem is that i put a java aplet (chart) show the student how many correct, not correct and not attempted answers in the chart. all what i get in the page is the results in written but the applet (chart) have red X and its not showing
is it possible for an asp to contain both javascript and vbscript as i want to use the contents of one of the variables in vb script to be used into the javascript.
function enableServerList() {document.getElementById("ddlServers").disabled=false } function disableServerList() {document.getElementById("ddlServers").disabled=true }
This greys out a drop down list as expected. The problem is, when I click on the "get Report" button, I need a way to say in asp code:
if the drop down list ddlServers is disabled then bla else bla
The apparent problem is that when java disables it, the ddl properties page still holds on to an enabled=true property.
I need to be able to write a code(on the asp code page) to get the status of enabled true or false for a Drop Down List that java script has "disabled"