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
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
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
The output rendered perfectly when the filter attrib. was set to 'false'!
Thanks once again James.
Bob.
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
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.
I am using the tag.
Are suggesting that I write something like :
?
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
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
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
Maybe providing a :
1. Username and
2. A password
would be helpful.
Or ?
check :
http://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_module
s
HTH
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
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
Have tried that too, I get the same exception.
Hi Rich,
These are the changes I have made so far :
Books.jsp :
BookAction :
ArrayList newArrayList = new ArrayList();
ResultSet res = this.getResultSet();
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
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
I don't how to incorporate your suggestion in the ff.: logic:iterate tag :
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
That's also corrected, but the exception still appears!
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
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
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?"
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
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!
Yes, I have my JDBC driver both in my application's as well as in Tomcat's
classpaths
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
28 matches
Mail list logo