servlet in jbuilder

– HttpServlet servlet schreiben

– neues webmodule in JBuilder, libs einbinden

– ins web.xml Klasse (hier ‘NtlmHttpAuthExample’) und mapping

<servlet>
<servlet-name>ntlm</servlet-name>
<servlet-class>NtlmHttpAuthExample</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ntlm</servlet-name>
<url-pattern>/ntlm</url-pattern>
</servlet-mapping>

– web.xml auf schreibgeschützt setzen

– runtimeconfig für server: services/JSP launch uri setzen

z.b. auf http://localhost:8083/ntlm_test/ntlm setzen

Advertisements
This entry was posted in howtos. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s