Do I need more than what's specified below to be in the classpath in order
for jspc to work?
 
if "" == "%JAVA_HOME%" set JAVA_HOME=\java
if "" == "%WL_HOME%" set WL_HOME=\weblogic
if "" == "%MY_HOME%" set MY_HOME=C:\viewstore\KDOMEN_view\ads\apps\ms3
set MYSERVER=%WL_HOME%\myserver
set
MYCLASSPATH=.;%MY_HOME%;%JAVA_HOME%\lib\classes.zip;%WL_HOME%\classes;%WL_HO
ME%\lib\weblogicaux.jar;%MYSERVER%\clientclasses;%MY_HOME%\lib\struts-1.0.ja
r;%MY_HOME%\classes;%MY_HOME%\lib\struts-templated.tld;%MY_HOME%\lib\struts-
bean.tld;%MY_HOME%\lib\struts.tld
 

java -classpath %MYCLASSPATH% -Dweblogic.home=%WL_HOME% weblogic.jspc
-docroot %MY_HOME% ms3\*.jsp
 
 
I tried putting all the tld's under WEB-INF
and also changed the web.xml taglib uri & location to /WEB-INF

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 5:03 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: cannot resolve '/tags/struts-template.tld during weblogic.jsp c



yes that's true, try to check whether the web.xml file is well formed or not
as well as check if the web.xml is valid(i mean check against the DTD
mentioned on top of the web.xml file).

I ran into the same problem once, first time it was uri issue next time I
had the DTD part on top of web.xml wrong. 
hope that helps 
Regards, 
RG 

-----Original Message----- 
From: Domen, Ken [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] 
Sent: Wednesday, March 06, 2002 5:03 PM 
To: 'Struts Users Mailing List' 
Subject: RE: cannot resolve '/tags/struts-template.tld during 
weblogic.jsp c 


Here's my web.xml: 

<taglib> 
    <taglib-uri>/tags/struts-html.tld</taglib-uri> 
    <taglib-location>/WEB-INF/lib/struts-html.tld</taglib-location> 
  </taglib> 


I know that the uri & the location doesn't match but struts-html.tld is 
physically located 
at /WEB-INF/lib/struts-html.tld 

I tried changing it so that it would match up but it still failed w/ the 
following: 

C:\viewstore\KDOMEN_view\ads\apps>java -classpath 
.;C:\viewstore\KDOMEN_view\ads 
\apps\ms3;c:\jdk1.2.2\lib\classes.zip;c:\weblogic\classes;c:\weblogic\lib\we

blog 
icaux.jar;c:\weblogic\myserver\clientclasses;C:\viewstore\KDOMEN_view\ads\ap

ps\m 
s3\lib\struts-1.0.jar;C:\viewstore\KDOMEN_view\ads\apps\ms3\classes;C:\views

tore 
\KDOMEN_view\ads\apps\ms3\lib\struts-templated.tld;;C:\viewstore\KDOMEN_view

\ads 
\apps\ms3\lib\struts-bean.tld;C:\viewstore\KDOMEN_view\ads\apps\ms3\lib\stru

ts.t 
ld -Dweblogic.home=c:\weblogic weblogic.jspc -docroot 
C:\viewstore\KDOMEN_view\a 
ds\apps\ms3 ms3\*.jsp 
nested IOException: java.io.IOException: cannot resolve 
'/tags/struts-html.tld' 
into a valid tag library 

-----Original Message----- 
From: [EMAIL PROTECTED] [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ] 
Sent: Wednesday, March 06, 2002 8:36 AM 
To: [EMAIL PROTECTED] 
Subject: RE: cannot resolve '/tags/struts-template.tld during 
weblogic.jsp c 


I am not familiar with WLS5.1, but in WLS6.1 

if the web.xml file has the following taglib declaration 
<taglib> 
    <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri> 
    <taglib-location>/WEB-INF/struts-template.tld</taglib-location> 
  </taglib> 

it expects the struts-template.tld under the WEB-INF directory, check if you

have the struts-template.tld in the right directory. 

-----Original Message----- 
From: Domen, Ken [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] 
Sent: Wednesday, March 06, 2002 7:54 AM 
To: '[EMAIL PROTECTED]' 
Subject: cannot resolve '/tags/struts-template.tld during weblogic.jspc 


I'm just trying to precompile my jsp's using weblogic.jspc on WLS5.1sp10 

and I get the following error: 
nested IOException: java.io.IOException: cannot resolve 
'/tags/struts-template.tld' into a valid tag library 






-- 
To unsubscribe, e-mail: 
< mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > 
For additional commands, e-mail: 
< mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > 


-- 
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > 
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > 

Reply via email to