Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-21-2008, 07:21 AM
Member
 
Join Date: Apr 2008
Posts: 1
apmaddali is on a distinguished road
Tapestry, Eclipse- Tomcat/Weblogic <jwcid> issue - Please help
I am trying to do a tapestry 4.1 application in eclipse 3.3.
I did the following steps,
1. Created Home.html (In webcontent folder
2.Creted Home.page (In webcontent folder)
3.Created Home.app and web.xml in WEB-INF folder.
I copied all the tapestry 4.1 jar files in tomcat/shared/lib folder.
Then after running the application using Tomcat 5.5 / Weblogic 9.2, I noted the web
page is not displaying the dynamic content (jwcid and OGNL), its displaying rest of static content,
Please Help !!

Home.app

?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application
PUBLIC "-//Apache Software Foundation//Tapestry Specification 4.1//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_1.dtd">
<application name="Tapestry_WL" engine-class="org.apache.tapestry.jwcid-attribute-name">
<description>Hello WL</description>
<page name='Home" specification-path="Home.page" />
</application>

web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app>
<display-name>Tapestry_WL</display-name>
<servlet>
<servlet-name>Home</servlet-name>
<servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Home</servlet-name>
<url-pattern>/app</url-pattern>
</servlet-mapping>
<welcome-file-list><welcome-file>Home.html</welcome-file></welcome-file-list>
</web-app>

Home.html


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>


Date and Time
Date and Time:<span jwcid="now"></span>
</body>
</html>

Home.page

<?xml version="1.0"?>
<!DOCTYPE page-specification PUBLIC
"-//Apache Software Foundation//Tapestry Specification 4.1//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_1.dtd">
<page-specification class="/date/Home">
<component id="now" type="Insert">
<binding name="value" value="currentDate" />
</component>
</page-specification>
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combine package of(jdk,eclipse and tomcat) joseph Eclipse 0 04-07-2008 02:18 PM
Tomcat In Eclipse - Sysdeo Tomcat Plug-in JavaForums Eclipse 1 02-13-2008 11:33 AM
Tomcat 5 for Eclipse gapper Eclipse 1 02-07-2008 07:08 AM
Tomcat plugin for Eclipse Java Tip Java Tips 0 01-16-2008 11:42 AM
error Tomcat in eclipse Marty Eclipse 1 05-06-2007 05:51 PM


All times are GMT +3. The time now is 04:24 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org