Re: jsp:include or tile

2006-04-15 Thread 王曾wang_zeng
by using tiles, you can define components. A component has a layout and a few jsp. Actually, the layout itself is a jsp written with tiles tags. A component can be nested in another component, just like swing. jsp:include is so simple, and to archive the same goal as tiles, you should do a lot of e

Re: Doofus tiles question - problem nesting

2006-04-15 Thread Aladin Alaily
Rick Reumann wrote: Rick Reumann wrote: mainLayout... -- ??? I'm probably doing this wrong I needed to do it this way and it works!: After I do that, my header.jsp that is included as a tile in my mainLayout can just do: (I must say the docs on this Tiles st

Re: Doofus tiles question - problem nesting

2006-04-15 Thread Aladin Alaily
Rick Reumann wrote: I know I'm doing something stupid here, but would appreciate the help. All I want to do is be able to insert dynamic content (like for example a submenu list of links) into my header.jsp that is part to my mainLayout.jsp. What I have been trying is (html stripped out)...

Re: Doofus tiles question - problem nesting

2006-04-15 Thread Rick Reumann
Rick Reumann wrote: mainLayout... -- ??? I'm probably doing this wrong I needed to do it this way and it works!: After I do that, my header.jsp that is included as a tile in my mainLayout can just do: (I must say the docs on this Tiles stuff are not that g

Re: Doofus tiles question - problem nesting

2006-04-15 Thread Rick Reumann
Aladin Alaily wrote: Main Layout.jsp classname="java.lang.String" /> ... in your html on the page ... <%= page_links %> Maybe I'm missing your point but I hope this helps. Aladin Thanks Aladin for trying to help. The problem is that it's not in the 'mainLayout.jsp' that

Doofus tiles question - problem nesting

2006-04-15 Thread Rick Reumann
I know I'm doing something stupid here, but would appreciate the help. All I want to do is be able to insert dynamic content (like for example a submenu list of links) into my header.jsp that is part to my mainLayout.jsp. What I have been trying is (html stripped out)...

RE: Efficient session object and cookie checks in struts

2006-04-15 Thread David Evans
Instead of scattering the session/cookie checks throughout your actions, you could make a BaseSecurityCheckAction that does the check and then have the actions which need the checks extend the base action. In Webwork and therefore Struts 2, you'll be able to implement this as an interceptor, and us

ot: tibet ajax download

2006-04-15 Thread netsql
the reviews on o/s tibet are great. I can't figure out how to download it? Can someone help a noob download? .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Efficient session object and cookie checks in struts

2006-04-15 Thread Jeff Thorne
Andy, Thanks for the response. I not 100% sure the session/cookie checks were slowing me down. I just had a hunch that there must be a better way To implement these checks than to scatter them about my jsp and action classes. My site acts like a portal for members and the member home page must ma

Re: Efficient session object and cookie checks in struts

2006-04-15 Thread Adam Hardy
Jeff Thorne on 15/04/06 06:19, wrote: My struts application maintains 2 small objects in the user’s session. One is for the users location info (mandatory) and the other is the User Object (optional). I also save 2 cookies one being the user’s location info (mandatory) and the other the user’s sa

Re: Strecks vs Stripes

2006-04-15 Thread Phil Zoio
Perhaps the similarity in the names could cause confusion ... The similarity between Strecks and Stripes is that they both require Java 5. Otherwise they are completely different frameworks. Stripes is an independent framework in its own right with no Struts dependencies. Strecks is still Stru

Error Loading/Instantiating TagExtraInfo class

2006-04-15 Thread Asad Habib
I ported my Struts application from Tomcat 5.5.9 to Tomcat 5.5.16. When I ran the application, I got the following error: org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei org.apache.jasper.servlet.JspServletWrapp