Re: Request for expert advice on design

2001-09-04 Thread Lavandowska
Ray, Since you are using Struts, I would advise you to take advantage of it! Design a "ResourceForm" bean to hold your XMLResource data in some other data structure (such as an ArrayList for example - I have no idea what an "XMLResource" is). Then use the Struts tags or JSPTL for displaying the

Request for expert advice on design

2001-09-04 Thread Ray Allis
[Newbie, a bit overwhelmed] Building a NewsML application using dbXML (http://dbxml.org). Struts framework: jakarta-struts-1.0, jakarta-tomcat-4.0-b7, JSE (build 1.3.1-b24), jakarta-taglibs-jsptl-20010830, xtags-20010620.tar.gz ... Simple application: add, modify, delete XML documents in the d

Re: Problem with if and scriplets

2001-09-04 Thread Shawn Bayern
On Tue, 4 Sep 2001 [EMAIL PROTECTED] wrote: > Generated servlet error: > D:\java\rendering\work\_0002fJspWithBeanTag_jsp.java:135: Statement not > reached. > out.write("\r\n\t\t"); This is the problem. The confusion is more from JSP than JSPTL; the problem is that yo

How to get Map value in jx:expr?

2001-09-04 Thread zeljko
I'm trying to read property from Map. I tried but nothing works.

Problem with if and scriplets

2001-09-04 Thread zeljko
I have a scriplet that checks security. It looks like this: <% if (!securityBean.check(session)) { response.sendRedirect("login?target=JspWithBean.jsp"); return; } %> When I convert it to tag: <% response.sendRedirect("login?target=JspWithBean.jsp"); return; %> it thr

RE: Problem with JSPTL install

2001-09-04 Thread zeljko
The problem was in JBuilder's classpath. It works now. Thanks. Servlets and JSPs worked normally, only JSPTL throws exception. > > Hello, > > I'm trying to install JSPTL 1.1 EA with Tomcat 4.0 b7, but it throws > > exception. I didn't tried it with b6 because download page > says it's bad. > >

Re: Problem with JSPTL install

2001-09-04 Thread Shawn Bayern
On Mon, 3 Sep 2001 [EMAIL PROTECTED] wrote: > Hello, > I'm trying to install JSPTL 1.1 EA with Tomcat 4.0 b7, but it throws > exception. I didn't tried it with b6 because download page says it's bad. > Any ideas? > Root Cause: > java.lang.ClassCastException: org.apache.taglibs.jsptl.tei.DeclareTE