Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
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 10-06-2008, 02:02 AM
Member
 
Join Date: Oct 2008
Posts: 18
piyu.sha is on a distinguished road
[SOLVED] Backporting Struts 2 to JDK1.4
I am using Struts 2 and want to run Struts 2 on JDK 1.4.
When I searched thru the Struts 2 site it shows me JDK 1.4 jar files to download. But even after using those jar files my application is not working on JDK 1.4. I am getting invalid class version errors.

I am not sure what is the problem, but looks like some jars are still compiled in JDK 1.5.

I did not find much help on Struts 2 site on this, any help whould be appreciated.
__________________
Live life king size
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-06-2008, 02:04 AM
Member
 
Join Date: Oct 2008
Location: US
Posts: 40
kzvi.kzvi.1 is on a distinguished road
If you want to use a recent framework, why not use a more recent JRE, like Java 5? There are interesting other web frameworks -like Stripes- that require Java 5.

____________________________________________
Software Wiki | Interview FAQs | Lucene Search | Oracle | ORM | Struts2 | Job Seeker
__________________
Have fun....

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 10-06-2008, 02:06 AM
Member
 
Join Date: Oct 2008
Posts: 18
piyu.sha is on a distinguished road
We have an existing application where we need to add some more ndependant features ... and existing app is deployed on JDK 1.4. It will be more efforts to move whole app to JDK1.5, and I am not the one who can take this decision of moving to JDK1.5 so thought of using 1.4 compatible framework....any good options smilar to struts 2 in JDK 1.4
__________________
Live life king size
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 10-06-2008, 02:08 AM
Member
 
Join Date: Oct 2008
Posts: 45
priyanka.dandekar is on a distinguished road
Struts 2 backporting package contains the core jars, If you require the plugins also then you need to translate the plugin jars to JDK 1.4 format. This can be done using Retrotranslator.

This is the link [Backporting Struts 2 ] which demonstrates how you can Backport Struts 2 Dependancies to JDK 1.4 or JDK 1.3 using retrotranslation

____________________________________________
Priya,
Cooking is Fun | Eat Healthy Stay Fit | Sweets | Raita | Bread | Dal
__________________
Cheers,

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
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
What is JDK1.5? pawankumarom New To Java 2 09-05-2008 09:41 AM
possible feature of jdk1.7 sikandar Advanced Java 2 09-05-2008 09:21 AM
Difference between jdk1.5 and jdk1.6 pradnya New To Java 4 06-24-2008 11:54 PM
Difference in implementation of inner classes in JDK1.4 and JDK 1.5 verbha New To Java 1 05-27-2008 02:21 PM
help with JSF, MVC, Struts christina New To Java 1 08-06-2007 11:30 PM


All times are GMT +3. The time now is 09:04 AM.


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