[vwnc] [vw76nc] servlet lookup

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] [vw76nc] servlet lookup

Ernest Micklei
The WebAppDevGuide says  'Any servlet class loaded in the VisualWorks image is ready for activation'

That is certainly true for servlets defined in the Smalltalk or Smalltalk.VisualWave namespace
but fails if my servlet is defined in another. Should it be defined there or is there a way to configure otherwise?

--
^ Ernest

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Software Artist - http://www.philemonworks.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [vw76nc] servlet lookup

Alan Knight-2
A web site instance has a variable which defines in which namespace to look things up.

At 03:20 PM 4/3/2009, Ernest Micklei wrote:
The WebAppDevGuide says  'Any servlet class loaded in the VisualWorks image is ready for activation'

That is certainly true for servlets defined in the Smalltalk or Smalltalk.VisualWave namespace
but fails if my servlet is defined in another. Should it be defined there or is there a way to configure otherwise?

--
^ Ernest

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Software Artist - http://www.philemonworks.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

--
Alan Knight [|], Engineering Manager, Cincom Smalltalk

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [vw76nc] servlet lookup

Mark Roberts
In reply to this post by Ernest Micklei
At 04:20 AM 4/4/2009, Ernest Micklei wrote:
The WebAppDevGuide says  'Any servlet class loaded in the VisualWorks image is ready for activation'

That is certainly true for servlets defined in the Smalltalk or Smalltalk.VisualWave namespace
but fails if my servlet is defined in another. Should it be defined there or is there a way to configure otherwise?

When you set up the web site object (either via the configuration file or via the WTK admin interface), there's a name space attribute that you can configure.

On p. 6-6 of the Web Application Developer's Guide, there's a note about this:

The namespace of the Web site you define for servlets must include the namespace in which your servlets and support classes are defined. For details on setting this namespace in the site object, see “Creating and Configuring a Site” on page 5-5.

For more details, also see p. 5-10 of the same guide.

Regards,

M. Roberts
Cincom Systems, Inc.
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [vw76nc] servlet lookup

Ernest Micklei
Thank you for the quick responses; missed that note while RTFM.

On Fri, Apr 3, 2009 at 10:40 PM, Mark D. Roberts <[hidden email]> wrote:
At 04:20 AM 4/4/2009, Ernest Micklei wrote:
The WebAppDevGuide says  'Any servlet class loaded in the VisualWorks image is ready for activation'

That is certainly true for servlets defined in the Smalltalk or Smalltalk.VisualWave namespace
but fails if my servlet is defined in another. Should it be defined there or is there a way to configure otherwise?

When you set up the web site object (either via the configuration file or via the WTK admin interface), there's a name space attribute that you can configure.

On p. 6-6 of the Web Application Developer's Guide, there's a note about this:

The namespace of the Web site you define for servlets must include the namespace in which your servlets and support classes are defined. For details on setting this namespace in the site object, see “Creating and Configuring a Site” on page 5-5.

For more details, also see p. 5-10 of the same guide.

Regards,

M. Roberts
Cincom Systems, Inc.



--
^ Ernest

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Software Artist - http://www.philemonworks.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc