Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is there an execute function similar to the ASP execute()

843836Apr 11 2005 — edited Apr 28 2005
Hi,

I'm converting some asp code to jsp and I need to use something similar with the execute() that exists in ASP

example:
in a jsp I have a call to AddField

AddField("show()");



public void AddField(String function){
//in asp it would be like this and it would execute the function show() in functionList

execute(function)

}



functionList.jsp

<%@ page language="java" %>
<%!public void show(){
System.out.println("<OPTION value='0' selected>ALL</OPTION>");
}
%>


sorry for my poor explanation

thanks for any help.

V
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2005
Added on Apr 11 2005
19 comments
317 views