History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-17187
Type: Sub-task Sub-task
Status: Open Open
Assignee: Dmitry Avdeev
Reporter: Gregory BOISSINOT
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback
Struts Support when using wildcards in action mappings (IDEA-17172)

Incorrect validation file for generic struts pattern

Created: 17 Feb 08 15:34   Updated: 18 Feb 08 13:13
Component/s: J2EE.Struts

File Attachments: None
Image Attachments:

1. bug_struts-config_idea(1).gif
(21 kb)

2. bug_struts-config_idea(2).gif
(5 kb)
Environment:
Windows XP
IntelliJ IDEA 7.0.2
Struts 1.2.9

Build: 7,590
Severity: Medium


 Description  « Hide
I use a generic pattern for a portion of my Struts actions, like this :
<action path="/*ListBuilder" name="{1}Form" scope="session">
<forward name="list" path="/{1}List.jsp"/>
</action>
<action path="/*DetailBuilder" name="{1}Form" scope="session">
<forward name="detail" path="/{1}Detail.jsp"/>
</action>
Struts classes name are injected by Spring.

But when I refer to a generic action in a jsp file or in the struts-config file,
for exemple :
<a href="/cityDetailBuilder.do"> Detail</a>
or
<action name="cityForm" path="/back" scope="request" type="com.test.city.CityBack">
<forward name="back" path="/cityListBuilder.do"/>
</action>
IDEA does not recognize (validate) the previous Struts actions.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.