People have done it, but it's a delicate thing to try. The recommended approach is to use Struts 1.1 modules. To customize the front controller logic for each module, you can plug in alternate Request Processors if needed. This gives you all the benefits of having multiple servlets, without the extra overhead. (There is *no* performance benefit in having multiple servlets that do the same thing.)

A better place to ask questions like this would be the Struts USER list. This is where you'd ask if we were going to support multiple servlets in the future. (Answer to that one: not any time soon.)

-Ted.

Karikalan Kumaresan wrote:
Hi,

Does anyone know, is it possible to have 2 action servlet configured in
struts for different project in a same JVM/in same webserver.

Cheers,
Kari...

-----Original Message-----
From: Steve Raeburn [mailto:[EMAIL PROTECTED]
Sent: 14 November 2003 07:15
To: Struts Developers List
Subject: RE: Parsing Error in struts



Most likely you haven't closed a JSP tag correctly. Try commenting out sections of your JSP to narrow down where the error is.

But you should be asking on the struts-user list not here.

Steve


-----Original Message-----
From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED]
Sent: November 13, 2003 9:21 PM
To: Struts Developers List
Subject: Parsing Error in struts


I am getting following error is there anybody who can guide me for he same....

[11/14/03 10:38:12:954 GMT+05:30] 11d6d752 WebGroup      E SRVE0026E:
[Servlet Error]-[End of content reached while more parsing
required: tag
nesting error?]: org.apache.jasper.compiler.ParseException:
End of content
reached while more parsing required: tag nesting error?
at org.apache.jasper.compiler.JspReader.popFile(JspReader.java:293)
at
org.apache.jasper.compiler.JspReader.hasMoreInput(JspReader.ja
va(Compiled
Code))
at
org.apache.jasper.compiler.Parser.parse(Parser.java(Compiled Code))
at
org.apache.jasper.compiler.Parser.parse(Parser.java(Inlined Compiled
Code))
at
org.apache.jasper.compiler.Parser$Tag.accept(Parser.java(Compi
led Code))
at
org.apache.jasper.compiler.Parser.parse(Parser.java(Compiled Code))
at
org.apache.jasper.compiler.Parser.parse(Parser.java(Inlined Compiled
Code))
at
org.apache.jasper.compiler.Parser$Tag.accept(Parser.java(Compi
led Code))
at
org.apache.jasper.compiler.Parser.parse(Parser.java(Compiled Code))
at
org.apache.jasper.compiler.Parser.parse(Parser.java(Inlined Compiled
Code))
at
org.apache.jasper.compiler.Parser$Tag.accept(Parser.java(Compi
led Code))
at
org.apache.jasper.compiler.Parser.parse(Parser.java(Compiled Code))
at org.apache.jasper.compiler.Parser.parse(Parser.java:1110)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1106)
at
org.apache.jasper.compiler.ParserController.parse(ParserContro
ller.java:309)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java(Compiled
Code))
at
com.ibm.ws.webcontainer.jsp.servlet.JspServlet.loadJSP(JspServ
let.java(Compi
led Code))
at
com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapp
er.loadIfNeces
sary(JspServlet.java(Compiled Code))
at
com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapp
er.service(Jsp
Servlet.java(Compiled Code))
at
com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(
JspServlet.jav
a(Compiled Code))
at
com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServ
let.java(Compi
led Code))
at
javax.servlet.http.HttpServlet.service(HttpServlet.java(Compil
ed Code))
at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doServic
e(StrictServle
tInstance.java(Compiled Code))
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._servic
e(StrictLifecy
cleServlet.java(Compiled Code))
at
com.ibm.ws.webcontainer.servlet.IdleServletState.service(Stric
tLifecycleServ
let.java(Compiled Code))
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service
(StrictLifecyc
leServlet.java(Inlined Compiled Code))
at
com.ibm.ws.webcontainer.servlet.ServletInstance.service(Servle
tInstance.java
(Compiled Code))
at
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dis
patch(ValidSer
vletReferenceState.java(Compiled Code))
at
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispa
tch(ServletIns
tanceReference.java(Inlined Compiled Code))
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleW
ebAppDispatch(
WebAppRequestDispatcher.java(Compiled Code))
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatc
h(WebAppReques
tDispatcher.java(Compiled Code))
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward
(WebAppRequest
Dispatcher.java(Compiled Code))
at
org.apache.struts.action.RequestProcessor.doForward(RequestPro
cessor.java:10
69)
at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesR
equestProcesso
r.java:274)
at
org.apache.struts.action.RequestProcessor.processForwardConfig
(RequestProces
sor.java:455)
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardCo
nfig(TilesRequ
estProcessor.java:320)
at
org.apache.struts.action.RequestProcessor.process(RequestProce
ssor.java:279)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.j
ava:1480)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java(Compil
ed Code))
at
javax.servlet.http.HttpServlet.service(HttpServlet.java(Compil
ed Code))
at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doServic
e(StrictServle
tInstance.java(Compiled Code))
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._servic
e(StrictLifecy
cleServlet.java(Compiled Code))
at
com.ibm.ws.webcontainer.servlet.IdleServletState.service(Stric
tLifecycleServ
let.java(Compiled Code))
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service
(StrictLifecyc
leServlet.java(Inlined Compiled Code))
at
com.ibm.ws.webcontainer.servlet.ServletInstance.service(Servle
tInstance.java
(Compiled Code))
at
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dis
patch(ValidSer
vletReferenceState.java(Compiled Code))
at
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispa
tch(ServletIns
tanceReference.java(Inlined Compiled Code))
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleW
ebAppDispatch(
WebAppRequestDispatcher.java(Compiled Code))
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatc
h(WebAppReques
tDispatcher.java(Compiled Code))
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward
(WebAppRequest
Dispatcher.java(Compiled Code))
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvo
ker.java(Compi
led Code))
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook
(WebAppInvoker
.java(Compiled Code))
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.hand
leInvocation(C
achedInvocation.java(Compiled Code))
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchBy
URI(ServletReq
uestProcessor.java(Compiled Code))
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.serv
ice(OSEListene
r.java(Compiled Code))
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(Http
Connection.jav
a(Compiled Code))
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnec
tion.java(Comp
iled Code))
at
com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code))
at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))


thankx in advace...


abhijeet



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







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

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



-- Ted Husted, Junit in Action - <http://www.manning.com/massol/>, Struts in Action - <http://husted.com/struts/book.html>, JSP Site Design - <http://www.amazon.com/exec/obidos/ISBN=1861005512>.



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



Reply via email to