Hi Adam,

That was it!  Thank you very much - I wasn't using the html:link tag - just
using an <a href> tag and it was using the path relative from the current
jsp.

Thanks again,

Andy

-----Original Message-----
From: Adam Hardy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 2:04 PM
To: Struts Users Mailing List
Subject: Re: How do you handle multiple jsp directories?


My action mapping is the same as yours - see the html:link though, 
perhaps you need the / before the *.do

<html:link page="/beginQuestionSet.do" name="optionForm" 
property="setListQueryString">
            <bean:message key="option.link.questionSet"/>
</html:link>


[EMAIL PROTECTED] wrote:

>Hi Adam,
>
>I've got my jsps in the structure (relative to the root):
>/jsp/group1
>       group1jsp.jsp
>/jsp/group2
>       group2jsp.jsp
>
><!-- group 2 page action -->
><action path="/group2action"
>type="com.telemac.advantage.taac.action.Group2Action"
>name="group2Form" input="/jsp/group2/group2jsp.jsp" scope="request">
>      <forward name="view_list" path="/jsp/group2/group2jsp.jsp" />
></action>
>
>Now when a user is looking at group1jsp.jsp and selects a link to
>group2action.do, the path that it looks for is /jsp/group1/group2action
>When I want it just to look for /group2action
>
>
>How do you have your action mappings set up?
>
>
>Andy
>
>
>
>
>-----Original Message-----
>From: Adam Hardy [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 22, 2002 12:14 PM
>To: Struts Users Mailing List
>Subject: Re: How do you handle multiple jsp directories?
>
>
>I've got my jsps in 3 directories and I don't have any problem with 
>directories. I just reference them all relative to the root. What 
>situation are you talking about? I don't access any jsps directly - I 
>always go thro an action to get there.
>
>
>[EMAIL PROTECTED] wrote:
>
>  
>
>>I have a very large system (170 jsps) and want to split the jsps into
>>multiple directories for organization.  
>>
>>This causes problems with the directory prefix of the current page being
>>added to the path of the next page you're looking for.  Is there a trick
to
>>setting up the struts-config file when working with jsps in multiple
>>directories?
>>
>>Andy Cochrane
>>
>>--
>>To unsubscribe, e-mail:
>>    
>>
><mailto:[EMAIL PROTECTED]>
>  
>
>>For additional commands, e-mail:
>>    
>>
><mailto:[EMAIL PROTECTED]>
>  
>
>> 
>>
>>    
>>
>
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>  
>



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to