[Actionframework-users] empty action method
Status: Inactive
Brought to you by:
ptoman
From: Jakub C. <bla...@cb...> - 2003-04-08 15:25:11
|
Hello ActionServlet users! I am developing new website using AS. I really enjoy it. I have a kind of newbie question: I am using regex URLs almost everywhere. Sometimes I need to create URL and only display a template - without calling any action method. Is there some elegant way to have empty method in action? Right now I am using hashCode() call which simply does nothing, but it doesn't look very sexy. I know that I can create special component which will take template name as parameter and display it, but I would like to have my URLs consistent. They logically belong to some particular component so why put them somewhere else? Thanks in advance for all hints/comments. Best regards Jakub Cerny, Prague |