sure...

after a successful login there's a redirect.jspa?url=welcome.jspa so the url
is

url: http://localhost/app/welcome.jspa and the input view is
/app/html/access/welcome.jsp

see action.xml:

  <action name="Login" alias="login">
    <view name="success">redirect.jspa?url=welcome.jspa</view> 
  </action>

  <action name="Welcome" alias="welcome">
    <view name="input">html/access/welcome.jsp</view>
  </action>

what I've forgotten so say is that with ww 1.2.1 this doesn't work on orion
but it runs perfectly on bea! this is why the <ww:include> orion bug
fix/workaround was done, I suppose.

but now (cvs version) with this workaround it fail also on bea wls...:-(

another thing (perhpas it helps):
---------------------------------
with ww 1.2.1 on bea I can do either
<ww:include page="./../navigation/header.jsp" />
or
<ww:include page="../navigation/header.jsp" />
it doesn't matter both work.

see log out:
12.11.2002 17:36:20 [/html/access/welcome.jsp
/html/access/./../navigation/header.jsp /html/navigation/navigation.jsp
/html/navigation/navWelcome.jsp (ActionTag)] Action:
service

12.11.2002 17:36:49 [/html/access/welcome.jsp
/html/access/../navigation/header.jsp /html/navigation/navigation.jsp
/html/navigation/navWelcome.jsp (ActionTag)] Action:se
rvice


cheers
-paolo

>-----Original Message-----
>From: Maurice Parker [mailto:maurice.parker@;pmic.com]
>Sent: Tuesday, November 12, 2002 4:21 PM
>To: [EMAIL PROTECTED]
>Subject: Re: [OS-webwork] problems with the current cvs version:
><webwork:include> doesn't work
>
>
>Paolo,
>
>Could you add the URL you used and your directory structure to 
>this bug 
>report?
>
>Thanks,
>
>Maurice
>
>Vedovato Paolo wrote:
>
>>ww: current cvs version
>>app server: wls7.0sp1, orion 1.6.0
>>
>>using <ww:include page="../navigation/header.jsp" /> fails 
>with following
>>stacktraces:
>>
>>orion:
>>------
>>javax.servlet.jsp.JspTagException: 
>javax.servlet.ServletException: Not a
>>valid resource path:/html/access/navigation/header.jsp
>>      at webwork.view.taglib.IncludeTag.include(IncludeTag.java:47)
>>      at webwork.view.taglib.IncludeTag.doEndTag(IncludeTag.java:253)
>>      at
>>/html/access/welcome.jsp._jspService(/html/access/welcome.jsp.
>java:123)
>>      at com.orionserver[Orion/1.6.0 (build
>>10770)].http.OrionHttpJspPage.service(.:68)
>>      at com.evermind[Orion/1.6.0 (build 10770)]._ct._cxd(.:5703)
>>      at com.evermind[Orion/1.6.0 (build
>>10770)].server.http.JSPServlet.service(.:31)
>>      [...]
>>bea:
>>----
>><12.11.2002 16:01:08 CET> <Error> <HTTP> <101214> <Included 
>resource or file
>>"/app/html/access/navigation/header.jsp" not found from 
>requested resource
>>"/app/html/access/welcome.jsp".>
>>
>>is working correctly using ww 1.2.1
>>
>>cheers
>>-paolo
>>
>>
>>-------------------------------------------------------
>>This sf.net email is sponsored by:ThinkGeek
>>Welcome to geek heaven.
>>http://thinkgeek.com/sf
>>_______________________________________________
>>Opensymphony-webwork mailing list
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>>
>>  
>>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Opensymphony-webwork mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>


-------------------------------------------------------
This sf.net email is sponsored by: 
To learn the basics of securing your web site with SSL, 
click here to get a FREE TRIAL of a Thawte Server Certificate: 
http://www.gothawte.com/rd522.html
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to