RE: Custom Tag lib passing c:out tags

2007-10-01 Thread Jennie Moeller
xt); } catch (Exception ex) { parameter = null; } Then in the tag you can just do the following: -Original Message- From: Jennie Moeller [mailto:[EMAIL PROTECTED] Sent: 01 October 2007 10:39 To: Struts Users Mailing List Subject: Custom Tag lib passing c:out tags I h

Custom Tag lib passing c:out tags

2007-10-01 Thread Jennie Moeller
I have a custom tag lib i call passing a parameter of a c:out tag. We don't have jsp expression lang supported so i have to use the c:out tag to pass the variable into the custom tag but it doesnt' like it. here is my tag: encodechars com.web.taglib.EncodeCharsTag emp

RE: Mapping a jsp to an action

2007-09-28 Thread Jennie Moeller
+ number + "&name=" + name + "&" + queryString; RequestDispatcher rd; rd = req.getRequestDispatcher(destination); rd.forward(req, resp); } } Of course, best practice states you should never go directly to a JSP url in a Struts

Mapping a jsp to an action

2007-09-28 Thread Jennie Moeller
Hi, I'm trying to map a jsp page to an action. When any jsp gets loaded with the recipe path on it I want it to go to an action. for example: This uri: recipes/4735/steak-with-barbecue-sauce.jsp I want it to hit my recipeDetails action My struts action looks like this:

Map jsp to action class

2007-09-28 Thread Jennie Moeller
Hi, I'm trying to map a jsp page to an action. for example: This uri: recipes/4735/steak-with-barbecue-sauce.jsp I want it to hit my recipeDetails action My struts action looks like this: This e-mail (and any attachments) is confidential and may contain personal views which are not th

RE: Issue with c:import or jsp:include

2007-09-10 Thread Jennie Moeller
1.2 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Benedict Sent: 10 September 2007 13:59 To: Struts Users Mailing List Subject: Re: Issue with c:import or jsp:include What version of Struts? On 9/10/07, Jennie Moeller <[EMAIL PROTECTED]>

RE: Issue with c:import or jsp:include

2007-09-10 Thread Jennie Moeller
bject: Re: Issue with c:import or jsp:include plz check .. .. Jennie Moeller <[EMAIL PROTECTED]> wrote: I have to include a jsp page in my main jsp page. The include must

Setting a value on a jsp

2007-09-07 Thread Jennie Moeller
I have an html:form in my jsp...it contains radio buttons for a property on that form called settings. I want to be able to set the settings property on my form in the jsp so that the radio button will be checked...basically i want to pass in a form value but I can't do it in my action. I have to

RE: how do i get the ActionClass's Vector to my JSP page for display

2007-09-07 Thread Jennie Moeller
ctionClass but while retreiving it is showing "inconvertable types" error . Actually i have used type casting. But it is showing the error. Is there some thing to change my approch in converting Vector while getParameter(); thx Jennie Moeller wrote: > > Hi, > > Since you'

RE: how do i get the ActionClass's Vector to my JSP page for display

2007-09-07 Thread Jennie Moeller
Hi, Since you've put it on your form you can pull it off your form. So in your jsp you can do something like: This will look through all your items in the vector...its like a for loop (assuming you are using jstl tags) Or in your case perhaps you just want to toString it in which case: (wh

RE: Issue with c:import or jsp:include

2007-09-06 Thread Jennie Moeller
jsp:include Jennie, definitely put Struts into your debugger and figure out if the parameter is attached to the request. Sometimes error messages are telling the truth -- there is no parameter really in the request. Let me know what you find. Paul On 9/6/07, Jennie Moeller <[EMAIL PROTEC

RE: JSessionID in URL on first request

2007-09-06 Thread Jennie Moeller
gs in. So unless you want to track or store state for anonymous users, you could defer the session creation until sign in. Does that make sense? Paul On 9/6/07, Jennie Moeller <[EMAIL PROTECTED]> wrote: > > On the website we have a user login and need to track the session of > each u

RE: JSessionID in URL on first request

2007-09-06 Thread Jennie Moeller
tate. If you need to track user hits, you could turn on mod_tracking if you're using HTTPD. Paul On 9/6/07, Jennie Moeller <[EMAIL PROTECTED]> wrote: > > On the very first request to our website any html:rewrite tags or > bean:include tags the URL gets rewritten with the Jse

Issue with c:import or jsp:include

2007-09-06 Thread Jennie Moeller
I have to include a jsp page in my main jsp page. The include must first go to an action which uses a dispatch. example: /weather.do?dispatch=display I can only seem to use the bean:include tag for this which we don't want to use due to the behavior of the bean:include tag. I tried doing t

JSessionID in URL on first request

2007-09-06 Thread Jennie Moeller
On the very first request to our website any html:rewrite tags or bean:include tags the URL gets rewritten with the JsessionID in it making the link invalid which then gives a page not found error. I understand why its doing this as its not sure yet whether cookies are enabled (cookies are enable