Thanks you QM!
 
I just followed the example to use invoker, I don't understand what is that. So whats 
your suggestions? When I removed web.xml, the JSP is running, but servlet no longer 
runs.
I want to run both JSP and servlet. Please advise. Thanks!!

QM <[EMAIL PROTECTED]> wrote:
On Sat, Jun 05, 2004 at 11:38:27AM -0700, Matt Louden wrote:
: In tomcat, I want to know JSP files, Servlets, and Java classes 
: should put in different locations:

This breaks down into:
1/ the servlet spec (where you put classes, JARs, web.xml, etc)

2/ your app's architecture (JSPs, servlet URI mappings -- see a 
few texts/articles on best practices).


Your specific problem is this:

: 
: invoker
: /*
^^^^

You're mapping the invoker to _all_ URIs. The JSPs themselves will
never be called. If you want to use the invoker, map it to a deeper
URI, such as "/something/*"


Also, I feel a certain obligation to warn you against using the
invoker, but that's your choice.

-QM

-- 

software -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

                
---------------------------------
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger

Reply via email to