Thanks to all who have responded thus far . . .
I think I forgot to add the Tiles Plugin to my struts-config.xml file.
However when I do this I get HTTP Status 404 - Servlet action is
not available . . .
On Sat, Nov 6, 2010 at 2:47 AM, Lukasz Lenart
lukasz.len...@googlemail.com wrote:
I don't know if this is your problem, per se, but you can't redirect
to a tile. A Tile is just an alias/synonym for a jsp rendering. You
can only forward to one.
Paul
On Mon, Nov 8, 2010 at 8:58 AM, Andy T verygoofy...@gmail.com wrote:
Thanks to all who have responded thus far . . .
I think I
2010/11/8 Andy T verygoofy...@gmail.com:
Hi Lukasz,
I have struts-tiles-1.3.8.jar loaded . . . is this what you mean?
Yes, it should be sufficient, could you post your struts config? Below
is extract from the log you sent me.
FATAL main org.apache.struts.tiles.TilesPlugin - TilesPlugin :
Hi Lukasz,
Your identification of the exact cause of the error has helped me to
solve this problem. The problem is here:
controller
set-property property=processorClass
value=EricEnhancement.util.CustomRequestProcessor/
/controller
For whatever reason the CustomRequestProcessor I was
Subclass the TilesRequestProcessor instead of the normal one.
Dave
On Mon, Nov 8, 2010 at 1:08 PM, Andy T verygoofy...@gmail.com wrote:
Hi Lukasz,
Your identification of the exact cause of the error has helped me to
solve this problem. The problem is here:
controller
set-property
2010/11/5 Rafael Medeiros mederaf...@gmail.com:
How to use plugin-tiles in struts 1.3.8:
Check the documentation
http://struts.apache.org/1.x/struts-tiles/installation.html
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl
Hi All,
I'm having a bit of trouble trying to get my tiles to work with Struts
and wondered if anyone could help.
The relevant files are shown below:
Web.xml
[code]
?xml version=1.0 encoding=UTF-8?
web-app id=WebApp_ID version=2.4
xmlns=http://java.sun.com/xml/ns/j2ee;
Is the Tiles plugin not required for S1.3? It's been several years since
I've used Struts 1 (I hope you're not using it for a new project?)
Dave
On Nov 5, 2010 1:05 PM, Andy T verygoofy...@gmail.com wrote:
Hi All,
I'm having a bit of trouble trying to get my tiles to work with Struts
and
How to use plugin-tiles in struts 1.3.8:
plug-in className=org.apache.struts.tiles.TilesPlugin
set-property property=definitions-config
value=/WEB-INF/config/tiles-defs.xml /
set-property property=definitions-debug value=2 /
set-property
Any help would be appreciated. Tks!
- Original Message
From: Bipin Sadhwani [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Tuesday, September 9, 2008 1:07:12 PM
Subject: struts tiles problem
Hi everyone,
I have this wierd issue with tiles. Probably its a bug.
My environment
Hi everyone,
I have this wierd issue with tiles. Probably its a bug.
My environment is: Windows XP Professional, MyEclipse 6.0.1, Struts 2.0.6,
Tiles 2.0.6, J2EE 1.4, JDK 5.0, JBoss 4.2.2
I am trying to insert a tile (a jsp page) into another tile (a jsp page) and so
this is my config
Here's the stack trace for the problem in my previous mail:
15:50:29,006 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.apache.struts2.components.Form.populateComponentHtmlId(Form.java:232)
at
Hallo all,
following problem - i developed an app on RAD 6.0 (but weblevel 2.3 - so
compliant to was 5.1), Servlet Spez 2.3 and JSP 1.2
When i run the app through the testclient (v5.1) on RAD 6 all is working
fine and i get no errors or warnings ...
But when i want to deploy the app to the WAS
The IO error indicates that it found the file but just doesn't like it.
Are you sure that it is text and hasn't been corrupted? Or is zero length?
Hans-Peter Petek on 18/04/06 07:19, wrote:
Hallo all,
following problem - i developed an app on RAD 6.0 (but weblevel 2.3 - so
compliant to was
Betreff: Re: Struts / Tiles Problem with RAD
The IO error indicates that it found the file but just doesn't like it.
Are you sure that it is text and hasn't been corrupted? Or is zero length?
Hans-Peter Petek on 18/04/06 07:19, wrote:
Hallo all,
following problem - i developed an app on RAD
-Ursprüngliche Nachricht-
Von: Adam Hardy [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 18. April 2006 10:24
An: Struts Users Mailing List
Betreff: Re: Struts / Tiles Problem with RAD
The IO error indicates that it found the file but just doesn't like it.
Are you sure that it is text
I am using struts tiles
here is my struts-config:
plug-in
className=org.apache.struts.tiles.TilesPlugin
set-property property=definitions-config
value=/WEB-INF/tiles-defs.xml/
set-property property=definitions-debug value=2
/
set-property
I usually don't use the tiles taglib other than in my layout files...
here is how I would accomplish the same thing you want to do..
1) Modify your layout.jsp
tiles:insert attribute=header/
tiles:insert attribute=menubar/
tiles:insert attribute=body/
tiles:insert attribute=footer/
note body
Allen,
thanks! I figured out the cause of my problem, it was
actually tricky(or trivial). I forgot to put %@
taglib uri=/WEB-INF/tiles...% on top of the page
and when I use tiles:, struts didn't complain, it
just treat them as regular html tags so they don't
show up on the page. I wonder why
19 matches
Mail list logo