Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mixing Java and ASP?

Status
Not open for further replies.

spencern

Programmer
Dec 20, 2001
78
US
Hi,
I'm using a program to make a java menu system for my site. The program is apPopMenu Generator from apycom.com. I want to make one of the links have some ASP code from my page. The code that I'm using now is <a href=&quot;students.asp?teacher=<%=(Recordset1.Fields.Item(&quot;lastname&quot;).Value)%>&quot;>.
Does anyone know if I could cut something out, or add something to make the code work in a java menu?

Thanks for your help,
Spencer Nash
 
Depends on what platform you are executing the ASP commands - ASP is not a language but a specifications, it generally needs IIS to execute - possible in Apache but that is another story.

 
Hi,
I'm running my ASP pages on a win 2000 server with IIS. Is there anyway to make some of the ASP code work inside of the Java?

Thanks,
Spencer
 
Hi:

Not that I am aware of - you can call on the results generated by ASP - like a output from SQL Server and incorporate it in your Java Program.

Or you can use SOAP to call on ASP.

But none of the above makes ASP run within Java. Pls let me know if you find another solution for this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top