This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Help me resolve the error: HTTP Status 500

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My error

 
Jobi Vijay
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My struct.xml code
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN" "http://struts.apache.org/dtds/struts-2.1.dtd">;
<struts>
<constant name="struts.enable.DynamicMethodInvocation" value="false"></constant>
<constant name="struts.devMode" value="false"></constant>
<constant name="struts.custom.i18n.resources" value="KasrProperties"></constant>
<package name="default" extends="struts-default" namespace="/">

<action name="registerform" class="com.kasrlogic.Register">
<result name="success">index.jsp</result>
<result name="input">register.jsp</result>
<result name="error">register.jsp</result>
</action>

<action name="loginform" class="com.kasrlogic.Login">
<result name="success">kasruserhotels.jsp</result>
<result name="input">login.jsp</result>
<result name="error">login.jsp</result>
</action>

<action name="adminloginform" class="com.kasrlogic.Login" method="adminLogin">
<result name="success">admin.jsp</result>
<result name="input">adminlogin.jsp</result>
<result name="error">adminlogin.jsp</result>
</action>

<action name="adminpreprocess" class="com.kasrlogic.AdminProcess">
<result name="success">admin.jsp</result>
<result name="input">admin.jsp</result>
<result name="error">admin.jsp</result>
</action>

<action name="callchunkeract" class="com.kasrlogic.AdminProcess" method="adminChunker">
<result name="success">admin.jsp</result>
<result name="input">admin.jsp</result>
<result name="error">admin.jsp</result>
</action>

<action name="callcleanser" class="com.kasrlogic.AdminProcess" method="cleanSer">
<result name="success">admin.jsp</result>
<result name="input">admin.jsp</result>
<result name="error">admin.jsp</result>
</action>

<action name="searchhotelsblog" class="com.kasrlogic.SearchHotels">
<result name="success">kasruser.jsp</result>
<result name="error">kasruser.jsp</result>
</action>

<action name="submitcomment" class="com.kasrlogic.SearchHotels" method="commentSubmit">
<result name="success">kasruser.jsp</result>
<result name="error">kasruser.jsp</result>
<result name="input">kasruser.jsp</result>
</action>

<action name="nextpagination" class="com.kasrlogic.Pagination">
<result name="success">kasruserhotels.jsp</result>
<result name="error">kasruserhotels.jsp</result>
</action>

<action name="prevpagination" class="com.kasrlogic.Pagination" method="prevPagination">
<result name="success">kasruserhotels.jsp</result>
<result name="error">kasruserhotels.jsp</result>
</action>

<action name="tohomePag" class="com.kasrlogic.Pagination" method="toHomePage">
<result name="success">kasruserhotels.jsp</result>
<result name="error">kasruserhotels.jsp</result>
<result name="input">kasruserhotels.jsp</result>
</action>

<action name="plantotrav" class="com.kasrlogic.PlanToTrav">
<result name="success">userrecommend.jsp</result>
<result name="error">plantrav.jsp</result>
<result name="input">kasruserhotels.jsp</result>
<result name="errorlogout">login.jsp</result>
</action>

<action name="recommendhotellink" class="com.kasrlogic.SearchHotels" method="recommendHotLink">
<result name="success">kasruser.jsp</result>
<result name="error">kasruserhotels.jsp</result>
<result name="input">kasruserhotels.jsp</result>
</action>

</package>
</struts>
 
Jobi Vijay
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

 
Jobi Vijay
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My adminlogin.jsp code
 
Bartender
Posts: 9615
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a lot of information. We ask that you Isolate the Problem first, as few people are going to dig through a 1200-line server config file that is probably not even relevant to the discussion.
Your error message says:


If you tried to load a JSP in your browser, the answer is simple: you can't do that. You have to invoke a Struts action. If you did invoke a Struts action, you probably have a dependency that is unresolved, so you'd have to look in the server log file for the full exception trace.
 
Skool. Stay in. Smartness. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic