Struts Support
Just to complete my set of unreasonable requests, I would also love to see Struts support for JSR 168 Portlets.
The Apache Struts project now has a Struts Portlet Bridge, so it may just be a question of porting this to Plumtree's JSR 168 implementation.
Ths may actually eb higher priority than JSF support, since we and everyone else have lots of Struts web apps that we would like to convert to portlets.
Why then does Oracle reccomend that development teams use this type of development framework, knowing full well that apps developed in this manner will not work in the app server portal product.
If we cannot deploy a J2EE app developed using struts & BC4J into portal what is the point of using the app server, one may aswell deploy on Tomcat. The whole point of using Portal is the additional services such SSO, OID, Portal Page Designer etc that make development of the app faster.
Don't get me wrong - we are totally commited to Oracle & the product set - what makes my blood boil is that we adpot a strategy as advocated by Oracle for RAD by using BC4J & Struts only to find we cannot deliver to the customer because Oracle never told us it wouldn't work.
Similar Messages
-
I'm currently trying to deploy the struts-example webapp from Struts 1.1 RC1 into
Weblogic Portal 8.1 using the Struts Portlet wizard made available by the "JSR
168 and Struts Support" patch.
I select the struts module successfully "struts-example" and am prompted for the
location of name mangled configuration file (i.e "struts-config.xml" for struts-example
becomes "jpf-struts-config-struts-example.xml").
As soon as I hit next, I am prompted with a dialog informing that me that [Workbench]
"Cannot parse the struts configuration file."
Given that this is a file supplied with the struts distro and that I can deploy
the struts-example to Vanilla WLS 8.1 without problems I suspect this is a problem
with my attempt to use the Struts Portlet.
Can anyone please help?
Thanks,
--Andy HullI'm currently trying to deploy the struts-example webapp from Struts 1.1 RC1 into
Weblogic Portal 8.1 using the Struts Portlet wizard made available by the "JSR
168 and Struts Support" patch.
I select the struts module successfully "struts-example" and am prompted for the
location of name mangled configuration file (i.e "struts-config.xml" for struts-example
becomes "jpf-struts-config-struts-example.xml").
As soon as I hit next, I am prompted with a dialog informing that me that [Workbench]
"Cannot parse the struts configuration file."
Given that this is a file supplied with the struts distro and that I can deploy
the struts-example to Vanilla WLS 8.1 without problems I suspect this is a problem
with my attempt to use the Struts Portlet.
Can anyone please help?
Thanks,
--Andy Hull -
JSR 168 and Struts support sample error
I'm trying to get the sample webapp for JSR 168 and Struts support working with
WebLogic 8.1, and I'm having problems with the struts portlet. The other portlets
seem to work fine, but the Struts portlet gives the following error after clicking
"Save" on most of the forms:
Page Flow Error - Action Not Found
Page Flow: Global.app
Action: html-setters.do
Unable to find action html-setters.do.
That error appears in the browser. At the same time, the following exception
appears in the server window:
<Aug 18, 2003 4:34:12 PM EDT> <Error> <netui> <BEA-420012> <There was an error
while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control
:: null ::.
com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could not do
page flow lookup for the given action [html-setters.do] in the given PageFlow:
[struts/exercise-taglib].
This exception is followed by hundreds of lines of the following:
at com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils.strutsLookup(ScopedServletUtils.java:363)
as well as several stack overflow errors.
I believe I have installed the JSR168 and Struts support package according to
the instructions, and have copied the required jars into the samples WEB-INF/lib
directory. I also have tried to write my own Struts application in a portlet,
and it gets the exact same errors when I try to submit a form to my actions.
Any insight would be much appreciated!
Thanks,
PatrickHi Brodi,
I am having the same problem as Patrick. The problem is not in the struts portlet,
but in the forms the portlet navigates to. After the struts portlet loads, I
am able to use the html:links and navigate through the pages. Though when I try
to submit a form I get the action not found error. For example the html-select
page has a form. This page loads fine, but when I hit the save button I get the
following error.
<Aug 25, 2003 11:00:00 AM EDT> <Error> <netui> <BEA-420012> <There was an error
while running a lifecycle stage :: Lifecycle: UIControl.render :: for the contro
l :: null ::.
com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could not do
page flow lookup for the given action [html-select.do] in the given PageFlow:
struts/exercise-taglib].
The application appears to loose the struts context. It tries to find the localhost:7001/samples/html-select.do
action instead of localhost:7001/samples/struts/exercise-taglib/html-select.do
action. How do I keep the application from loosing context?
Thank you,
Karen
"Brodi Beartusk" <[email protected]> wrote:
>
Patrick-
I've seen similar things happen when the module name is either not specified
correctly
in the StrutsContent element in the portlet, or when the module is misconfigured,
usually because of either a mising config file or a mis-named config
file.
Ensure that you have a the struts config file for the exercise-taglib
module in
WEB-INF, named jpf-struts-config-struts-exercise-taglib.xml.
-Brodi Beartusk
"Patrick Callis" <[email protected]> wrote:
I'm trying to get the sample webapp for JSR 168 and Struts support working
with
WebLogic 8.1, and I'm having problems with the struts portlet. Theother
portlets
seem to work fine, but the Struts portlet gives the following errorafter
clicking
"Save" on most of the forms:
Page Flow Error - Action Not Found
Page Flow: Global.app
Action: html-setters.do
Unable to find action html-setters.do.
That error appears in the browser. At the same time, the followingexception
appears in the server window:
<Aug 18, 2003 4:34:12 PM EDT> <Error> <netui> <BEA-420012> <There was
an error
while running a lifecycle stage :: Lifecycle: UIControl.render :: for
the control
:: null ::.
com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could
not do
page flow lookup for the given action [html-setters.do] in the given
PageFlow:
[struts/exercise-taglib].
This exception is followed by hundreds of lines of the following:
at com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils.strutsLookup(ScopedServletUtils.java:363)
as well as several stack overflow errors.
I believe I have installed the JSR168 and Struts support package according
to
the instructions, and have copied the required jars into the samples
WEB-INF/lib
directory. I also have tried to write my own Struts application ina
portlet,
and it gets the exact same errors when I try to submit a form to myactions.
Any insight would be much appreciated!
Thanks,
Patrick -
Struts Support: Parsing Portlet JSP File failed
I've manually edited a my .portlet file to contain a strutsContent element (copied
from the struts.porlet in the JSR 168 and Struts Support sample). When I run my
portal I get an error message:
java.lang.RuntimeException: Didn't find TagInfo for tag:strutsContent
Can anyone help?
Thanks in advance,
--AndySubbu,
Thanks for the tip - netuix_taglib.jar was indeed the not the correct version.
Interestingly, this file is not mentioned in the "JSR 168 and Struts Support"
install docs. I have replaced this file and the struts-example webapp now starts
(after setting up an action to forward to the index page).
However, I am having problems with the message bundle properties files ApplicationResources.properties
and AlternateApplicationResources.properties as neither of these files are being
picked up.
These files are located in org/apache/struts/webapp/example in WEB-INF/src and
WEB-INF/classes of my webapp (i.e. <WEBAPP>/WEB-INF - my struts-example resides
in <WEBAPP>/struts-example).
I've also tried adding <init-param>'s to the <WEB-APP>/WEB-INF/web.xml file for
the action servlet as follows:
<servlet>
<servlet-name>action</servlet-name>
<init-param>
<param-name>application</param-name>
<param-value>org.apache.struts.webapp.example.ApplicationResources</param-value>
</init-param>
<init-param>
<param-name>alternate</param-name>
<param-value>org.apache.struts.webapp.example.AlternateApplicationResources</param-value>
</init-param>
</servlet>
When I use the logon action as the starting action for the portlet, I get:
Error opening /struts-example/logon.jsp.
The source of this error is javax.servlet.ServletException: Cannot find message
resources under key alternate at weblogic.servlet.jsp.PageContextImpl.handlePageException...
Any help would be appreciated.
--Andy
Subbu Allamaraju <subbuATbeaDOTcom> wrote:
Andy,
Does this webapp contain the patched versions of netuix_servlet.jar and
netuix_taglib.jar? Also make sure that the patched netuix_system.jar
is
in the system classpath.
Subbu
Andy Hull wrote:
I've manually edited a my .portlet file to contain a strutsContentelement (copied
from the struts.porlet in the JSR 168 and Struts Support sample). WhenI run my
portal I get an error message:
java.lang.RuntimeException: Didn't find TagInfo for tag:strutsContent
Can anyone help?
Thanks in advance,
--Andy -
Hi
Can some one please guide me through the steps for adding struts support to Netbeans 4.1. If you can give me a link to a tutorial which explains it.
Thankshey,
First u have to open the NetBeans IDE then goto Menubar Select File --> select NewProject
step1) choose project in this step select web and select webapplication then clidk Next
step2)Name and Location give whatever name u want and the location
step3)Frameworks: There will be two options with checkboxes in that u have to select struts, click finish -
Struts support for Eclipse 3.x
I am using Eclipse 3.3. Can some one please let me know if there exists any opensource plugin that provides struts support, mainly tag libraries support for JSPs.
SirGhi,
Struts-It Version: 1.0
Support Eclipse: 3.1,
Struts-It provides comprehensive support for developing Struts-based web applications. It is based on Eclipse 3.1 and well integrated with WTP 0.7. Supports Struts 1.1, 1.2 and JSTL.
eclipse plugin link
http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-518.html -
When is portal going to properly support Struts based applications?
Jdev 903 has support for Strust (well sort of it's somewhere between Strust 1.0 and 1.1) - thanks Jdev team! but Portal in 9iAS 902 does not support struts apps at all! One can deploy a struts based app as a portal provider but when it comes to running the struts app modules as portlets it bombs! The app does work in Jdev though...
So much for following Oracle's advice on using frameworks and believing that it would actually work in the app server as it should AN INTEGRATED APPLICATION SERVER.Why then does Oracle reccomend that development teams use this type of development framework, knowing full well that apps developed in this manner will not work in the app server portal product.
If we cannot deploy a J2EE app developed using struts & BC4J into portal what is the point of using the app server, one may aswell deploy on Tomcat. The whole point of using Portal is the additional services such SSO, OID, Portal Page Designer etc that make development of the app faster.
Don't get me wrong - we are totally commited to Oracle & the product set - what makes my blood boil is that we adpot a strategy as advocated by Oracle for RAD by using BC4J & Struts only to find we cannot deliver to the customer because Oracle never told us it wouldn't work. -
Struts support in Oracle Workshop for WebLogic Version 10.3
Hello:
Which version of Struts does Oracle Workshop for WebLogic Version 10.3 support?
I can't get it in the Release Notes or in the tutorial http://download.oracle.com/docs/cd/E13224_01/wlw/docs103/guide/webapplications/struts/strutsTutorial/0.intro.html.
Thanks for any input.Hi,
Currently workshop 10.3 facets will only provide struts 1.2 / 1.1 / 1.0
But we can use latest version of the struts like 1.3 also as we need to add those jar files under windows preference >> weblogic shared library.
But later we can change the Facets file and try to work with newer version of struts.
Let me know if you need any further help on this issue.
Regards,
Kal. -
How do I disable the 9.0.3.1 Struts IDE wizardry?
The Struts 1.1 support that's bundled with 9.0.3.1 is not very good. Actually...its crap and its slowing me down. What I need now is some advice on how to remove this obstacle and get my 9.0.3.1 JDeveloper to a state where these wizards aren't continuously trying to take over my struts projects (I've got some stuff trapped in Struts 1.0.2 and I've got some stuff that needs to work with of Struts 1.1-rc1).
Is it as simple as whacking the C:\jdev9031\jakarta-struts directory? It can't be that simple...can it?
In 9.0.2 we just made sure the public-html/WEB-INF/lib directory had the proper JARs, put the matching *.tld files into public-html/WEB-INF, and updated web.xml to find them. In 9.0.3.1 I can do all of this and still get indecipherable errors from the Build step.
Geez...I guess you can get too much of a good thing. Someone, please, how do I remove this integrated Struts support?This should only occur if you click straight down on the scroll wheel. To block it, turn off the autoscrolling feature. Here's how:
orange Firefox button (or Tools menu) > Options > Advanced
On the General mini-tab, uncheck the box for "Use autoscrolling" and OK out.
Now, clicking the scroll wheel on a blank area should not do anything.
Success? -
How to use custumer DataTagsLibrary for BC4J in the JSP's with Struts Suppo
I've been looking for a good tutorial to learn very well
BC4J, DataTags Library for JSP , all with struts support.
But it's dificult to join all this topics.
Can someone help.
If you have any answer for me, plesea send an e-mail to
[email protected]Try these links:
http://radio.weblogs.com/0118231/ - Look for the Toy Store demo.
http://otn.oracle.com/sample_code/tutorials/bc4jvsm/content.html - The new Shopping Mall tutorial.
http://otn.oracle.com/products/jdev/howtos/content.html - The JDeveloper how to list.
Also, check frequently on the JDeveloper forum here on OTN.
HTH.
Thanks, George -
Does anyone have experience using Struts 1.1 with oc4j. I have successfully created an application, but I am having problems defining my ApplicationResources in the struts-config.xml. Everything works fine if I define them in the web.xml, but when I try to create <message-resources> elements it does not appear to be picking up my property files.
Any thoughts would be greatly appreciated.
JasonHi Jason,
You can take a look at the sample application downloadable at http://otn.oracle.com/sample_code/products/jdev/jsp/SimpleStrutsApp.zip
We have developed several applications using Struts 1.1b2 and deployed them to OC4J. It works very well.
If you are using JDeveloper 9.0.3, it would be easier since the software has Struts support features.
Wade. -
Change Struts DTDs to 1.3 version
Hi there,
is it possible to upgrade struts support in JDeveloper (10.1.3.1) to support versión 1.3 DTDs? I get many warnings as I guess JDeveloper supports previous DTD versions. (For example, module parameter in <forward> tag)
Thanks,
IgnacioYes, but I guess not too many people are starting new projects today using Struts 1.1, having 1.3 fully stable and proved (1.3.5 now and 1.3.6 coming soon).
I've seen the jars inside JDeveloper resources (I use Mac version) and wonder if I can just replace them with 1.3.x version. (I really don't care about jar library supported as I've created a Struts 1.3 library, but it doesn't seem to get 1.3 DTDs for XML configuration files. It still sticks to 1.1 version, showing wrong warnings.
(Even thougj I am using 1.3 definition:
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN" "http://struts.apache.org/dtds/struts-config_1_3.dtd">
Thanks for any info,
Ignacio -
Regarding Struts-Config.xml
Hi,
I want to send two paramters in forward tag like
<forward name="userslist" path="/abced.do?mySubAction=searchResult&page1" />
but it shows error how to pass two values in forward tage
is it possible to send two values if yes how can i pass?Did you notice that this is not a Struts support
forum? There are certainly other fora or mailing
lists dedicated to this.
Ok CeciNEstPasUnProgrammeur , but do u know the ans or not?[[/u]b] -
Hi,
I am using portal 4.0 .
I am evaluating whether I can use struts frame work for "page navigation" rather
than "portal webflow". I would like to know how can I design a struts adapter
which will work with weblogic portal 4.0.
Any insight is helpful.
Thanks,
GitaHi Subbu,
as I mentioned before, am am aware of the other versions and
yes, I know about the 81 struts support :-)
But we are politically sticked to 4.0... So again, if somebody
has successfully wrapped struts into an older Portal version, any
guideline would be helpful.
Thanks,
Joerg.
Hi Joerg,
FYI, in case you've not already checked out, WLP8.1 supports
struts apps as is without migration. This support is available as
an add-on to WLP8.1 from dev2dev. With this approach, you
can continue to use struts for page navigation, but use WLP for
portlet aggregation.
Subbu
Joerg Schmidt wrote:
Hi Raphaël,
I am not sure if you got into contact with Anju, but
nevertheless your adapter is exactly what I was looking
for.
We are migrating a Struts-based application to WLP 4.0
(yes, i know there is 7.0 and 8.1, but we have political
issues here :-) and in order to keep the migration time
as low as possible, the question of wrapping Struts into
Portlets came up.
The high level architecture in your ppt was pretty
straightforeward, so i would like to ask if you could
provide me with some examples for the components
you developed, like the struts-redirect-servlet and the
portlet which does the replacing of the html-part?
We have not started our development yet, so a short
code-insight to get some feeling for the amount of
work necessary would be great!
Thank you!
Joerg Schmidt
([email protected])
Hi anju,
I developed such an adapter to wrap your struts-based
application into a portlet without needing to use webflow
mechanism. Please see the attached file that explains
the philosophy.
I f you are interested to go further in in that direction, just tell
me. I will be happy to share technical details with others.
reagrds,
raphaël faudou -
Is the Struts Portle ready yet?
I saw a post saying that a Struts portlet would be available in PS6.4 for developing Struts applications ot be deployed to the Sun portal. What is the status of this?
The BEA and IBM portals have had this for some time. Even many of the open source portals support it. I have a project where I would like to use the Sun Portal but lack of Struts support will be a showstopper.Known Issues | Adobe products on Mac OS 10.7 Lion
Adobe Premiere Pro CS5.5 (5.5.1) update: bug fixes, including some for Mac OSX v10.7 (Lion) compatibility
Maybe you are looking for
-
?Installing Flash player problem?
When attempting to download Flash, I am asked to close idvault and Explorer. How do I do that without disconnecting from the Internet?
-
Tax code cd not assigned tax jurisdiction code in00
hi gurus, while i m making a p.o. in me21n on invoice tab page the following error is coming tax code cd not assigned to tax jurisdiction code in00 i have trouble shooted all the possibl elelemnts that could result in such case i have already as
-
Fios is in my building - so why doesn't Verizon know that?
Last month Verizon installed Fios in my 8 unit condo and currently has one of the unit owners outfitted with and paying for service. Upon install, the engineer told my fellow condo association trustee (the one with the service) that the building was
-
PREMIERE PRO CS5.5 Gamma problem while exporting project to mjpeg A or B
Dear Sir, I'm in a big ****. I've directed and edited 1h documentary for Finnish television, also, the technical specs requested by the TV Channel is all production Broadcast masters must be encoded with Apple ProRES codec or MJPEG A or B. As i'm wor
-
Problem with camera. lumia 920
Camera is not working after the new update 8.1 Denim. I tried Both soft reset and Hard reset.... Even Nokia Care is also fail to solve this problem..... plzzzz help me..