AW: session-control in RequestProcessor
"Bernhard Woehrlin" <[email protected]>
| Newsgroups | gmane.comp.java.strutscx.user |
|---|---|
| Organization | IT.CappuccinoNet.com |
| Message-ID | <000a01c377a6$29ff2790$4b01a8c0@javaws> |
Hi Asarnusch Rashid, I've never worked with an extended RequestProcessor class. But I just checked the O'Reilly book. - As mentioned there the processPreprocess() method you do use is pretty much similar to ServletFilters. Before the HttpRequest enters the System you do something with it, i.e. check if the user is logged in. - StrutsCX comes to action much later, when Struts assembles the View. So I assume that the 503 has something to do with the extended RequestProcessor. Hint: Check the attributes of the <controller> element, especially the contentType your may define there. Hope this is of some help... Regards, Berny -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von [email protected] Gesendet: Mittwoch, 10. September 2003 15:40 An: [email protected] Betreff: [Strutscx-user] session-control in RequestProcessor Hi all, I am trying to implement a session handling around my application in StrutsCX. I read in "Programming Jakarta Struts" (o'reilly, Chuck Cavaness), that I can extend the RequestProcessor-Class and need only to configure the struts-config.xml to use this new class instead of the Struts-RequestProcessor. I would like to fetch any access by the RequestPreProcessor-Method, to grant access when logged in, and redirect to the login-page when not logged in! My problem is, that tomcat crashes and my browser send me this error message: HTTP STATUS 503: Servlet action is currently unavailableH Does StrutsCX does support "extending the RequestProcessor-Class"? If yes, what I am doing wrong? Greetings Asarnusch PS: Please be tolerant to my "school-english" ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Strutscx-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strutscx-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf