tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxime Colas des Francs <max...@sts.ca>
Subject Digest
Date Wed, 06 Aug 2003 20:20:43 GMT
Hi

In a jsp application i want to calculate digested passowrds dynamically
According to the Realm How To ... i write this code in a jsp :

<% String digest = 
org.apache.catalina.realm.RealmBase.Digest(request.getParameter("password"), 
"MD5"); %>

Here is the result :

	org.apache.jasper.JasperException: Unable to compile class for JSP 
Generated servlet error:
	[...] package org.apache.catalina.realm does not exist [...]
	[javac] 	String digest = 
org.apache.catalina.realm.RealmBase.Digest(request.getParameter("password"), 
"MD5");
	[javac]

How can i fix that ? catalina.jar is not in tomcat classpath ?

thks


Mime
View raw message