Hello Word Struts 2.0 Application not working in JDeveloper 10.1.3.2

Dear All,
I have created Hello Word Application in Struts 2.0 in JDeveloper. It gives following Exception:
java.net.ProtocolException: Server redirected too many times (20)
     at org.apache.commons.digester.Digester.createSAXException(Digester.java:3181)
     at org.apache.commons.digester.Digester.createSAXException(Digester.java:3207)
     at org.apache.commons.digester.Digester.resolveEntity(Digester.java:1617)
     at oracle.xml.parser.v2.NonValidatingParser.pushExternalDTD(NonValidatingParser.java:533)
     at oracle.xml.parser.v2.NonValidatingParser.parseDoctypeDecl(NonValidatingParser.java:491)
     at oracle.xml.parser.v2.NonValidatingParser.parseProlog(NonValidatingParser.java:323)
     at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:302)
     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:205)
     at org.apache.commons.digester.Digester.parse(Digester.java:1745)
     at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:745)
     at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:686)
     at org.apache.struts.action.ActionServlet.init(ActionServlet.java:353)
     at javax.servlet.GenericServlet.init(GenericServlet.java:256)
     at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2361)
     at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4810)
     at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734)
     at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922)
     at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134)
     at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
     at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
     at com.evermind.server.Application.getHttpApplication(Application.java:571)
     at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
     at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1973)
     at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.getHttpApplication(HttpSite.java:1925)
     at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:424)
     at com.evermind.server.http.HttpRequestHandler.resolveApplication(HttpRequestHandler.java:392)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:433)
     at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
     at java.lang.Thread.run(Thread.java:595)
Aug 3, 2010 5:17:29 PM com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
INFO: Parsing configuration file [struts-default.xml]
Please give your inputs as early as possible.
Thanks & Regards

Dear John,
Yes, Jdev 10.X only support Struts 1.0 but i have configure Struts 2.0 supported all Lib files in JDev and also please find entries of Struts-config.xml and web.xml file below:
Struts-config.xml :_
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts-config>
<message-resources parameter="view.ApplicationResources"/>
<!--constant name="struts.enable.DynamicMethodInvocation" value="false"/>
<constant name="struts.devMode" value="false"/>
<constant name="struts.custom.i18n.resources" value="ApplicationResources"/-->
<package name="default" extends="struts-default" namespace="/">
<action name="login" class="net.viralpatel.struts2.LoginAction">
<result name="success">Welcome.jsp</result>
<result name="error">Login.jsp</result>
</action>
</package>
</struts-config>
And Web.xml file :_
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<description>Empty web.xml file for Web Application</description>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>Login.jsp</welcome-file>
</welcome-file-list>
</web-app>
Also as par your last reply, eventhough i got the same exception.
Please give your inputs and let me know if you want more information.
Thanks,

Similar Messages

  • Application not working without restart the blackberry

    Dear All, when i get connected through WiFi , the only app working is the browser and the reset of the applications not working , and after restarting the blackberry phone every thing working fine for just 24 hours then it come back down again and i need to restart again , so could any one help

    mohammedzico1 wrote:
    the only app working is the browser and the reset of the applications not working , a
    Specifically, what other applications are not working? Name them.
    Do you have a BlackBerry Data Plan enabled on your account with your carrier or mobile provider? You must, in order to get the RIM push email functions you are looking for, as well as additional BlackBerry data services such as the internet browser, Facebook for BlackBerry, BlackBerry Messenger, and much more.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Hello My ipads Power button is not working properly when I press it once it shows option to turn off instead of locking and some other display problems like it suddenly lockes down or display disappears ...Please help. Thank You

    Hello My ipads Power button is not working properly when I press it once it shows option to turn off instead of locking and some other display problems like it suddenly lockes down or display disappears ...Please help. Thank You

    Thanks for that information!
    I'm sure I will be calling AppleCare, but the problem is, they charge for the phone calls don't they? Because I don't have money to be spending to be on the phone with a support service.
    In other things, it seemed like the only time my MacBook was working was when I had Snow Leopard without the 10.6.8 update download that was supposed to be done to prepare for OS X Lion.
    When I look at the information of my HD it says that I have 10.6.8 but that was the install that it claimed to have failed and caused me to restart resulting in all of the repeated problems.
    Also, because my computer is currently down, and I've lost all files how would that effect the use of my iPhone? Because if it doesn't get fixed by the time OS 5 is released, how would I be able to upgrade?!

  • Two part question 1) what happens if you  sign into messages beta on os x lion 10.7.5 after it expired? does the whole application not work or just imessage? 2) does installing messages beta on os x lion 10.7.5  delete ichat?

    Two part question
    1) what happens if you  sign into messages beta on os x lion 10.7.5 after it expired? does the whole application not work or just imessage? can you stil use AIM, jabbar, google talk, or yahoo?  if you open messages beta does it immediately tell you that messages beta expired?
    2) does installing messages beta on os x lion 10.7.5  delete ichat or just transform ichat into messages beta giving the illusion that ichat is deleted?

    Hi,
    It was never completely clear whether it was just hidden or whether Apple ran a download page for iChat 6.
    As the Download for Messages Beta was separate and "Deleted" iChat it would seem it would be another download for iChat 6.
    iMessages will not function as it is only an Account type within Messages and iChat 6 does not have it.
    Therefore messages on the iPhone will not sync to the Mac. (until you get Mountain Lion and Messages in that OS X version).
    Mountain Lion and it's full version of Messages will not sync the iMessages that have happened in between the 14th December 2012  (end date of Messages beta) and the Install of Mountain Lion if you decide on that route.
    8:51 PM      Sunday; May 5, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Why does Java Application not working with Macromedia Flash 5 or MX?

    Why does Java Application not working with Macromedia Flash 5 or MX?

    Who says they don't?
    Although I don't know much about those I'd think they should be able to talk to Java Aps using Sockets or request Servlets ...
    Spieler

  • Hello my ipad 2 mic is not working. I tried vacuuming. Still no changes. Pls Help

    hello my ipad 2 mic is not working. I tried vacuuming. Still no changes. Pls Help

    Try restoring the IPad. Either plug it into your computer or go to iPad settings, reset, all content and data. Restoring it should fix any software issues if it's a software problem. If that doesn't work it's likely a hardware issue and can't help you there. Have to take it into an apple store or authorized seller.

  • Hello, tell me please why do not work Push notification in the official Iphone 3gs, firmware 5,1,1. Before that was flashing 5,0,1 first about 3 months of work, recently ceased. Tell me what to do? Phone official!

    Hello, tell me please why do not work Push notification in the official Iphone 3gs, firmware 5,1,1. Before that was flashing 5,0,1 first about 3 months of work, recently ceased. Tell me what to do? Phone official!

    it seems there is some kind of problem with this 3gs phone. i have been trying to resolve this problem for 4 days now

  • Application not working in windows 8

    Hello Sir,
    I have Lenovo Z500 laptop recenty brought.
    When i Run any application in windows 8 It will error as shown in below 1st image.
    So how to solve this error.
    I troubleshoot that program. but still it is not working.
    Hope this will solved out soon...
    And I try to install microsoft office 2013 365 days pack but it is also not stating.
    all .net framework installed in my laptop those are displayed In 2nd image. 
    Thank you

    Hi sanketec87,
    I would restore the computer with the factory defaults.
    A problem probably occured with the previous install of Windows 8.
    Vince.
    Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information on it.
    ThinkPad T510 4313-CTO Windows 8 x64 - Intel Core i7-620M - NVIDIA NVS 3100M - 8GB RAM - 240GB SSD- Intel Centrino Ultimate-N 6300 - Gobi 2000.
    ThinkPad Helix 3697-CTO Windows 8.1 x64 - Intel Core i7-3667U - Intel HD Graphics 4000 - 8GB RAM- 256GB SSD - Intel Centrino Advanced-N 6205 - Ericsson C5621gw

  • Application not working with MS ACCESS DB at runtime

    I have problem with my application that working properly at runtime( via visual studio ) and update data grid of windows form .net . But after publish the application and run this then , I am getting following error as shown in image. Please help me , how
    to solve it , I do a lot of search , not able to find any solution on that. Error come when running the application.
    Application coded in VB.NET, Visual Studio 2013, MS ACCESS 2013
    Connectionstring : Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\labprofiles.mdb;User Id=admin;Password=;
    [or Persist Security Info=True or Persist Security Info=false ]

    Hello,
    To set the path use
    SetData and GetData to retrieve the current path
    AppDomain.CurrentDomain.SetData("DataDirectory", "Your path")
    AppDomain.CurrentDomain.GetData("DataDirectory").ToString
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • Application not working in Quality, which was working fine in Dev. Urgent!!

    Hello Guru's,
    We are experiencing a problem in portal.
    Issue: We customized application in MSS( General Information which calls FM in the backend to populate the data) using NWDS and deployed the application into Development System and it's working fine. so we used NWDI to transport the code into Quality and the application is not working fine in Quality. The Issue is when transported the application into Quality it is not showing any data. and when checked the RFC trace it is not showing any FM been called when accessing the application. And also when checked in NWA it is not showing any error, when checked the JCo connections they are working fine.
    Anyone please help us out. It's very Urgent.
    Thanks in Advance.
    Regards,
    Pramod
    'Points will be awarded for sure for helpful answers.'

    Hello Harini,
    Thank you for the reply, and I was expecting answer from you. Was seeing other forums and your replies to those .
    Anyways Let me tell a little more on the issue:
    We are implementing ESS/MSS in portal as per the req. we need to create a custom iview with employee details. And for that we have created a FM which will pick up the data and we are accessing that Function Module in WebDynpro application.
    We deployed the code into QA and Prod In prod it is working fine but in quality it's giving 500 Internal Server Error
    when checking the log file we are not getting any error logged. and checking in the R/3 whether that FM is executing when accessing the application using ST05 tcode it is not showing up the RFC trace either.
    And Configuration of QA is same as Prod and all the permission are properly assigned.
    Just wondering how is a application responding differently in different landscapes.
    Looking forward for a solution.
    Appreciate your time and help.
    Regards,
    Pramod

  • IPhone 3g Applications not working.

    Hi there, my name is Eden
    I just recently bought my iPhone 3g and recieved it yesterday, luckily on my birthday=P
    Anyways, my iPhone was working perfectly with no problems and no errors, untill now. I downloaded an Application, iLightr and while it was loading to be downloaded, i deleted some other applications i Did not want no more. When the iLightr application was done, those applications i delete and another application that i never seen popped back up. I deleted them again including the application i never seen.
    Anyway, this application was named something with an F i dont remember perfectly.
    After deleting those applications, I tried to work my AIM Application. It did not work. When i clicked it, screen goes white with stripe as if its about to load AIM and then it goes back to the main page of the iPhone were i have my applications, SMS AIM Facebook Myspace and games.
    All my applications now do this, and it is bugging me out.
    Can someone help me in an easy way because I am still a child and do not understand a lot of words that are complicated. Thanks!

    Okay, my dad's phone had (or has) the same problem so I've spent many many hours with and without a mac genius trying to find a solution, so I've since formed a number of vague ideas about why the problem occurs:
    The problems started shortly after I had authorized his computer to play my Texas Hold Em app, and he subsequently tried to upload it to his phone (let me know if any of you tried something similar). I don't know if this was to blame at all, but I'm pretty sure the issue has to do with authorization: for some reason the account used to download apps through iTunes and the account used to download apps on the iPhone were seen as two different accounts, so upon restarting or resyncing there was a conflict between accounts that made the iPhone think it wasn't authorized to open the apps that were uploaded to the phone (which is why the primary apps will still work - no downloading or syncing involved). Some of the solutions I found to the problem also reinforce this:
    The first time I was able to fix it was by selecting the phone in iTunes and toggling some of the info (calendars, email, contacts etc) that was supposed to sync to the phone. First, they had been auto-deselected for some reason, so when I told iTunes that it was supposed to sync that info (by clicking the checkbox) it came up with a warning that said something like "are you sure because this iPhone is linked to a different account" and then it might have mentioned erasing or something but either way it was mistaken because the phone had only ever been synced with that computer (it was in fact a brand new 3g that the mac genius had just given us over the course of troubleshooting) - so I said sure erase it or whatever and everything worked fine, 3rd party apps and all.
    That fixed it for a while, but when it happened again I did EVERYTHING. I restored the phone to factory settings, reinstalled the entire OS on the MacBook (meaning all apps deleted, etc, etc), and DID NOT restore the phone from a backup. Before syncing I also deauthorized his computer from his account AND my account, then reauthorized him for his account only. I had "sync applications" selected in iTunes, but I told it to never upload apps from the phone to iTunes. That all fixed it for the longest period yet, but the problem recurred once again yesterday, and then it froze on the silver boot-up screen (any of you having this prob too?).
    This time we fixed it by putting the phone into recovery mode (hold down the lock and home buttons together and keep holding them down past the restart until you see the plug-into-itunes logo) while it was plugged into itunes, deleting all applications from iTunes, and setting the phone up as new (do not restore from a backup). Now it's working again.
    So I say it's either a recurring bug to the iPhone, or there is some residual bad info on my dad's account on the apple servers that somehow keeps making it to the iPhone or iTunes thus causing the conflict again. I know it doesn't make sense when I say it, but It LOOKS like the iPhone and iTunes think they're actually two different accounts so the iPhone eventually thinks it's not allowed to play the apps it downloads. Either way, I'm turning off app syncing on the phone for now and just managing them purely from the phone itself.
    Hope this helped ANYBODY .

  • Document library open in client application not working for img,pdf,txt files

    In an office 365 sharepoint site i have enabled open in client applicartion for document library but it is not working for image/txt/pdf files for word and excel files it is working fine. I have even turned on the feature open document in client application
    by default from site collection features also but there is no change.
    Please advice.
    Regards,
    Chaitanya

    Hi Chaitanya,
    The feature is currently designed to be used with HTTPS, and will not work as expected with the HTTP connection available on Office 365 for professionals and
    small businesses sites.
    To take advantage of this update, do the following steps:
    Wait for the update to the SharePoint Online service, which is in progress now.
    Upgrade Adobe Reader to the version 10.1.2 client.
    Add your SharePoint Online root URL/domain to the Trusted Sites security zone in Internet Explorer1 (e.g., 
    https://contoso.sharepoint.com).
    Check the Keep me signed in box when you log in to a SharePoint Online site.
    This
    SharePoint Online update is currently
    being rolled out worldwide along with several other new features.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Media Applications Not working

    I have BB 9300 with OS 6.. My media applications are not working. Whenever I take any picture. It becomes corrupt. Similarly whenever I made any movie it also becomes corrupt. Interesting part is that file properties are correct but not even open in mobile and also not on computer.
    In addition it also not playing any music file having mp3 extension. The message appears that is is unsupported format. I have also tried other supported formats music files but vain.
    Can any one help me how to solve the problem. I am quite upset because no picture, no movie and above all no music.
    Looking forward response from any expert. 

    Hello Naveedch,
    Welcome to the Community,
    Try two things First : formet your media card then try ,If problem resolves then good otherwise Reload your OS 
    all you need is latest desktop software which you can download from here : blackberry desktop oftware  and here is How to perform a clean reload of the BlackBerry Device Software for Windows  ,Try it and let us know.
    Good Luck
    Prince
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Applications not working after sync

    Hello, Can anyone help, been searching the web to no avail.
    I have just invested in an Ipod touch on FW 2.1.1
    I installed some apps using the touch via my wifi & they work ok, however when I try to run them after a sync they do not work. They look like they are starting, then back to the menu screen. An ideas??
    ps I have downloaded them via itunes store & they will not install to the touch eithern (all boxes ticked to sync etc) very annoyed at this
    Thank you

    - Ok I got it all working agian,... heres what I did: I deleted a app that was'nt working and I synced it with itunes. I then went to: Itunes>ipod>Applications and choose "All applications" under "Sync applications". Now all apps are working, hope all worked with you. Btw the app that I deleted was the Zippo lighter, maybe its glitchy or something.
    Message was edited by: TannerRoan
    Message was edited by: TannerRoan

  • E75 messaging application not working

    Hi,
    I have recently purchased an E75 and at first glance it looks to be very nice. However, now i have run into the problem that messaging is not working properly. The message indicator is telling me that I have 6 new messages. When I try to go menu>>messages the application tries to open but immediately crashes. Also when I try to open the messages directly by clicking on them from the message indicator the same behavior seems to happen.
    Has anybody experienced the same? How do I get rid of these messages if I can't open them?
    Any help is appreciated, thanks.
    Porthos
    Message Edited by porthos on 13-Oct-2009 02:54 PM

    I've had similar problems with my E75.
    I've found that Nokia Messaging simply gets confused & over-loaded, and gives up.
    Try accessing you email account from your computer.
    Then, delete all of your messages from your inbox & sent folders.
    Basically, purge as much as possible.
    Then try accessing it from your E75.
    This usually works for me.
    Message Edited by car2fast4you on 02-Nov-2009 05:33 PM

Maybe you are looking for

  • Spool generation

    Hello All, i am running a normal report in background which is containing write statement. when i starts a job through SM36 and runs it immediately, will there be spool generation which will contain all the list output data came through WRITE stateme

  • I rented a movie, it downloaded, but now isn't showing up on my device?    Where can I find it!   Pls hurry....my flight is leaving soon

    I downloaded a movie rental but now it's not showing up anywhere....help

  • The meaning of CSS life...

    The one good thing:  I finished my first fee-for-service CSS website done in Dreamweaver CS5.  It is only four pages and is ugly beyong words and displays wildly in various browsers.  The customers are naive enough to have settled for it but their ch

  • Events in a Tab

    Dear all, I want to write a Tab program, when I change Tab page, the while loop in this page will run,  other pages will stop running. It works fine. However, when I add an event to Tab page1, I can only change Tab page once, after that, my program d

  • How to disable the purchase function?

    Anyone know how to disable the purchase function from the ipad2? How to disable and empty the payment credit card inform? If not, is it secure?