Win a copy of Getting started with Java on the Raspberry Pi this week in the Raspberry Pi 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

Help me resolve the error: HTTP Status 500

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My error

 
Jobi Vijay
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

 
Jobi Vijay
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My adminlogin.jsp code
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Stinging nettles are edible. But I really want to see you try to eat this tiny ad:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic