Re: specifying image source as jpg stream

2003-10-27 Thread Craig R. McClanahan
Max Cooper wrote: You may want to write a separate servlet to serve the image data. That allows you to implement getLastModified() and allow proper browser-caching support, which can significantly increase the speed of your pages if the user is likely to view the images more than once. We did

Unit Test Actions

2003-10-27 Thread Steven Woody
Hi, list Can I unit test Action subclasses with JUnit without running of a Servlet container? -- Steven Woody [EMAIL PROTECTED]

RE: Index properties (once again)

2003-10-27 Thread Rajat Pandit
Hello all, I finally managed to solve the problem, and now that I know it all seems so damn awfully simple!!! , I wish the docs had explained it in a much simpler manner. But I guess it was more about the form and ActionForm thing than about the indexed properties. I am writing a HOWTO on all

RE: Session-scoped form and synchronization...

2003-10-27 Thread Andrew Hill
And to add to the list of woes: Where you have multiple browser windows submitting requests in the same session - one example being where you want to have the main window show a table of items from which you may edit or view details of individual items in new windows. Session scoped actionforms

RE: Frames and IFrames in Stuts

2003-10-27 Thread Andrew Hill
snip when the framed pages load, they do not have access to the form bean. /snip The issue here is that for each frame the browser will send a seperate independent request to the server - its NOT the same request! You will therefore need to consider other ways of providing the frames with the

How to find out all of pages (links) in a directory on website.

2003-10-27 Thread Dinh Nguyen
Hi all, I know that this is probably not a right place to ask the question, but I am sure that there are some experts on this forum knows the answer. Here is the question: I am about the write a program to list (and count) all of the pages (URL) in a directory from a website. Let say, given

Re: How to find out all of pages (links) in a directory on website.

2003-10-27 Thread Nathan Maves
linklint can do what you are asking for. Remotely it can only see the pages that are linked together. To see the orphan'ed files you can run linklint locally. Nathan On Oct 27, 2003, at 9:30 PM, Dinh Nguyen wrote: Hi all, I know that this is probably not a right place to ask the question,

losing parameters when jsessionid appended

2003-10-27 Thread Loren Hall
I'm trying to redirect index.jsp to a page determined by a runtime expression. I'm using html's meta refresh tag as shown below. This solution works, but, only when the jsessionid is not appended to the url, i.e. it doesn't work at the beginning of a session (affecting a significant portion of

Re: How to find out all of pages (links) in a directory on website.

2003-10-27 Thread Dinh Nguyen
Hi Nathan, Can you please explain in details for me? I don't get this at all. Thanks, Dinh nguyen Nathan Maves [EMAIL PROTECTED] wrote:linklint can do what you are asking for. Remotely it can only see the pages that are linked together. To see the orphan'ed files you can run linklint

Re: How to find out all of pages (links) in a directory on website.

2003-10-27 Thread Dinh Nguyen
Hi Nathan, In this case, I am interested in java files (java language) , if it's not possible, then I'll look into other languanges. Thanks, Dinh Nguyen Dinh Nguyen [EMAIL PROTECTED] wrote: Hi Nathan, Can you please explain in details for me? I don't get this at all. Thanks, Dinh nguyen

GURU NEEDED: Tiles Definitions and new ActionForward(TILES_DEFINITION_NAME);

2003-10-27 Thread Micael
If I return new ActionForward(TILES_DEFINITION_NAME);, will that return the page the definition defines? This is seemingly so. If so, I can dynamically choose definitions in the Action and not bother with either global forwards or defining forwards in action mappings. Is that right? I would

RE: newbie session problem

2003-10-27 Thread geraldine
Thanks! The forward works great but the problem with the session still exists. My page only works when I enable cookies. However, I'm still looking for other solutions using url rewriting which somehow doesn't work! Can anyone else enlighten me or is my question just too trivial? Regards,

RE: How to find out all of pages (links) in a directory on website.

2003-10-27 Thread Rajat Pandit
The solution also depends on the fact that you want to explore a remote file or a local file. For local files, I belive using the DOM is the best option to solve the problem. (see javascript for more info). -Original Message- From: Dinh Nguyen [mailto:[EMAIL PROTECTED] Sent: Monday,

RE: How to find out all of pages (links) in a directory on website.

2003-10-27 Thread Dinh Nguyen
Hi Rajat/all, The thing is, I need to detect which files and how many files, that contain word Privacy, on a directory on a website. Assume that, http://www.xyz.com is a live site, and myfolder is one of the directories on the site (http://www.xyz.com/myfolder.html). This folder contains

RE: Tags creating Tags

2003-10-27 Thread Mike Jasnowski
Going from your example, I'm not sure why you even need to subclass a Struts tag to get the output you described. You should be able to code something like this on your JSP: lukas:myTag lang=en html:file property=formFile styleClass=FormField/ /lukas:myTag The tag handling flow would look

Re: Tags creating Tags

2003-10-27 Thread Lukas Bradley
Mike emailed me this idea last night, and I think it's the best yet. Brilliant solution, Mike. Lukas Mike Jasnowski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Going from your example, I'm not sure why you even need to subclass a Struts tag to get the output you described. You

RE: Tags creating Tags

2003-10-27 Thread Edgar P Dollin
There is a little more overhead than this. You are now taking control of the struts tag lifespan. Currently, assuming tag pooling, this is done by the container based on a hash of the parameter values. If you are careful you can piggyback on that by synchronizing the internal tag

RE: Tags creating Tags

2003-10-27 Thread Mike Jasnowski
Just to be clear, I'm not advocating that the custom tag internally instantiate the Struts tag, but rather let the container instantiate them as it encountered them in the JSP. So CustomTag.doStartTag(); StrutsTag.doStartTag(); StrutsTag.doEndTag(); CustomTag.doEndTag(); The custom tag

<    1   2