Re: where can i find the controller class or package

2018-02-25 Thread Greg Huber
>(2) Then, as you said, WeblogRequestMapper is the overall entry for >processing all request. WeblogRequestMapper.handleRequest() will parse the >requesting url, then find the corresponding "Action name" to process the >request. WeblogRequestMapper will map all requests looking for the front

Re: where can i find the controller class or package

2018-02-24 Thread x86 wj
@Dave, Great! Your explanation is very clear and in detail. It really helps me a lot. I think I understand the overall process.: ) Thanks for your time. Best regards, Wuxia Jin On Sat, Feb 24, 2018 at 3:02 PM, Dave wrote: > Hi Wuxia Jin, > > Some answers below... > >

Re: where can i find the controller class or package

2018-02-24 Thread Dave
Hi Wuxia Jin, Some answers below... > The processing of an incoming request is right as what I said? Yes, that is mostly correct, but not all requests are handle by Struts. To understand how Roller works, you should also look at the web.xml file and how it maps URL paths to Java classes.

Re: where can i find the controller class or package

2018-02-24 Thread x86 wj
hi Greg, *1. According to your explanation, I try to express the request processing. * When a request comes in: (1) Firstly, several filterings will filter the request. (2) Then, as you said, WeblogRequestMapper is the overall entry for processing all request. WeblogRequestMapper.handleRequest()

Re: where can i find the controller class or package

2018-02-24 Thread Greg Huber
.should be WeblogRequestMapper Cheers Greg On 24 February 2018 at 04:39, x86 wj wrote: > Roller is in a web architecture of "presentation -> business logic -> > persistent layer". But the project is complex. From the source code, I have > no idea which packages(or

Re: where can i find the controller class or package

2018-02-24 Thread Greg Huber
The back office is a struts application (struts.xml), whilst on the front presentation tier is custom implementation. The nearest thing to a controller I guess would be org/apache/roller/weblogger/ui/rendering/WebsiteRequestMapper class. Cheers Greg On 24 February 2018 at 04:39, x86 wj