[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Handle-info] Web Interface issue (compling Admin.java)



Hi Sharif,

There should be a Template.java source file in the same directory as the Admin.java file (net/handle/apps/admin_servlets/). Is that Template.java file not included in the src.zip that came with your copy of the handle system software?

Thanks,
Sean

On Mar 1, 2007, at 9:55 PM, Sharif Islam wrote:

Does anyone have better directions for setting up the Web Interface? I am looking at the section 6.3 in the technical manual but not having some problems following it.

In any case, while compiling Admin.java, I am getting this error:
Admin.java:1050: cannot find symbol
symbol  : variable Template
location: class net.handle.apps.admin_servlets.Admin
   out.print(Template.subDictIntoFile(templateFile, mergeDict));
             ^
Note: Admin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

private void showTemplate(String templateFileStr, PrintWriter out, Hashtable mergeDict)
{
[.....]
/* line 1050 */ out.print(Template.subDictIntoFile(templateFile, mergeDict));
}


--
Sharif Islam                 Research Programmer
Library Systems Office       University of Illinois Urbana-Champaign
http://www.library.uiuc.edu  phone:  (217) 244-4688

Attachment: smime.p7s
Description: S/MIME cryptographic signature