Edit D:\app\Administrator\product\11.2.0\dbhome_1\javavm\demo\policytable\Makefile
# Servlet template Makefile .SUFFIXES: .java .class .sqlj all: compile load setup # This demo must be loaded into SYS because only SYS has permission # to freely read and write the policy table. USER = sys/change_on_install CLASS = PolicyServlet.class PUBLISHEDSERVICE = /security/policytable ; MAKE_CLASSPATH=$$ORACLE_HOME/rdbms/jlib/servlet.jar:$$ORACLE_HOME/javavm/lib/aurora.zip SERVSETUP = servletsetup.sql SQLSETUP = setup.sql #Use your platform's equivalents RMF = /bin/rm -f ECHO = /bin/echo CAT = /bin/cat # compile: $(CLASS) load: $(CLASS) loadjava -definer -s -g public -verbose -resolve -user $(USER) PolicyServlet*.class setup: $(RMF) $(SQLSETUP) $(ECHO) 'conn $(USER) as sysdba' > $(SQLSETUP) $(CAT) $(SERVSETUP) >> $(SQLSETUP) $(ECHO) 'exit;' >> $(SQLSETUP) sqlplus /nolog @$(SQLSETUP) # Rules .sqlj.class: sqlj -classpath $(MAKE_CLASSPATH) -ser2class $< .java.class: javac -g -classpath $(MAKE_CLASSPATH) $< clean: rm -rf *.class $(SQLSETUP)
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de