フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Martin Phee
Custom Servlet
2011/05/09 14:22
答え

Martin Phee

ランク: Junior Member

投稿: 25

参加年月日: 2011/05/09

最近の投稿

I created a custom servlet and it was working fine. I updated the struts-config-ext.xml and dropped my jar in the lib directory.

Now I want to move it to a more maintainable spot. Is the EXT plugin the proper place and if so in which project? I've tried creating one today and placing my code in ext-impl, but it just keeps throwing a 500 error when calling liferay. No stack traces.

Any help would be appreciated.
Martin Phee
RE: Custom Servlet
2011/05/09 14:37
答え

Martin Phee

ランク: Junior Member

投稿: 25

参加年月日: 2011/05/09

最近の投稿

Nevermind..... It's monday. I got it working, but the question still stands. Is there a proper package to place the files in?
Rajesh Nathi
RE: Custom Servlet
2011/05/09 15:25
答え

Rajesh Nathi

ランク: Junior Member

投稿: 71

参加年月日: 2011/03/08

最近の投稿

Hi Martin,

I think it is better to create a new war and access your custom servlet from portal. This way you can easily migrate and undeploy when required.

-Rajesh
Hitoshi Ozawa
RE: Custom Servlet
2011/05/09 16:38
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7990

参加年月日: 2010/03/23

最近の投稿

Is the EXT plugin the proper place and if so in which project?


EXT plugin is used to extend Liferay functionalities by overriding Liferay classes. If your servlet doesn't override Liferay classes, but uses Liferay classes, just make it into a Liferay plugin. If it doesn't use Liferay classes, just create an ordinary war file for your web project.