You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Deepak Lalchandani <de...@gmail.com> on 2022/07/26 18:58:14 UTC
Issue in Struts (login.jsp)
Hi Struts users ,
I am facing error as below .Please help me to fix this issue
Im Getting error.as below
Servlet.service() for servlet [jsp] in context with path [/MyProjectTool]
threw exception [Unable to find taglib [bean] for URI: [/tags/struts-bean]]
with root cause
HTTP Status 500 – Internal Server Error
------------------------------
*Type* Exception Report
*Message* Unable to find taglib [bean] for URI: [/tags/struts-bean]
*Description* The server encountered an unexpected condition that prevented
it from fulfilling the request.
*Exception*
org.apache.jasper.JasperException: Unable to find taglib [bean] for
URI: [/tags/struts-bean]
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:294)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:176)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:487)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
org.apache.jasper.compiler.Parser.parse(Parser.java:138)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:206)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:391)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
*Note* The full stack trace of the root cause is available in the server
logs.
My web.xml has been added as below
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>login.jsp</welcome-file>
</welcome-file-list>
Login.jsp has below entries
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
All the tlds are under WEB-INF folder.
Further i am accessing the url as
http://127.0.0.1:8080/MyProjectTool/pages/login.jsp
HTTP Status 404 – Not Found
------------------------------
*Type* Status Report
*Message* JSP file [/pages/login.jsp] not found
*Description* The origin server did not find a current representation for
the target resource or is not willing to disclose that one exists
Please help me to resolve this issue !!!
Regards,
Deepak
Re: Issue in Struts (login.jsp)
Posted by Deepak Lalchandani <de...@gmail.com>.
Please help me with below issue ?
On Wed, 27 Jul 2022, 12:28 am Deepak Lalchandani, <de...@gmail.com>
wrote:
> Hi Struts users ,
> I am facing error as below .Please help me to fix this issue
>
>
> Im Getting error.as below
>
> Servlet.service() for servlet [jsp] in context with path [/MyProjectTool]
> threw exception [Unable to find taglib [bean] for URI: [/tags/struts-bean]]
> with root cause
>
> HTTP Status 500 – Internal Server Error
> ------------------------------
>
> *Type* Exception Report
>
> *Message* Unable to find taglib [bean] for URI: [/tags/struts-bean]
>
> *Description* The server encountered an unexpected condition that
> prevented it from fulfilling the request.
>
> *Exception*
>
> org.apache.jasper.JasperException: Unable to find taglib [bean] for URI: [/tags/struts-bean]
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54)
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:294)
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
> org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:176)
> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
> org.apache.jasper.compiler.Parser.parseDirective(Parser.java:487)
> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
> org.apache.jasper.compiler.Parser.parse(Parser.java:138)
> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:206)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:391)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
> jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
>
> *Note* The full stack trace of the root cause is available in the server
> logs.
>
> My web.xml has been added as below
>
> <welcome-file-list>
> <welcome-file>index.html</welcome-file>
> <welcome-file>index.htm</welcome-file>
> <welcome-file>login.jsp</welcome-file>
> </welcome-file-list>
>
> Login.jsp has below entries
>
> <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
> <%@ taglib uri="/tags/struts-html" prefix="html" %>
>
> All the tlds are under WEB-INF folder.
>
> Further i am accessing the url as
> http://127.0.0.1:8080/MyProjectTool/pages/login.jsp
>
> HTTP Status 404 – Not Found
> ------------------------------
>
> *Type* Status Report
>
> *Message* JSP file [/pages/login.jsp] not found
>
> *Description* The origin server did not find a current representation for
> the target resource or is not willing to disclose that one exists
>
>
> Please help me to resolve this issue !!!
>
> Regards,
> Deepak
>
>
>
>
Re: Issue in Struts (login.jsp)
Posted by Lukasz Lenart <lu...@apache.org>.
Sorry, but I can't help you more, I haven't been using Struts 1 for
over 10 years now.
czw., 28 lip 2022 o 16:42 Deepak Lalchandani <de...@gmail.com>
napisał(a):
>
> Hi Lukaz,
> i did all the steps which was required but still facing issue as below,please help..
>
> org.apache.jasper.JasperException: Unable to find taglib [bean] for URI: [/tags/struts-bean]
> > > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54)
> > > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:294)
> > > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
> > > org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:176)
> > > org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
> > > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:487)
> > > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
> > > org.apache.jasper.compiler.Parser.parse(Parser.java:138)
> > > org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
> > > org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
> > > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:206)
> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:391)
> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
> > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
> > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
> > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
> > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
> > > jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
> > > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> > >
> > > *Note* The full stack trace of the root cause is available in the server
> > > logs.
> > >
> > > My web.xml has been added as below
> > >
> > > <welcome-file-list>
> > > <welcome-file>index.html</welcome-file>
> > > <welcome-file>index.htm</welcome-file>
> > > <welcome-file>login.jsp</welcome-file>
> > > </welcome-file-list>
> > >
> > > Login.jsp has below entries
> > >
> > > <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
> > > <%@ taglib uri="/tags/struts-html" prefix="html" %>
> > >
> > > All the tlds are under WEB-INF folder.
> > >
> > > Further i am accessing the url as
> > > http://127.0.0.1:8080/MyProjectTool/pages/login.jsp
> > >
> > > HTTP Status 404 – Not Found
> > > ------------------------------
> > >
> > > *Type* Status Report
> > >
> > > *Message* JSP file [/pages/login.jsp] not found
> > >
> > > *Description* The origin server did not find a current representation for
>
> On Thu, Jul 28, 2022 at 12:28 AM Lukasz Lenart <lu...@apache.org> wrote:
>>
>> Posting the same question three times won't help, please stop doing it!
>>
>> Apache Struts 1 is EOF [1] and you shouldn't use it for a new kind of
>> development and expect any kind of support. Searching internet can
>> help [2]
>>
>> [1] https://struts.apache.org/struts1eol-announcement.html
>> [2] https://mkyong.com/struts/configure-the-struts-tag-libraries/
>>
>>
>> Regards
>> Łukasz
>>
>> śr., 27 lip 2022 o 08:55 Deepak Lalchandani <de...@gmail.com> napisał(a):
>> >
>> > Hi Struts users ,
>> > I am facing error as below .Please help me to fix this issue
>> >
>> >
>> > Im Getting error.as below
>> >
>> > Servlet.service() for servlet [jsp] in context with path [/MyProjectTool]
>> > threw exception [Unable to find taglib [bean] for URI: [/tags/struts-bean]]
>> > with root cause
>> >
>> > HTTP Status 500 – Internal Server Error
>> > Type Exception Report
>> >
>> > Message Unable to find taglib [bean] for URI: [/tags/struts-bean]
>> >
>> > Description The server encountered an unexpected condition that prevented
>> > it from fulfilling the request.
>> >
>> > Exception
>> >
>> > org.apache.jasper.JasperException: Unable to find taglib [bean] for URI:
>> > [/tags/struts-bean]
>> > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54)
>> > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:294)
>> > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
>> > org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:176)
>> > org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
>> > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:487)
>> > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
>> > org.apache.jasper.compiler.Parser.parse(Parser.java:138)
>> > org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
>> > org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
>> > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:206)
>> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:391)
>> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
>> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
>> > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
>> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
>> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
>> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
>> > jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
>> > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
>> > Note The full stack trace of the root cause is available in the server logs.
>> >
>> >
>> > My web.xml has been added as below
>> >
>> > <welcome-file-list>
>> > <welcome-file>index.html</welcome-file>
>> > <welcome-file>index.htm</welcome-file>
>> > <welcome-file>login.jsp</welcome-file>
>> > </welcome-file-list>
>> >
>> > Login.jsp has below entries
>> >
>> > <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
>> > <%@ taglib uri="/tags/struts-html" prefix="html" %>
>> >
>> > All the tlds are under WEB-INF folder.
>> >
>> > Further i am accessing the url as
>> > http://127.0.0.1:8080/MyProjectTool/pages/login.jsp
>> >
>> >
>> >
>> > On Wed, 27 Jul 2022, 12:28 am Deepak Lalchandani, <de...@gmail.com>
>> > wrote:
>> >
>> > > Hi Struts users ,
>> > > I am facing error as below .Please help me to fix this issue
>> > >
>> > >
>> > > Im Getting error.as below
>> > >
>> > > Servlet.service() for servlet [jsp] in context with path [/MyProjectTool]
>> > > threw exception [Unable to find taglib [bean] for URI: [/tags/struts-bean]]
>> > > with root cause
>> > >
>> > > HTTP Status 500 – Internal Server Error
>> > > ------------------------------
>> > >
>> > > *Type* Exception Report
>> > >
>> > > *Message* Unable to find taglib [bean] for URI: [/tags/struts-bean]
>> > >
>> > > *Description* The server encountered an unexpected condition that
>> > > prevented it from fulfilling the request.
>> > >
>> > > *Exception*
>> > >
>> > > org.apache.jasper.JasperException: Unable to find taglib [bean] for URI: [/tags/struts-bean]
>> > > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54)
>> > > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:294)
>> > > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
>> > > org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:176)
>> > > org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
>> > > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:487)
>> > > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
>> > > org.apache.jasper.compiler.Parser.parse(Parser.java:138)
>> > > org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
>> > > org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
>> > > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:206)
>> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:391)
>> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
>> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
>> > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
>> > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
>> > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
>> > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
>> > > jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
>> > > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
>> > >
>> > > *Note* The full stack trace of the root cause is available in the server
>> > > logs.
>> > >
>> > > My web.xml has been added as below
>> > >
>> > > <welcome-file-list>
>> > > <welcome-file>index.html</welcome-file>
>> > > <welcome-file>index.htm</welcome-file>
>> > > <welcome-file>login.jsp</welcome-file>
>> > > </welcome-file-list>
>> > >
>> > > Login.jsp has below entries
>> > >
>> > > <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
>> > > <%@ taglib uri="/tags/struts-html" prefix="html" %>
>> > >
>> > > All the tlds are under WEB-INF folder.
>> > >
>> > > Further i am accessing the url as
>> > > http://127.0.0.1:8080/MyProjectTool/pages/login.jsp
>> > >
>> > > HTTP Status 404 – Not Found
>> > > ------------------------------
>> > >
>> > > *Type* Status Report
>> > >
>> > > *Message* JSP file [/pages/login.jsp] not found
>> > >
>> > > *Description* The origin server did not find a current representation for
>> > > the target resource or is not willing to disclose that one exists
>> > >
>> > >
>> > > Please help me to resolve this issue !!!
>> > >
>> > > Regards,
>> > > Deepak
>> > >
>> > >
>> > >
>> > >
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Issue in Struts (login.jsp)
Posted by Deepak Lalchandani <de...@gmail.com>.
Hi Lukaz,
i did all the steps which was required but still facing
issue as below,please help..
org.apache.jasper.JasperException: Unable to find taglib [bean] for URI:
[/tags/struts-bean]
> >
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54)
> >
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:294)
> >
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
> >
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:176)
> >
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
> > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:487)
> > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
> > org.apache.jasper.compiler.Parser.parse(Parser.java:138)
> >
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
> >
org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
> >
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:206)
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:391)
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
> >
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
> >
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
> >
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
> > jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
> >
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> >
> > *Note* The full stack trace of the root cause is available in the server
> > logs.
> >
> > My web.xml has been added as below
> >
> > <welcome-file-list>
> > <welcome-file>index.html</welcome-file>
> > <welcome-file>index.htm</welcome-file>
> > <welcome-file>login.jsp</welcome-file>
> > </welcome-file-list>
> >
> > Login.jsp has below entries
> >
> > <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
> > <%@ taglib uri="/tags/struts-html" prefix="html" %>
> >
> > All the tlds are under WEB-INF folder.
> >
> > Further i am accessing the url as
> > http://127.0.0.1:8080/MyProjectTool/pages/login.jsp
> >
> > HTTP Status 404 – Not Found
> > ------------------------------
> >
> > *Type* Status Report
> >
> > *Message* JSP file [/pages/login.jsp] not found
> >
> > *Description* The origin server did not find a current representation
for
On Thu, Jul 28, 2022 at 12:28 AM Lukasz Lenart <lu...@apache.org>
wrote:
> Posting the same question three times won't help, please stop doing it!
>
> Apache Struts 1 is EOF [1] and you shouldn't use it for a new kind of
> development and expect any kind of support. Searching internet can
> help [2]
>
> [1] https://struts.apache.org/struts1eol-announcement.html
> [2] https://mkyong.com/struts/configure-the-struts-tag-libraries/
>
>
> Regards
> Łukasz
>
> śr., 27 lip 2022 o 08:55 Deepak Lalchandani <de...@gmail.com>
> napisał(a):
> >
> > Hi Struts users ,
> > I am facing error as below .Please help me to fix this issue
> >
> >
> > Im Getting error.as below
> >
> > Servlet.service() for servlet [jsp] in context with path [/MyProjectTool]
> > threw exception [Unable to find taglib [bean] for URI:
> [/tags/struts-bean]]
> > with root cause
> >
> > HTTP Status 500 – Internal Server Error
> > Type Exception Report
> >
> > Message Unable to find taglib [bean] for URI: [/tags/struts-bean]
> >
> > Description The server encountered an unexpected condition that prevented
> > it from fulfilling the request.
> >
> > Exception
> >
> > org.apache.jasper.JasperException: Unable to find taglib [bean] for URI:
> > [/tags/struts-bean]
> >
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54)
> >
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:294)
> >
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
> >
> org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:176)
> > org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
> > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:487)
> > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
> > org.apache.jasper.compiler.Parser.parse(Parser.java:138)
> >
> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
> >
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
> > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:206)
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:391)
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
> >
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
> > jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
> > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> > Note The full stack trace of the root cause is available in the server
> logs.
> >
> >
> > My web.xml has been added as below
> >
> > <welcome-file-list>
> > <welcome-file>index.html</welcome-file>
> > <welcome-file>index.htm</welcome-file>
> > <welcome-file>login.jsp</welcome-file>
> > </welcome-file-list>
> >
> > Login.jsp has below entries
> >
> > <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
> > <%@ taglib uri="/tags/struts-html" prefix="html" %>
> >
> > All the tlds are under WEB-INF folder.
> >
> > Further i am accessing the url as
> > http://127.0.0.1:8080/MyProjectTool/pages/login.jsp
> >
> >
> >
> > On Wed, 27 Jul 2022, 12:28 am Deepak Lalchandani, <
> deepakl.2000@gmail.com>
> > wrote:
> >
> > > Hi Struts users ,
> > > I am facing error as below .Please help me to fix this issue
> > >
> > >
> > > Im Getting error.as below
> > >
> > > Servlet.service() for servlet [jsp] in context with path
> [/MyProjectTool]
> > > threw exception [Unable to find taglib [bean] for URI:
> [/tags/struts-bean]]
> > > with root cause
> > >
> > > HTTP Status 500 – Internal Server Error
> > > ------------------------------
> > >
> > > *Type* Exception Report
> > >
> > > *Message* Unable to find taglib [bean] for URI: [/tags/struts-bean]
> > >
> > > *Description* The server encountered an unexpected condition that
> > > prevented it from fulfilling the request.
> > >
> > > *Exception*
> > >
> > > org.apache.jasper.JasperException: Unable to find taglib [bean] for
> URI: [/tags/struts-bean]
> > >
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54)
> > >
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:294)
> > >
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
> > >
> org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:176)
> > >
> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
> > > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:487)
> > > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
> > > org.apache.jasper.compiler.Parser.parse(Parser.java:138)
> > >
> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
> > >
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
> > >
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:206)
> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:391)
> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
> > >
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
> > >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
> > >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
> > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
> > > jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
> > >
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> > >
> > > *Note* The full stack trace of the root cause is available in the
> server
> > > logs.
> > >
> > > My web.xml has been added as below
> > >
> > > <welcome-file-list>
> > > <welcome-file>index.html</welcome-file>
> > > <welcome-file>index.htm</welcome-file>
> > > <welcome-file>login.jsp</welcome-file>
> > > </welcome-file-list>
> > >
> > > Login.jsp has below entries
> > >
> > > <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
> > > <%@ taglib uri="/tags/struts-html" prefix="html" %>
> > >
> > > All the tlds are under WEB-INF folder.
> > >
> > > Further i am accessing the url as
> > > http://127.0.0.1:8080/MyProjectTool/pages/login.jsp
> > >
> > > HTTP Status 404 – Not Found
> > > ------------------------------
> > >
> > > *Type* Status Report
> > >
> > > *Message* JSP file [/pages/login.jsp] not found
> > >
> > > *Description* The origin server did not find a current representation
> for
> > > the target resource or is not willing to disclose that one exists
> > >
> > >
> > > Please help me to resolve this issue !!!
> > >
> > > Regards,
> > > Deepak
> > >
> > >
> > >
> > >
>
Re: Issue in Struts (login.jsp)
Posted by Lukasz Lenart <lu...@apache.org>.
Posting the same question three times won't help, please stop doing it!
Apache Struts 1 is EOF [1] and you shouldn't use it for a new kind of
development and expect any kind of support. Searching internet can
help [2]
[1] https://struts.apache.org/struts1eol-announcement.html
[2] https://mkyong.com/struts/configure-the-struts-tag-libraries/
Regards
Łukasz
śr., 27 lip 2022 o 08:55 Deepak Lalchandani <de...@gmail.com> napisał(a):
>
> Hi Struts users ,
> I am facing error as below .Please help me to fix this issue
>
>
> Im Getting error.as below
>
> Servlet.service() for servlet [jsp] in context with path [/MyProjectTool]
> threw exception [Unable to find taglib [bean] for URI: [/tags/struts-bean]]
> with root cause
>
> HTTP Status 500 – Internal Server Error
> Type Exception Report
>
> Message Unable to find taglib [bean] for URI: [/tags/struts-bean]
>
> Description The server encountered an unexpected condition that prevented
> it from fulfilling the request.
>
> Exception
>
> org.apache.jasper.JasperException: Unable to find taglib [bean] for URI:
> [/tags/struts-bean]
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54)
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:294)
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
> org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:176)
> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
> org.apache.jasper.compiler.Parser.parseDirective(Parser.java:487)
> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
> org.apache.jasper.compiler.Parser.parse(Parser.java:138)
> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:206)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:391)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
> jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> Note The full stack trace of the root cause is available in the server logs.
>
>
> My web.xml has been added as below
>
> <welcome-file-list>
> <welcome-file>index.html</welcome-file>
> <welcome-file>index.htm</welcome-file>
> <welcome-file>login.jsp</welcome-file>
> </welcome-file-list>
>
> Login.jsp has below entries
>
> <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
> <%@ taglib uri="/tags/struts-html" prefix="html" %>
>
> All the tlds are under WEB-INF folder.
>
> Further i am accessing the url as
> http://127.0.0.1:8080/MyProjectTool/pages/login.jsp
>
>
>
> On Wed, 27 Jul 2022, 12:28 am Deepak Lalchandani, <de...@gmail.com>
> wrote:
>
> > Hi Struts users ,
> > I am facing error as below .Please help me to fix this issue
> >
> >
> > Im Getting error.as below
> >
> > Servlet.service() for servlet [jsp] in context with path [/MyProjectTool]
> > threw exception [Unable to find taglib [bean] for URI: [/tags/struts-bean]]
> > with root cause
> >
> > HTTP Status 500 – Internal Server Error
> > ------------------------------
> >
> > *Type* Exception Report
> >
> > *Message* Unable to find taglib [bean] for URI: [/tags/struts-bean]
> >
> > *Description* The server encountered an unexpected condition that
> > prevented it from fulfilling the request.
> >
> > *Exception*
> >
> > org.apache.jasper.JasperException: Unable to find taglib [bean] for URI: [/tags/struts-bean]
> > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54)
> > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:294)
> > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
> > org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:176)
> > org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
> > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:487)
> > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
> > org.apache.jasper.compiler.Parser.parse(Parser.java:138)
> > org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
> > org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
> > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:206)
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:391)
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
> > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
> > jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
> > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> >
> > *Note* The full stack trace of the root cause is available in the server
> > logs.
> >
> > My web.xml has been added as below
> >
> > <welcome-file-list>
> > <welcome-file>index.html</welcome-file>
> > <welcome-file>index.htm</welcome-file>
> > <welcome-file>login.jsp</welcome-file>
> > </welcome-file-list>
> >
> > Login.jsp has below entries
> >
> > <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
> > <%@ taglib uri="/tags/struts-html" prefix="html" %>
> >
> > All the tlds are under WEB-INF folder.
> >
> > Further i am accessing the url as
> > http://127.0.0.1:8080/MyProjectTool/pages/login.jsp
> >
> > HTTP Status 404 – Not Found
> > ------------------------------
> >
> > *Type* Status Report
> >
> > *Message* JSP file [/pages/login.jsp] not found
> >
> > *Description* The origin server did not find a current representation for
> > the target resource or is not willing to disclose that one exists
> >
> >
> > Please help me to resolve this issue !!!
> >
> > Regards,
> > Deepak
> >
> >
> >
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Issue in Struts (login.jsp)
Posted by Deepak Lalchandani <de...@gmail.com>.
Hi Struts users ,
I am facing error as below .Please help me to fix this issue
Im Getting error.as below
Servlet.service() for servlet [jsp] in context with path [/MyProjectTool]
threw exception [Unable to find taglib [bean] for URI: [/tags/struts-bean]]
with root cause
HTTP Status 500 – Internal Server Error
Type Exception Report
Message Unable to find taglib [bean] for URI: [/tags/struts-bean]
Description The server encountered an unexpected condition that prevented
it from fulfilling the request.
Exception
org.apache.jasper.JasperException: Unable to find taglib [bean] for URI:
[/tags/struts-bean]
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:294)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:176)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:487)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
org.apache.jasper.compiler.Parser.parse(Parser.java:138)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:206)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:391)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
Note The full stack trace of the root cause is available in the server logs.
My web.xml has been added as below
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>login.jsp</welcome-file>
</welcome-file-list>
Login.jsp has below entries
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
All the tlds are under WEB-INF folder.
Further i am accessing the url as
http://127.0.0.1:8080/MyProjectTool/pages/login.jsp
On Wed, 27 Jul 2022, 12:28 am Deepak Lalchandani, <de...@gmail.com>
wrote:
> Hi Struts users ,
> I am facing error as below .Please help me to fix this issue
>
>
> Im Getting error.as below
>
> Servlet.service() for servlet [jsp] in context with path [/MyProjectTool]
> threw exception [Unable to find taglib [bean] for URI: [/tags/struts-bean]]
> with root cause
>
> HTTP Status 500 – Internal Server Error
> ------------------------------
>
> *Type* Exception Report
>
> *Message* Unable to find taglib [bean] for URI: [/tags/struts-bean]
>
> *Description* The server encountered an unexpected condition that
> prevented it from fulfilling the request.
>
> *Exception*
>
> org.apache.jasper.JasperException: Unable to find taglib [bean] for URI: [/tags/struts-bean]
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54)
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:294)
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
> org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:176)
> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
> org.apache.jasper.compiler.Parser.parseDirective(Parser.java:487)
> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
> org.apache.jasper.compiler.Parser.parse(Parser.java:138)
> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:206)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:391)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
> jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
>
> *Note* The full stack trace of the root cause is available in the server
> logs.
>
> My web.xml has been added as below
>
> <welcome-file-list>
> <welcome-file>index.html</welcome-file>
> <welcome-file>index.htm</welcome-file>
> <welcome-file>login.jsp</welcome-file>
> </welcome-file-list>
>
> Login.jsp has below entries
>
> <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
> <%@ taglib uri="/tags/struts-html" prefix="html" %>
>
> All the tlds are under WEB-INF folder.
>
> Further i am accessing the url as
> http://127.0.0.1:8080/MyProjectTool/pages/login.jsp
>
> HTTP Status 404 – Not Found
> ------------------------------
>
> *Type* Status Report
>
> *Message* JSP file [/pages/login.jsp] not found
>
> *Description* The origin server did not find a current representation for
> the target resource or is not willing to disclose that one exists
>
>
> Please help me to resolve this issue !!!
>
> Regards,
> Deepak
>
>
>
>