ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Problem With JSP tags ... PWC6032

admin
22 Jan 2008 22:55:53 GMT
22 Jan 2008 22:55:53 GMT


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4736906

By: kierangreen

Hi,

I am new to this so please bear with me ... I am using ZKOSS and it works fine with .ZUL pages etc.

I have a legacy app that i have been tasked with making a bit flasher... its all jsp's. I want to use the XKOSS framework with these to make things a bit nicer for the users.

- I have added the zuljsp.jar to the WEB-INF/dist/lib folder in my app.
- I have added the WEB-INF/tld folder containing the tld file.
- I have added the taglib directives to my web xml
<jsp-config>
<taglib>
<taglib-uri>/WEB-INF/zul</taglib-uri>
<taglib-location>/WEB-INF/tld/web/zuljsp.tld</taglib-location>
</taglib>
</jsp-config>
- I have added the zk.xml to the WEB-INF folder
- I have added <%@ taglib uri="/WEB-INF/zul" prefix="zk"%> to the jsp (and the tags seem happy in the syntax checker.

However, i get the following evertime i try to access a jsp using ZK: tags ...

org.apache.jasper.JasperException: /pages/deals/createdeal.jsp(59,4) PWC6032:
Unable to load tag handler class "org.zkoss.zul.jsp.PageTag" for tag "zk:page"

I have downloaded the demo and it works fine ... i cannot for the life of me figure out where i am going wrong.

Any and all help appreciated.


admin
23 Jan 2008 09:56:31 GMT
23 Jan 2008 09:56:31 GMT


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4737522

By: kierangreen

additional ...

I have also tried the method given in the jsp 1.0.0 (above was based on 0.9.0 from the tutorial). If i copy the demo into myexlcipse and deploy i get ...

org.apache.jasper.JasperException: /index.jsp(3,57) PWC6188: The absolute uri:
http://www.zkoss.org/jsp/zul cannot be resolved in either web.xml or the jar files deployed with this application

If i deploy the war file to the server instead of from source it works fine .... what is the missing link here. I am finding a lot of posts of similar problems but cannot see anything that tells me what the missing link is between the source provided with the demo, and the WAR version.

There has to be something i have missed !!

Cheers




admin
23 Jan 2008 10:04:52 GMT
23 Jan 2008 10:04:52 GMT


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4737528

By: kierangreen

and if i unzip the WAR file and copy its contents to a project in MyEclipse and deploy it works fine !! I will use this as a starting point to get going but if anyone knows why i had such problems posting the replty would be of great help.

Thanks

admin
9 Mar 2008 19:11:33 GMT
9 Mar 2008 19:11:33 GMT


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4825624

By: manuelsal

Hi, i've also problem with jsp integration, at the momenti i think i'm using the same your version, i've downloaded the bin version 1.0 of jsp tag but using them i can't use zk 3.0.3. Infact in the jsp tag are included the 3.0.0 versions of zk.

Do you know how tu use 3.0.3?

Bill
14 Dec 2008 07:27:57 GMT
14 Dec 2008 07:27:57 GMT

Hi Friends,

I am also new to ZK. I was trying to integrate Zokss to my existing Struts application. When I use the following

<%@ taglib uri="http://www.zkoss.org/jsp/zul" prefix="z" %>
in my jsp to use zk tag libraries and run my application, the following error happens

org.apache.jasper.JasperException: The absolute uri: http://www.zkoss.org/jsp/zul cannot be resolved in either web.xml or the jar files deployed with this application
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:411)

I have made sure that I have provided all the mappings in my web.xml and incorporated all the jar files required.
Please let me know what's happening here.

Thanks,
Bill

windperson
26 Dec 2008 07:28:36 GMT
26 Dec 2008 07:28:36 GMT

Hi Bill,
Can you provide more information about your application's configuration?