I'm having some trouble configuring turbine to use JSP pages.
The Jsp Howto doesn't give a whole lot of information.  Right now
I've just enabled the service by defining the 
services.JspService.classname =
org.apache.turbine.services.jsp.TurbineJspService

property.

However, I can never get it to load a jsp page.  What am i missing
here?


On Thu, 2001-09-06 at 11:54, Dan Kha wrote:
> 
> Hi,
> 
> Check your TurbineResources.properties file for action.login=LoginUser and
> change it to your own login user.  You might also want to change
> action.logout, template.login, services.SecurityService.user.class (if you
> have your own user class) and maybe services.SecurityService.user.manager.
> 
> hope this helps,
> dan
> 
> On Wed, 5 Sep 2001, Rob Ward wrote:
> 
> >
> > After a hiatus of a few weeks, I returned to looking into a problem with
> > logging into Turbine. And I still can't figure out the problem, despite
> > extensive debugging. I am totally stumped as to the source of this problem.
> >
> > Basically, I created a very simple application based on the sample
> > application, creating my own LoginUser action (it doesn't do anything
> > special right now - just the normal authentication), an Index template
> > containing a form, and page (template and screen) to be displayed as the
> > result of an action of the form. I also created an action "LoginUser" and
> > "MerchantSearch".
> >
> > Trouble is, I find the action passed to the Turbine servlet is *always*
> > "LoginUser" (I got the Turbine source and put lots of debug in there to see
> > what was happening). The parameters on the form get passed fine, but the
> > action is always LoginUser!
> >
> > My form is as follows:
> >
> > <form name="$link.setAction("MerchantSearch")" method="post">
> > <!-- form text omitted for clarity -->
> > <input type=submit name="eventSubmit_doSearch" value="Search">
> >
> > Note that I also used tried, using the setTemplate/setScreen method in there
> > too, but it's not needed. I tested that by manually pasting the generated
> > URL into the browser (e.g.
> > http://localhost:8080/test/servlet/test/action/MerchantSearch) and it works
> > fine.
> >
> > As I said, the action itself works fine when I paste it into the browser
> > manually (after a successful login, of course). BUT, if I click the "Search"
> > button on the form I mention, Turbine (the servlet) ALWAYS receives the URL
> > http://localhost:8080/test/servlet/test/action/LoginUser
> >
> > I checked, and rechecked the actual form, and yep, the only form/action
> > there is "MerchantSearch" and I'm not explicitly setting the LoginUser
> > action anywhere.
> >
> > Has anyone seen this?? Any guesses as to what is happening here??
> >
> > Any help will very, very much appreciated!
> >
> > Rob
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
-- 
Matt Inger ([EMAIL PROTECTED])
Sedona Corporation
455 S. Gulph Road, Suite 300
King of Prussia, PA 19406
(484) 679-2213
"Self-respect - the secure feeling that no one,
 as yet, is suspicious." -H.L. Mencken 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to