Re: How to disallow opening a page directly from URL

2006-05-17 Thread Christian Bollmeyer
Paul Benedict schrieb: Panak, how are the menu items going to communicate to your application which item was selected? Obviously, by incoking an Action; if the menu items can invoke the Action, so can a user. There is no such thing as security in this case. Just a thought, but probably the

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread Christian Bollmeyer
This is kind of trivial and not related to Tiles at all. Fact is, your Flash thing or even the image, if you like, are not found because their URLs are incorrect. Solution is to specify context-relative URLs like this (JSP 2.0): img src=${pageContext.request.contextPath}/myImage.jpg and the

Re: Unsupported major.minor version 49.0

2006-02-02 Thread Christian Bollmeyer
Hi, well, the truth may be found somewhere in-between. First of all, each java class has a version stamp, older versions have lower numbers. The JVM is backward compatible, so older classes also run in a newer JVM. Version ranges are as follows: Java 1.1 platform: 45.3-45.65535 Java 1.2

Re: [OT] Cookies enabled on browsers

2006-01-16 Thread Christian Bollmeyer
Craig McClanahan schrieb: On 1/15/06, Deepa Khetan [EMAIL PROTECTED] wrote: Hi! My application requires, per-session cookie to be enabled on client browser. How can i determine in my java code if it is enabled or not! Deepa There is only one test that is useful for this ... set a cookie on

Re: [OT] Oracle Personal Edition andTomcat

2005-11-29 Thread Christian Bollmeyer
The Oracle database has integrated web functionality (implementation is version specific; some versions have the 'pigs on the wing' OSE, others XDB) which runs on port 8080 which is also the Tomcat default. IIRC it's rather difficult to make Oracle change the port (IIRC it's stored somewhere in

Re: [OT]what techonolgies will you use to develop a new web application

2005-11-10 Thread Christian Bollmeyer
Just to add that Sun is offering both Java Studio Enterprise 8 and Java Studio Creator for free now, http://developers.sun.com/prodtech/javatools/free/ -- Ch. JDeveloper 10.1.3 EA (which is also free) has excellent JSF support, too. Ted Husted schrieb: On 11/9/05, Ashish Kulkarni [EMAIL

Re: html:textarea with tags

2005-11-05 Thread Christian Bollmeyer
Murray Collingwood schrieb: If you know of any sites providing formatted text inside a textarea I would be really interested (as would most readers) please post the link. It's not possible in plain HTML, but in JavaScript (to some degree). There are a lot of such scripts on the web, many of

Re: [OT] Question using struts-layout TagLib

2005-11-03 Thread Christian Bollmeyer
Or eXtremeTable (www.extremecomponents.org), which is what we use in our current project. -- Ch. Martin Gainty schrieb: This is Fantastic Thanks Dennis! Martin- 617-852-7822 - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent:

Re: [OT] Question using struts-layout TagLib

2005-11-03 Thread Christian Bollmeyer
Michael Jouravlev schrieb: On 11/3/05, Christian Bollmeyer [EMAIL PROTECTED] wrote: Or eXtremeTable (www.extremecomponents.org), which is what we use in our current project. Home page is not shown if Javascript is turned off. Not even a message. Yep. Wasn't so earlier, but according

Re: Is there an abstract meta-model of Struts ?

2005-10-30 Thread Christian Bollmeyer
Hi, your thoughts are quite interesting, but unfortunately I don't know about an official MOF and kind of doubt from my own experiences Struts development can succesfully be formalized that way. For instance, many people still think quite differently about the 'M' part; there is no 'official'

Re: Cross-Site Scripting attack

2005-10-28 Thread Christian Bollmeyer
Hi, don't have any recommendations specifically for CSS attacks at hand, but you may want to hava a look at WebGoat and WebScarab avai- lable from here: http://www.owasp.org/software/webgoat.html WebGoat teaches common Java web security pitfalls and has been quite successfuly used here for

Re: Is there an abstract meta-model of Struts ?

2005-10-28 Thread Christian Bollmeyer
Hi, I only have limited experience with MDA, and we don't use AndroMDA at work. But as I understand from their site, there's an existing cartridge for Struts already available: http://www.andromda.org/andromda-bpm4struts-cartridge/index.html I know that in Germany there are projects where the

Re: Need good tab control for JSP.

2005-10-25 Thread Christian Bollmeyer
. Christian Bollmeyer wrote: Ah, another important issue I forgot: the tab titles are 'fixed' and therefore not i18n-capable, neither via resource bundles nor fmt:message. -- Ch. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: TLD file placement

2005-10-25 Thread Christian Bollmeyer
In fact, this should not occur, for a 2.3 spec-compliant server matches the taglib uri against web.xml and the tld file(s) inside the jar's META-INF directory first and should therefore resolve it locally before looking up the web. The latter would fail any- way in most cases. As an example, just

Re: Need good tab control for JSP.

2005-10-24 Thread Christian Bollmeyer
Ah, another important issue I forgot: the tab titles are 'fixed' and therefore not i18n-capable, neither via resource bundles nor fmt:message. -- Ch. Laurie Harper schrieb: Christian Bollmeyer wrote: This component is quite good, but requires JSP 2.0 (SimpleTag) and has issues with Tiles

Re: Need good tab control for JSP.

2005-10-24 Thread Christian Bollmeyer
Laurie Harper wrote: Christian Bollmeyer wrote: Hi, This component is quite good, but requires JSP 2.0 (SimpleTag) and has issues with Tiles (switch off JavaScript and see for yourself). Damn, I was thinking this looked pretty promising 'til I read that... Can you expand at all? I only

Re: Need good tab control for JSP.

2005-10-23 Thread Christian Bollmeyer
Zsolt schrieb: Hi, Hi, I need a good tab control for JSP. I have tried struts-layout and http://209.61.157.8:8080/taglibs/?orgDitchnetTabPaneId=overview. This component is quite good, but requires JSP 2.0 (SimpleTag) and has issues with Tiles (switch off JavaScript and see for yourself).

Re: Forcing JSP reloading, avoiding IE caching of it

2005-10-22 Thread Christian Bollmeyer
Hi, you may want to check out these first: http://support.microsoft.com/kb/234067/EN-US/ http://support.microsoft.com/kb/222064/EN-US/ Then, IE understands extended HTTP/1.1 Cache-Control headers that the nocache directive doesn't issue. For testing, add the following line to the top of your

Re: What's wrong with DTOs?

2005-10-18 Thread Christian Bollmeyer
[EMAIL PROTECTED] schrieb: +1. The first thing I always preach new developers on my team is that they should think the entire web tier away and replace it (mentally) with a Swing or whatever client, without changing anything in the subsequent layers, and the application still has to work as

Re: [OT] Re: JDeveloper 10.1.3 Early Access

2005-09-21 Thread Christian Bollmeyer
Hi, I think what you mean is a feature named 'Local History' that has been around in Eclipse for quite some time. The new release has a much improved built-in CVS client (10.1.2 still used the CVS binaries which is optional now) and supports other SCMs (ClearCase, Perforce, Dimensions at the

JDeveloper 10.1.3 Early Access

2005-09-20 Thread Christian Bollmeyer
Hi, just wanted to drop some note that finally Oracle put the EA version of the upcoming JDeveloper 10g release on OTN. Only had little time for evaluation so far, but as far as I can tell by now, the thing really rocks. http://www.oracle.com/technology/software/products/jdev/index.html --

Re: new Struts tools for layout other than Tiles

2005-09-16 Thread Christian Bollmeyer
?? What's wrong with Tiles? It's a part of Struts since then and still under active development. http://svn.apache.org/viewcvs.cgi/struts/tiles/ -- Ch. - Original Message - From: ??? [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, September 16,

Re: DAOs in service methods

2005-09-01 Thread Christian Bollmeyer
Hi, my suggestion would be to have a closer look at the Spring framework. IoC / dependency injection is really cool once you get a grasp of it. Instead of having the service look up a DAO instance, you simply inject the fitting implementation class into the service via Spring. The service itself

Re: DAOs in service methods

2005-09-01 Thread Christian Bollmeyer
On Thursday 01 September 2005 19:26, Larry Meadors wrote: iBATIS is 100% thread-safe. Larry PS: can you point me to a good example of a Spring-based DAO implementation? Hm...IMHO one good example would be the JPetstore sample app that comes with the Spring distribution, for instance. Good

Re: [OT] Re: Fired???? was...Re: Struts Books Recommendations [OT]

2005-07-06 Thread Christian Bollmeyer
On Wednesday 06 July 2005 19:48, Rick Reumann wrote: Hi, Daniel Perry wrote the following on 7/6/2005 12:49 PM: Hah, it's the business use of web/email they fire you for. Go read your terms of employment, and the reference to IT acceptible use policy that you inadvertantly agreed to.

Re: Action forwards to a URL outside application

2005-03-01 Thread Christian Bollmeyer
On Monday 28 February 2005 18:47, Shey Rab Pawo wrote: I don't know what a bd is but just make your action forward whatever you want to forward to. Now, this may not be too helpful, regardless of whether 'BD' means Business Delegate or is a typo for 'DB'. In fact, I would prefer the first

Re: Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Christian Bollmeyer
On Tuesday 01 March 2005 22:07, Joe Hertz wrote: Curious as to which concept Struts/Hibernate implementers like more for implementation: #1- Ted Husted's example of Struts and Hibernate. Stick the Hibernate Session object into the httpServletRequest. Every action has a fresh Hibernate

Re: Display a form without using .do

2005-02-20 Thread Christian Bollmeyer
On Friday 18 February 2005 19:00, Erik Weber wrote: Learn to use (Servlet) path mapping (/something/*) instead of extension mapping (*.something). Hm. Extension mapping is typically safe, while path-prefix mapping may be *not*. The details are laid out in Bergsten's 'Java Server Pages' 2nd

Re: Display a form without using .do

2005-02-20 Thread Christian Bollmeyer
On Sunday 20 February 2005 16:52, Erik Weber wrote: Could you elaborate please? Is this a Servlet model security problem, one specific to Struts, or one that is only exposed by neglect in some other area (which is what I suspect)? This is news to me. I've used path mapping all my Java life.

Re: newbie question

2005-02-05 Thread Christian Bollmeyer
On Friday 04 February 2005 22:53, Soaring Eagle wrote: Check the syntax of your struts-config.xml. The one you posted is heavily mixed up. In fact it's not even well-formed XML, with odd nestings, closing tags without a start tag, illegal attributes and the like. I'd recommend to drop the current

Re: [ANN] Free JSP Editor for Eclipse (Call jor Jack Dakota!) [FRIDAY]

2005-02-04 Thread Christian Bollmeyer
On Friday 04 February 2005 21:42, Leon Rosenberg wrote: Well, actually my IDE (Oracle JDev 10g) supports multiple kinds of projects within one WorkSpace, the web tier being just one of them. Taglibs may be another issue, business and backend tiers, too. All those are strictly seperate things. But

Re: Tiles or Frames or Both

2004-12-07 Thread Christian Bollmeyer
On Tuesday 07 December 2004 17:15, Luiz Esmiralha wrote: On Mon, 06 Dec 2004 16:55:43 -0500, Frank W. Zammetti Hi, When you are starting out you really can't make the decision all by yourself, can you? The only reason you presented for using frames is increasing performance. If your

Re: How to render html embedded in a text-area?

2004-08-03 Thread Christian Bollmeyer
On Tuesday 03 August 2004 17:34, John McGrath wrote: Something possibly even cooler (as long as the client is IE 5.5+; otherwise, it won't show up) I recently stumbled over is http://www.interactivetools.com/products/htmlarea/ which turns a textarea into a configurable WYSIWYG HTML editor. Easy

Re: JSF vs Struts

2004-07-18 Thread Christian Bollmeyer
On Sunday 18 July 2004 19:08, Craig McClanahan wrote: +1. But one thing I always wondered about, and as you brought the term into play here: I suspect Bryan might be confusing particular tools (i.e. Sun Java Studio Creator, deliberately aimed at corporate developers) with the underlying

Re: Newbie-Q regarding tiles

2004-06-05 Thread Christian Bollmeyer
On Friday 04 June 2004 18:42, vpsangeetha wrote: You can't directly access Tiles definitions from your JSPs, but have to wrap them into Struts actions (in struts-config.xml) like this: action path=/login forward=loginPage/ Then call login.do, and it will work. HTH, -- Chris. Hi, I have a

Re: [OT] JSF Tutorial

2004-06-01 Thread Christian Bollmeyer
On Tuesday 01 June 2004 23:07, snpe wrote: You try http://horstmann.com/corejsf/ One of my favorite Java authors. Just to drop a note Sun has released JSF RI 1.1 just recently, so it might be time for an update again :-) http://java.sun.com/j2ee/javaserverfaces/download.html -- Chris regards

Re: html:form

2004-04-18 Thread Christian Bollmeyer
On Sunday 18 April 2004 16:30, as as wrote: Hi, Thanks for the reply. I am submitting both the forsm... Probably, but where? so does only one submitted form end up in the request? Yes. Here is my code briefly:   html:form action=principalEdit name=principalForm type=com.PrincipalForm  

Re: [OT] Oracle JDev 10g Final (9.0.5.1 build 1605) is out!

2004-04-17 Thread Christian Bollmeyer
On Saturday 17 April 2004 14:13, Erik Price wrote: On Apr 14, 2004, at 4:24 AM, Christian Bollmeyer wrote: Finally! http://otn.oracle.com/software/products/jdev/index.html (249MB) -- Chris No MacOSX version? :( Hi Erik, though MacOS X is not an officially supported platform

Re: JSTL + isUserInRole

2004-04-17 Thread Christian Bollmeyer
On Friday 16 April 2004 21:58, Paulo Alvim wrote: Hi! Is it possible to test isUserInRole using JSTL 1.0 (like the struts logic present role tag)? Thanks in Advance... Alvim. Hi, AFAIK that's not possible in plain JSTL, so your options are either to use scriptlets or stick to the logic

Re: html:form

2004-04-17 Thread Christian Bollmeyer
On Saturday 17 April 2004 05:13, as as wrote: Hi Has anyone implemented two html:form in a same jsp.. I wish to do this to implement two tables.each table displaying values in a row, of a bean... so there are two beans... for some reason, it gives me error saying it cnat find getter for

Re: still about jsp:include

2004-04-16 Thread Christian Bollmeyer
On Friday 16 April 2004 12:08, Mu Mike wrote: Hi, probably I don't fully grok what's your exact problem. What I get is that you have an iframe plus a jsp page that's intended to be displayed there. Forgetting about the iframe for the moment, let's have a closer look at my.jsp. I see a form that

Re: Complex validation

2004-04-15 Thread Christian Bollmeyer
On Thursday 15 April 2004 15:36, Diego wrote: I admit having but limited experience with Validator, and DynaActionForm, and the reason for that is not that it's bad in itself, but I found that complex, in particular application specific 'dependant' validation can be performed much easier by using

Re: [OT] Oracle JDev 10g Final (9.0.5.1 build 1605) is out!

2004-04-14 Thread Christian Bollmeyer
On Wednesday 14 April 2004 10:24, Christian Bollmeyer wrote: Finally! http://otn.oracle.com/software/products/jdev/index.html (249MB) -- Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: struts and tiles seem not to like each other

2004-04-10 Thread Christian Bollmeyer
On Saturday 10 April 2004 18:36, Marc Tinnemeyer wrote: Hi, didn't check if your overall configuration is correct, but the first thing I'd suggest is moving the global-forward part to a normal ForwardAction like this action path=/login forward=tiles.login/ and refer to that in your index.jsp:

Re: Jar order in classpath

2004-04-10 Thread Christian Bollmeyer
On Saturday 10 April 2004 19:24, J.R. Heisey wrote: Hi, 1. Considering the CLASSPATH issue: 'first come, first serve'. I would suspect you may have multiple, different versions of commons.logging in your CLASSPATH. How that's set up exactly in your environment(s) (Tomcat uses a separate one), I

Re: Hiding the .do part in the site address

2004-04-09 Thread Christian Bollmeyer
On Friday 09 April 2004 21:33, Erez Efrati wrote: Already tried s/th like jsp:forward page=/main.do / in your index.jsp? :-) HTH, -- Chris. Hi, Like all Struts application I have the index.jsp redirecting the user client to my home.do struts action. Is it possible to get rid of the

Re: can iframe include files in web-info folder

2004-04-09 Thread Christian Bollmeyer
On Friday 09 April 2004 16:19, dream_and_yang wrote: No, you can't include such files directly, as the container forbids direct access to anything underneath WEB-INF. But of course, you can always wrap test.jsp in a ForwardAction and set your iframe tag to load that instead: iframe src=/test.do

Re: html:text for Date property

2004-04-09 Thread Christian Bollmeyer
On Friday 09 April 2004 21:19, Paul Barry wrote: Generally, it's a good idea to have only String and boolean properties in an ActionForm and convert the information gathered for further processing lateron. For complex validations (like Dates), I usually check in validate() if the value entered

Re: Hiding the .do part in the site address

2004-04-09 Thread Christian Bollmeyer
On Friday 09 April 2004 21:56, Wendy Smoak wrote: From: Christian Bollmeyer [mailto:[EMAIL PROTECTED] Already tried s/th like jsp:forward page=/main.do / in your index.jsp? :-) But then the URL will still have 'index.jsp' in it, at least if Tomcat is involved. IIRC, Tomcat redirects

Re: Hiding the .do part in the site address

2004-04-09 Thread Christian Bollmeyer
On Friday 09 April 2004 22:42, Craig McClanahan wrote: Wendy Smoak wrote: From: Christian Bollmeyer [mailto:[EMAIL PROTECTED] Already tried s/th like jsp:forward page=/main.do / in your index.jsp? :-) But then the URL will still have 'index.jsp' in it, at least if Tomcat is involved

Re: Struts with Tomcat and Apache

2004-04-09 Thread Christian Bollmeyer
On Friday 09 April 2004 21:55, Ralf Schneider wrote: Hi, I've experimented with the same setup some time ago and found this helpful: http://cymulacrum.net/writings/tomcat5/c831.html HTH, -- Chris. NB. Luckily, there are binary versions of mod_jk2 available now, so you can skip the first part