JSTL Tag problem!!

2004-08-28 Thread RamKumar
Hi All, I am using JSTL in my JSP page for the first time. I am running into a problem with the following tag. and it prints in the page as "${sessionScope.SurveyCreateForm.surveyTitle}" Any clues? thanks, Ramkumar

Token is re-generated automatically.

2004-08-28 Thread PC Leung
When a page is displayed with a token, data is inputted into the form. Clicking the submit button will save a record. Then click back previous page. Click the submit button again. Invalid token is detected as expected Error message displays on top of the page. However I find the token is changed.

Re: Token is re-generated automatically.

2004-08-28 Thread Jason Lea
do you call saveToken() anywhere? After the resetToken() perhaps? It sounds like the following is happening: 1. server generates page with token A, page with token A submitted 2. token A is valid, record saved, tokenReset() called, saveToken() called creating token B 3. user presses back button,

Re: JSTL Tag problem!!

2004-08-28 Thread Can Zheng
Seems the evaluation of El was not working. You can either set JSP configurations in the web.xml or set the IsELIgnored page directive to false in JSP pages. On Sat, 28 Aug 2004 13:37:03 +0530, RamKumar <[EMAIL PROTECTED]> wrote: > Hi All, > I am using JSTL in my JSP page for the first t

Re: JSTL Tag problem!!

2004-08-28 Thread Javen Fang
JSTL needs to config in web.xml On Sat, 28 Aug 2004 18:17:42 +0800, Can Zheng <[EMAIL PROTECTED]> wrote: > Seems the evaluation of El was not working. > > You can either set JSP configurations in the web.xml > > or set the IsELIgnored page directive to false in JSP pages. > > > > On Sat, 28

Re: JSTL Tag problem!!

2004-08-28 Thread RamKumar
> JSTL needs to config in web.xml I configured JSTL in web.xml like this. http://java.sun.com/jstl/fmt /WEB-INF/fmt.tld http://java.sun.com/jstl/fmt-rt /WEB-INF/fmt-rt.tld http://java.sun.com/jstl/core /WEB-INF/c.tld http://java.sun.com/jstl/cor

Re: JSTL Tag problem!!

2004-08-28 Thread Michael McGrady
RamKumar wrote: Hi All, I am using JSTL in my JSP page for the first time. I am running into a problem with the following tag. and it prints in the page as "${sessionScope.SurveyCreateForm.surveyTitle}" Any clues? thanks, Ramkumar You sure you have not used "(" and ")" instead of "{" a

Re: Token is re-generated automatically.

2004-08-28 Thread PC Leung
token is saved if checking is OK. saveMessages (request, actionMessages); saveToken(request); addUserProfileForm.reset(mapping, request); return mapping.findForward("success"); I add saveToken() right after resetToken() in order to do testing. The result is

ExceptionHandler handles, but no error output in JSP

2004-08-28 Thread O. Oke
Help please! I have just integrated ExceptionHandler. It now appears to handle exceptions (because stack trace is no longer displayed in browser, when there is an error) but no error is output in JSP My jSP (TILES) has tags for actionErrors and ActionMessages, which outputs errors/messages for oh

Re: JSTL Tag problem!!

2004-08-28 Thread Can Zheng
Your works here, the problem is EL not being evaluated So I still recommend you configure the IsELIgnored page directive On Sat, 28 Aug 2004 18:18:58 +0530, RamKumar <[EMAIL PROTECTED]> wrote: > > JSTL needs to config in web.xml > > I configured JSTL in web.xml like this. > > >http://jav

Re: Token is re-generated automatically.

2004-08-28 Thread Jason Lea
I see. You have a form for adding new users. When you submit this form, it adds the user, then clears the fields and redisplays the form ready for another user to be added. After saving the record you create the new token so that the next user can be added. When you detect that the form is submi

using XForms with Struts

2004-08-28 Thread Oswald Campesato
Hello, everyone: I'm half-way through an article written by Kurt Kagle (back in 11/2003) that discusses XForms: http://www.devx.com/xml/Article/17714 Has anyone attempted to mix XForms with Struts? Though I think there's potential for some "synergy" (I usually avoid that word), I simply do not k

Re: JSTL Tag problem!!

2004-08-28 Thread Big Chiz
for jstl 1.1 i believe there is no need to put anything on the web.xml. you can just include them in any of your pages. e.g <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> On Sun, 29 Aug 2004 02:47:38 +0800, Can Zheng <[EMAIL PROTECTED]> wrote: > Your works here, the problem is

SecurityFilter Question?

2004-08-28 Thread struts Dude
Hi Can someone give me a few pointers on using SecurityFilter with Struts? This can save me potentially hrs of debugging. My securityfilter-config.xml is: http://www.securityfilter.org/dtd/securityfilter-config_1_1.dtd";> Admin Page /admin/*

Re: SecurityFilter Question?

2004-08-28 Thread Jason Lea
These should go to your login action, not the page hidden under the WEB-INF /WEB-INF/pages/Login.jsp /WEB-INF/pages/error.jsp eg /LoginFormAction.do Which should probably just forward to the /WEB-INF/pages/Login.jsp struts Dude wrote: Hi Can someone give me a few pointers on using SecurityFilter

Re: SecurityFilter Question?

2004-08-28 Thread struts Dude
- Original Message - From: "struts Dude" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, August 29, 2004 5:36 PM Subject: SecurityFilter Question? > Hi > > Can someone give me a few pointers on using SecurityFilter > with Struts? This can save me p

Re: SecurityFilter Question?

2004-08-28 Thread struts Dude
Wow that was quick response, thanks Jason. :D - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]