I am sure that while debugging one day I came across
some code that indicated that the preferred delimiter
for directory names was the comma and that the use
of a slash would entail additional processing.
Quite by accident today I changed the delimiter of an
action from this:
.setAction("content.SaveTopic")
to this:
.setAction("content,content,SaveTopic")
(note that the extra "content" directory was the real
change I wanted to make. Unfortunately the use of
commas resulted in the action not being found -
here is the exception:
Exception: java.lang.ClassNotFoundException:
at org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java:174)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:143)
at org.apache.turbine.modules.Page.build(Page.java:90)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
at org.apache.turbine.Turbine.doGet(Turbine.java:447)
at org.apache.turbine.Turbine.doPost(Turbine.java:537)
What is the deal with path delimiters? I have seen
comma, slash and full-stop used seemingly inconsistently.
Do the different delimiters have different meanings?
Which ones should I be using? Obviously not commas
for actions.
Thanks,
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]