doesn't get rendered

2003-07-09 Thread TopBid987654321
Hi All, Maybe someone has done this before : I am trying to use to deliver a in my JSP, however, the tag doesn't get rendered when it is delivered. Instead, the raw tag, , is delivered. Am I missing anything here? Any suggestions please. Thank you. Bob. A snippet from my ApplicationReso

[repost][OT]I can no longer start TC from W2k from the

2003-07-04 Thread TopBid987654321
Hi All, I can no longer start TC from W2k from the Start >> Program >> Apache Tomcat 4.1 >> Start Tomcat using the parameters E:\j2sdk1.4.1_01\bin\java.exe -jar -Duser.dir="E:\Tomcat 4.1" "E:\Tomcat 4.1\bin\bootstrap.jar" start Tomcat start by opening a commandline window as usual, but th

[OT]I can no longer start TC from W2k from the

2003-07-04 Thread TopBid987654321
Hi All, I can no longer start TC from W2k from the Start >> Program >> Apache Tomcat 4.1 >> Start Tomcat using the parameters E:\j2sdk1.4.1_01\bin\java.exe -jar -Duser.dir="E:\Tomcat 4.1" "E:\Tomcat 4.1\bin\bootstrap.jar" start Tomcat start by opening a commandline window as usual, but thi

Re: character entities conversion

2003-06-24 Thread TopBid987654321
The output rendered perfectly when the filter attrib. was set to 'false'! Thanks once again James. Bob.

Re: character entities conversion

2003-06-24 Thread TopBid987654321
Hi James, Thanks for the link to the docs. I got the ff. from the docs a short while ago : "filter If this attribute is set to true, the rendered property value will be filtered for characters that are sensitive in HTML, and any such characters will be replaced by their entity equivalents." I

Re: character entities conversion

2003-06-24 Thread TopBid987654321
Hi James, I would very much like to. Please direct me to where I can get the needed info. in the docs. I have never had to use the filter attrib. in a tag. Any suggestions are welcome.

Re: character entities conversion

2003-06-24 Thread TopBid987654321
I am using the tag. Are suggesting that I write something like : ?

Re: Best practices - help

2003-06-24 Thread TopBid987654321
Thank you all for your useful suggestions. I have gotten it up working now with only something left which I wish it were not there: I have this '../myaction.do' trailling at the end of the URL which I wish it were not there. Preferable would have been /myaction.do after being called in the

character entities conversion

2003-06-24 Thread TopBid987654321
Has anyone any idea how to get character entities which are delivered to a Java Bean from a database converted or rendered to its normal characters in a JSP layer? E.g.. I have a database which is delivering "&","'" etc. instead of the characters "&", "'" etc. in my JSP presentation layer. I

Re: Best practices - help

2003-06-24 Thread TopBid987654321
Hi Steve, The problem is that /MyLayer.jsp happens to be my welcome page. This page has to be displayed on start up.How do I get struts process my Action servlet,myAction, in order to give /MyLayer.jsp the content it needs? Thanks

Re: [OT] Mark Webcam

2003-06-24 Thread TopBid987654321
Maybe providing a : 1. Username and 2. A password would be helpful. Or ?

Re: How do I configure multiple struts-config files?

2003-06-24 Thread TopBid987654321
check : http://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_module s HTH

Best practices - help

2003-06-24 Thread TopBid987654321
Is there a way to populate a bean on a Server's (I'm using Tomcat) start up in Struts? I have a Java bean, say X, which is called and a populated in an Action Servlet, say myAction. Whenever I start my application and call a JSP layer say, MyLayer.jsp, which is supposed to iterate this bean u

ResultSet get closed before connection closes - Help!

2003-06-22 Thread TopBid987654321
I am using a GenericDatasource to establish a connection to a mysql database. The connection get established all right, but when I try to walk the ResultSet, I do get an SQLException which interprets as the ResultSet having been closed. Can someone please explain why a ResultSet object cannot

Re: can't find bean using logic:iterator

2003-06-12 Thread TopBid987654321
Have tried that too, I get the same exception.

Re: can't find bean using logic:iterator

2003-06-12 Thread TopBid987654321
Hi Rich, These are the changes I have made so far : Books.jsp : BookAction : ArrayList newArrayList = new ArrayList(); ResultSet res = this.getResultSet();

Re: can't find bean using logic:iterator

2003-06-12 Thread TopBid987654321
Hi daniel, I am still getting a HTTP Status 500 - Cannot find bean Book in scope session . - as before even if I try to iterate this bean in a session scope

can't find bean using logic:iterator

2003-06-12 Thread TopBid987654321
Hi to Everyone, I am trying to use the tag in my JSP to iterate an ArrayList object which is supposed to be delivered by a bean, called Book, and I do repeatedly get the following exception : [ org.apache.jasper.JasperException: Cannot find bean Book in any scope at org.apache.jasper.servlet.J

Re: NewBie Q: can't find bean

2003-06-12 Thread TopBid987654321
I don't how to incorporate your suggestion in the ff.: logic:iterate tag :

Re: NewBie Q: can't find bean

2003-06-12 Thread TopBid987654321
I have commented out the following "if" statement too in my Action class : if (action == null) {            return (mapping.findForward("techbooks"));       } But I still get : org.apache.jasper.JasperException: Cannot find bean Books in scope request at org.apache.jasper.servlet.JspServ

Re: NewBie Q: can't find bean

2003-06-12 Thread TopBid987654321
That's also corrected, but the exception still appears!

Re: NewBie Q: can't find bean

2003-06-12 Thread TopBid987654321
Hi Marc, I have re-written my code to follow your example, using Arraylists, but I still get the following exception : org.apache.jasper.JasperException: Cannot find bean Books in scope request at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248) at org.ap

Re: NewBie Q: can't find bean

2003-06-12 Thread TopBid987654321
After inserting the scope attrib. to be request, I do still get the following exception : org.apache.jasper.JasperException: Cannot find bean Books in scope request at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248) at org.apache.jasper.servlet.JspServlet

Re: NewBie Q: can't find bean

2003-06-12 Thread TopBid987654321
In my jsp, I have used the iterate tag as follows :    I don't understand what you mean by "Are you looking in the correct scope with the iterate tag?"

NewBie Q: can't find bean

2003-06-12 Thread TopBid987654321
Hi to Everyone, I am trying to use the tag in my JSP to iterate a vector object which is supposed to be delivered by a bean, called Books, and I do repeatedly get the following exception : [ org.apache.jasper.JasperException: Cannot find bean Books in any scope at org.apache.jasper.servlet

Re: Newbie Q: Cannot load JDBC driver class using Datasource Connection

2003-06-07 Thread TopBid987654321
Thanks Brandon , Dimitar, Mark It's working now : After putting the JDBC driver jar in $TOMCAT_HOME/common/lib and referencing it in Tomcat's classpath, it's working!

Re: Newbie Q: Cannot load JDBC driver class using Datasource Connection

2003-06-07 Thread TopBid987654321
Yes, I have my JDBC driver both in my application's as well as in Tomcat's classpaths

Newbie Q: Cannot load JDBC driver class using Datasource Connection

2003-06-07 Thread TopBid987654321
Am I missing something here? Tomcat keeps on giving me the following exception about my JDBC connection driver not being loaded when I try to establish a datasource connection to a mysql database in struts : Initializing application data source org.apache.struts.action.DATA_SOURCE java.sql.SQLEx