You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dominik Stöttner <do...@gmx.net> on 2004/02/12 17:52:35 UTC

PageFlow within a Tile?!

Hi,

I am trying to write a webapp with struts and tiles that is similar to the portlet-technology. The tiles-documentation example provided with struts is very helpful to create the main functionality (e.g. customizing the portal by moving the tiles). But so far I haven`t figured out how to create a page flow within a tile. 
For example in the tiles-documentation I want to add a link in one of the tiles and when clicking that link another page should be rendered within the framework. How can I achieve that?

Thanks in advance!!

dom

PS: Does anybody know when STRUTS 2.0 is supposed to be released? 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Problem using split() method in java script

Posted by Ramachandran <ra...@summitworks.com>.
Hi,

 I am facing problem in java script, using spilt() methos.

 Here i want to split the strings using '\' this separator. Here it is
separating the strings. Bu it is displayed in the zeroth index array. But i
want to display in each index.

But not Working. Any body having idea please maile me.

This is my code.

 var where_is_mytool="home\mytool\mytool.cgi";
 var mytool_array=where_is_mytool.split("\\");
 alert(mytool_array[0]+" second "+mytool_array[1]+" third
"+mytool_array[2]);


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Error Start Tag Exception

Posted by Niall Pemberton <ni...@blueyonder.co.uk>.
<html:errors> changed from processing ActionErrors/ActionError to
ActionMessages/ActionMessage from struts 1.1 to struts 1.2 - the most
obvious cause of this is your app generating ActionMessages/ActionMessage
messages but the tag is struts 1.1 version.

Are you sure you are deploying the nightly build jars to your servlet
container rather than the struts 1.1 jars?

Niall
----- Original Message ----- 
From: "Betty Koon" <bk...@adobe.com>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
Sent: Monday, February 16, 2004 6:20 AM
Subject: Error Start Tag Exception


> Any one has any idea why this exception happens?
> I am using 1.2 nightly build currently.
>
> My jsp is simply using the following:
>
> <logic:messagesPresent>
> <html:errors />
> </logic:messagesPresent>
>
> java.lang.ClassCastException
> at
> org.apache.struts.taglib.html.ErrorsTag.doStartTag(ErrorsTag.java:215)
> at
>
org.apache.jsp.action_feedback_jsp._jspx_meth_html_errors_0(action_feedback_
> jsp.java:694)
> at
>
org.apache.jsp.action_feedback_jsp._jspx_meth_logic_messagesPresent_1(action
> _feedback_jsp.java:672)
> at
>
org.apache.jsp.action_feedback_jsp._jspService(action_feedback_jsp.java:469)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
> 10)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
> java:684)
> at
>
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
> er.java:432)
> at
>
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
> .java:356)
> at
>
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
> 69)
> at
>
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
> r.java:274)
> at
>
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
> sor.java:455)
> at
>
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ
> estProcessor.java:320)
> at
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
> at
>
com.adobe.edc.server.presentation.auth.AuthenticationFilter.doFilter(Authent
> icationFilter.java:143)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:213)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:256)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:191)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
> 46)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
> )
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> java:171)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
> )
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :174)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:392)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:619)
> at java.lang.Thread.run(Thread.java:536)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Error Start Tag Exception

Posted by Betty Koon <bk...@adobe.com>.
Thanks for the reply.  I figurd out what happened. I upgraded my code to use
struts 1.2 but some how the jar file got reverted back to 1.1.

-Betty


-----Original Message-----
From: Curtis Taylor [mailto:c.tee@verizon.net] 
Sent: Monday, February 16, 2004 8:32 AM
To: Struts Users Mailing List
Subject: Re: Error Start Tag Exception


Hi Betty,

I think you need to set the 'message' attribute to false here, as the tag is

looking for an ActionMessage instance, not an ActionError one (which is what
you 
get in the loop created by the <html:errors /> tag).

Here's a snippet of an implementation I've used:

<logic:messagesPresent message="false">
   <td class="small3" colspan="2">
     <html:messages id="error" message="false">
       <c:out value="${error}" escapeXml="false" /><br />
     </html:messages>
   </td>
</logic:messagesPresent>

HTH,

Curtis
--
c dot tee at verizon dot net

Betty Koon wrote:
> Any one has any idea why this exception happens?
> I am using 1.2 nightly build currently.
> 
> My jsp is simply using the following:
> 
> <logic:messagesPresent>
> <html:errors />
> </logic:messagesPresent>
> 
> java.lang.ClassCastException


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Error Start Tag Exception

Posted by Curtis Taylor <c....@verizon.net>.
Hi Betty,

I think you need to set the 'message' attribute to false here, as the tag is 
looking for an ActionMessage instance, not an ActionError one (which is what you 
get in the loop created by the <html:errors /> tag).

Here's a snippet of an implementation I've used:

<logic:messagesPresent message="false">
   <td class="small3" colspan="2">
     <html:messages id="error" message="false">
       <c:out value="${error}" escapeXml="false" /><br />
     </html:messages>
   </td>
</logic:messagesPresent>

HTH,

Curtis
--
c dot tee at verizon dot net

Betty Koon wrote:
> Any one has any idea why this exception happens?
> I am using 1.2 nightly build currently.
> 
> My jsp is simply using the following:
> 
> <logic:messagesPresent>
> <html:errors />
> </logic:messagesPresent>
> 
> java.lang.ClassCastException


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Error Start Tag Exception

Posted by Betty Koon <bk...@adobe.com>.
Any one has any idea why this exception happens?
I am using 1.2 nightly build currently.

My jsp is simply using the following:

<logic:messagesPresent>
<html:errors />
</logic:messagesPresent>

java.lang.ClassCastException
	at
org.apache.struts.taglib.html.ErrorsTag.doStartTag(ErrorsTag.java:215)
	at
org.apache.jsp.action_feedback_jsp._jspx_meth_html_errors_0(action_feedback_
jsp.java:694)
	at
org.apache.jsp.action_feedback_jsp._jspx_meth_logic_messagesPresent_1(action
_feedback_jsp.java:672)
	at
org.apache.jsp.action_feedback_jsp._jspService(action_feedback_jsp.java:469)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
10)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
	at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
	at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
69)
	at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
r.java:274)
	at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
sor.java:455)
	at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ
estProcessor.java:320)
	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
	at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
	at
com.adobe.edc.server.presentation.auth.AuthenticationFilter.doFilter(Authent
icationFilter.java:143)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:213)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:392)
	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)
	at java.lang.Thread.run(Thread.java:536)


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Java Script

Posted by Ramachandran <ra...@summitworks.com>.
Hi All,

i have this form to upload a document to a folder on the server. i have a
field where you browse
the files on your computer to upload to the server. once that field is
chosen i would like another field to be populated automatically with only
the document's name, without the path extension on it. does anyone know how
to go about doing this?


Ram


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Session Validation

Posted by Andrew Hill <an...@gridnode.com>.
Main problem with CMA is that its configuration is container dependent. If
your writing an app that needs to be deployed straight to many different
containers CMA can be troublesome.
btw: if you are doing your own session based security - dont - put check
tags in the JSP. Follow Niall's suggestion and hide them under WEB-INF and
go through actions to get to them.
You can put security checks for the session object in a filter, or if under
servlet 2.2 you could override the request processor to do it.

If you only need to run on one particular appserver at any moment, then CMA
is the way to go unless your requirements are really wierd. Struts
ActionMappings support specifying roles required for actions, and (unless
you override the RP) this only works with CMA.

-----Original Message-----
From: Niall Pemberton [mailto:niall.pemberton@blueyonder.co.uk]
Sent: Monday, 16 February 2004 12:06
To: Struts Users Mailing List; hhlow
Subject: Re: Session Validation


I'm not an expert on security but as I understand you have two choices. You
can either implement "container managed security" - where the servlet
container controls logging on and ensures that only authenticated users can
have access to the resources you specify OR you can control it yourself
within your application.

It sounds to me like your asking about the second. Typically when your
application controls security, you place something in the User's Session
when the user "logs on" to indicate that they have done so. Then in your
"Action" classes you check the session to see if they have logged on - if
not you forward them to the "logon" screen. If your jsp's are available you
also need to protect them - the struts sample used to have a tag (haven't
looked at it recently) which did the same kind of check. Alternatively you
could "hide" your jsps in the "WEB-INF" folder so that the user can't access
them directly and you don't need to do the jsp check.

The generally accepted view though is that it is better to choose the first
option - container managed security. If you use Tomcat, have a look at the
web.xml file for the Tomcat "admin" application (In Tomcat 4.1 its in the
\server\webapps\admin\WEB-INF folder). The admin app is actually a Struts
application. The <security-constraint>, <login-config> and <security-role>
sections are what controls container managed security for that app.

Tomcat "Admin" app web.xml:

http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/webapps/admin/WEB-
INF/web.xml?rev=1.8&view=auto

Niall

----- Original Message -----
From: "hhlow" <hh...@yahoo.com.au>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Monday, February 16, 2004 2:45 AM
Subject: Session Validation


> Hi,
>
> I am sorry if this question have been asked before.
> How can i check session validation? to check whether if the user is
> authenticated on each page.
> I read somewhere about Filters
> but i still do not know how to implement it.
>
> Currently I use a LoginAction to check the user details against the
database
> and then do the appropriate forwarding.
>
> Thank you
> Clement
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Session Validation

Posted by Niall Pemberton <ni...@blueyonder.co.uk>.
I'm not an expert on security but as I understand you have two choices. You
can either implement "container managed security" - where the servlet
container controls logging on and ensures that only authenticated users can
have access to the resources you specify OR you can control it yourself
within your application.

It sounds to me like your asking about the second. Typically when your
application controls security, you place something in the User's Session
when the user "logs on" to indicate that they have done so. Then in your
"Action" classes you check the session to see if they have logged on - if
not you forward them to the "logon" screen. If your jsp's are available you
also need to protect them - the struts sample used to have a tag (haven't
looked at it recently) which did the same kind of check. Alternatively you
could "hide" your jsps in the "WEB-INF" folder so that the user can't access
them directly and you don't need to do the jsp check.

The generally accepted view though is that it is better to choose the first
option - container managed security. If you use Tomcat, have a look at the
web.xml file for the Tomcat "admin" application (In Tomcat 4.1 its in the
\server\webapps\admin\WEB-INF folder). The admin app is actually a Struts
application. The <security-constraint>, <login-config> and <security-role>
sections are what controls container managed security for that app.

Tomcat "Admin" app web.xml:

http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/webapps/admin/WEB-INF/web.xml?rev=1.8&view=auto

Niall

----- Original Message ----- 
From: "hhlow" <hh...@yahoo.com.au>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Monday, February 16, 2004 2:45 AM
Subject: Session Validation


> Hi,
>
> I am sorry if this question have been asked before.
> How can i check session validation? to check whether if the user is
> authenticated on each page.
> I read somewhere about Filters
> but i still do not know how to implement it.
>
> Currently I use a LoginAction to check the user details against the
database
> and then do the appropriate forwarding.
>
> Thank you
> Clement
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Session Validation

Posted by hhlow <hh...@yahoo.com.au>.
Hi,

I am sorry if this question have been asked before.
How can i check session validation? to check whether if the user is
authenticated on each page.
I read somewhere about Filters
but i still do not know how to implement it.

Currently I use a LoginAction to check the user details against the database
and then do the appropriate forwarding.

Thank you
Clement


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: PageFlow within a Tile?!

Posted by lixin chu <li...@yahoo.com>.
this sounds like a Velocity-like feature.
dun if Struts supports this with Tiles

--- Dominik St�ttner <do...@gmx.net> wrote:
> Hi,
> 
> I am trying to write a webapp with struts and tiles
> that is similar to the portlet-technology. The
> tiles-documentation example provided with struts is
> very helpful to create the main functionality (e.g.
> customizing the portal by moving the tiles). But so
> far I haven`t figured out how to create a page flow
> within a tile. 
> For example in the tiles-documentation I want to add
> a link in one of the tiles and when clicking that
> link another page should be rendered within the
> framework. How can I achieve that?
> 
> Thanks in advance!!
> 
> dom
> 
> PS: Does anybody know when STRUTS 2.0 is supposed to
> be released? 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org