Feature request for html:javascript tag

2003-11-06 Thread Dolf Starreveld
I am using the html java script tag in two parts, but some of it seems more cumbersome then it needs to be. I have a validation.jsp file that contains: html:javascript dynamicJavascript=false staticJavaScript=true/ it sole purpose is to provide the java script functions that are constant for

[OT?] ant/jspc is producing Struts logging output?

2003-08-14 Thread Dolf Starreveld
Hi, I am building a struts based application with ant. One of the tasks involves jsps to compile the jsps (so I can detect compile errors early). I get output lines like this: [jasperc] Aug 7, 2003 1:27:10 PM org.apache.struts.util.PropertyMessageResources init [jasperc] INFO: Initializing

RE: Opening/reading a file from a Struts application...

2003-07-29 Thread Dolf Starreveld
().getRealPath(/WEB-INF/... )) or, in an action you could do getServlet().getServletContext().getRealPath(/WEB-INF/...); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dolf Starreveld

Re: Webapp Security?

2003-07-03 Thread Dolf Starreveld
At 15:22 -0400 7/3/03, Rick Reumann spoke thusly: On Thu, 2003-07-03 at 15:05, Craig R. McClanahan wrote: If you go with roll your own security, though, I would definitely recommend that you implement it as a Filter rather than trying to modify Struts to do this for you. Craig, is there a

Re: Webapp Security?

2003-07-03 Thread Dolf Starreveld
with the logout/bring the user back problem. If the object is not in session, I get the Principal from the request and use it to locate the User BO and put it in session. I then do not need to send the user back to a main page. This should work with real CMS as well. On Thu, 2003-07-03 at 15:27, Dolf

Internationalization of string with embedded link?

2003-03-22 Thread Dolf Starreveld
On a struts based JSP is need to output something like: To do x, click here here means that words needs to be a link. Without using resource (and internationalization), it would look like: PTo do x, click a href=URLhere/a/P Without internationalization 100% OK, it would become: P bean:message

Re: Internationalization of string with embedded link?

2003-03-22 Thread Dolf Starreveld
In a mail from 13:44 +1200 3/23/03 Jason Lea wrote: Dolf pointed out this doesn't solve the problem due to the use of the html:link on his jsp page. After looking around I have learnt something new :) and have found a solution (using Java Servlet 2.3 and JavaServer Pages 1.2 eg Tomcat 4+.)