Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9258879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:31:06+00:00 2026-06-18T12:31:06+00:00

I’m trying to add pages written with Tapestry5 to a web application written with

  • 0

I’m trying to add pages written with Tapestry5 to a web application written with Tapestry 4 on Apache Tomcat. Assuming I have the necessary jars in $tomcat/shared/lib.

I made a basic form template and corresponding java class to test with, following the example here, then replaced an existing html file with the new one, but I’m getting stuck with a DocumentParseException caused by the page specification (.page) file having an “unexpected public id of ‘-//Apache Software Foundation//Tapestry Specification 5.3//EN'” whenever I try to access the page through tomcat. If I change that line in the page specification file back to “Tapestry Specification 4.0//EN” I get a different exception saying I need to implement the IPage interface in the java class.

This is my first time working on a project involving Tapestry and I couldn’t find anything online specific to this issue so any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:31:07+00:00Added an answer on June 18, 2026 at 12:31 pm

    I have done that for a legacy application and the process took about 3 months to have the all services migrated and the first pages running. Here’s an overview. I cannot post code for various reasons.

    1. Update to tapestry 4.1.6. (can be long and painful if you haven’t).
    2. Make sure tapestry4 servlet url-pattern is something like /t4/* and t5 ignored paths contains /t4/.*.
    3. Initialize t5 request globals for t4 requests. (sub-class t4 servlet and override the doService method).
    4. Initialize hivemind and t4 request globals for t5 requests. (contribute an HttpServletRequestFilter in the t5 module between “after:StoreIntoGlobals” and “before:EndOfRequest”).
    5. Create an ObjectProvider for hivemind for t5 services.
    6. Migrate all services you can to t5 ioc. (It can be tricky since you can’t use hivemind services directly, but you can use the hivemind registry behind the scenes).
    7. (Optional) Create link components for tapestry4 and t5 that automatically give you links for tapestry4 or tapestry5 pages with that same name and handle activation context.
      You can use PageRenderLinkSource for t5 links and the external service for t4.
    8. For every service with state create wrappers for hivemind.

    If your codebase is not large or extremely complex it’s definately not worth it IMHO.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I am trying to loop through a bunch of documents I have to put
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I am trying to find ID3V2 tags from MP3 file using jid3lib in Java.
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.