Configuration().configure().buildSessionFactory() in
StartupListener creates the Hibernate SessionFactory;
InitialContext().lookup(Constants.SESSION_FACTORY) in
ServiceLocator retrieves the SessionFactory.
--- lixin chu [EMAIL PROTECTED] wrote:
Hi,
I have question after reading AppFuse
Hi,
I have question after reading AppFuse example - but I
hope that the question is generic enough for posting
in this forum. Sorry if it is not.
AppFuse has a StartupListener.java which initialize
Hibernate using:
Configuration().configure().buildSessionFactory();
So to support this, we need
. Yucky but
it lets me run under
eclipse and debug at least!... sigh/)
-Original Message-
From: lixin chu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 17 February 2004 19:05
To: [EMAIL PROTECTED]
Subject: Eclipse + Tomcat plugin question
Hi ,
sorry if this is not the right forum
Hi ,
sorry if this is not the right forum for this
question:
I am using Eclipse 3.0M6, Tomcat 5.0.18 and Sysdeo
plugin for Tomcat 2.2.1, and Struts 1.1.
everything works fine until I wanted to use Log4J in
my code. When I start Tomcat from within Eclipse, it
reports missing log4j.jar in
prolem found:
need to use relative path :
nested:image src=images/tree/km_plus.gif
property=toggle/
~~~
---
hi,
i am trying the nexted MOnkey example, everything
works fine except that the image is not shown.
hi,
i am trying the nexted MOnkey example, everything
works fine except that the image is not shown. In my
TreeNode.jsp:
nested:image src=/images/tree/km_plus.gif
property=toggle/
The only difference is that TreeNode is a Tile now.
I am using IE 6.0, Win XP, Struts 1.1
thanks in advance,
li
is Hibernate another good alternative ?
--- Oliver Thiel [EMAIL PROTECTED] wrote:
Hi,
you can use iBatis [http://www.ibatis.com/] and
take a look at this example/tutorial:
http://www.reumann.net/do/struts/ibatisLesson1
(using: Struts - DAO - iBatis )
I think this is what your
this sounds like a Velocity-like feature.
dun if Struts supports this with Tiles
--- Dominik Stöttner [EMAIL PROTECTED] wrote:
Hi,
I am trying to write a webapp with struts and tiles
that is similar to the portlet-technology. The
tiles-documentation example provided with struts is
very
Hi,
is it possible to support multiple Tiles definition
files in one application ?
thanks
li xin
__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
that submit your form. I've done this
and it works fairly
well - although in the end I decided the table
didn't need any sorting.
HTH,
Matt
-Original Message-
From: lixin chu [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 6:43 PM
To: [EMAIL PROTECTED]
Subject
Hi,
Not sure if it is the right forum to ask - I just hope
someone has experience on this:
1) beside Xkins, are there any skin management package
for Struts ?
2) I got a problem when trying the Xkins 0.9.6. I am
using TOmcat 5.0.16. It seems that it is not able to
start Xkins 0.9.6. Here is the
Hi Experts:
Would appreciate if you could share your advice: how
to keep the customization info of a web application.
some sample requirements:
1. menu is dynamically created based on the Role of
the logon user
2. Tables can be customized - for example, which
columns to display, editable,
this gives you some ideas.
Gary VanMatre
-Original Message-
From: lixin chu [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 8:58 AM
To: [EMAIL PROTECTED]
Subject: Looking for design pattern advice: where to
keep the
customization info
Hi Experts:
Would
Hi,
I found the Display Tag which is really nice. However,
it has a couple of problems:
1. 'export' display data in the Tile not exporting to
a file - w/o Tiles it is fine.
2. I need a column of Checkbox, but the status is not
kept after sorting.
Does anyone know if there is another package
any sorting.
HTH,
Matt
-Original Message-
From: lixin chu [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 6:43 PM
To: [EMAIL PROTECTED]
Subject: generating tables in Struts
Hi,
I found the Display Tag which is really nice.
However,
it has a couple
sorry for this newbie question, tried, googled, but
can not find an anwser:
I have a Action class (myAction) and a utility class
(myABC class), in myAction, I try to instantiate it:
myABC abc = new myABC (..);
when compiling, error msg:
~~~
cannot reolve symbol
symbol:
an be found that
matches myABC
(..). So, be sure there is such a constructor.
- Original Message -
From: lixin chu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 19, 2004 10:04 AM
Subject: newbie question : cannot resolve symbol
when compiling an Action
class
Hi,
I am unable to get a DataSource in my Action. Here is
my code snippet:
struts-config.xml
--
data-source
set-property
property=driverClass
value=com.mysql.jdbc.Driver/
set-property
property=maxCount
I can successfully move all the files into
/WEB-INF/subfolder (WEB-INF is protected by default)
except the images/ folder. It seems that I have to
leave it outside - in the webapp root.
I am using Tomcat 5.0.16. Is it a defect or it is like
this ?
--- Karr, David [EMAIL PROTECTED] wrote:
Put all
or it won't show up
when someone wants to view
the page.
-Max
- Original Message -
From: lixin chu [EMAIL PROTECTED]
To: Struts Users Mailing List
[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 5:07 PM
Subject: RE: JSP Protection
I can successfully move all the files
hi,
is there a reference implemntation of RBAC (Role based
access control - http://csrc.nist.gov/rbac/ ) for
Struts ?
thanks
li xin
__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
hi,
i am trying to build struts from source (1.1), got 4
error messages:
(1) [javac]
D:\JAKART~1.1-S\src\share\org\apache\struts\action\ActionServlet.java:443:
release() in org.apache.commons.logging.LogFactory
cannot be applied to (java.lang.ClassLoader)
[javac]
problem found:
1. I copied some new version of jar files into j2sdk
folder.
2. those jar files are used even though I have pointed
to a special folder which contains the right version
of jar files in the build.properties file.
--- lixin chu [EMAIL PROTECTED] wrote:
hi,
i am trying to build
the beans are dynamic I'd be looking into
dynabeans to achieve
this.
I'd be interested in knowing what the actual problem
is you're solving.
Cheers Mark
On 7 Jan 2004, at 11:14, lixin chu wrote:
hi,
i just tried these sceniors, it seems that nothing
happened. I checked Tomcat
I am thinking of another solution - saw people talking
about action chain but do not really understand:
in the page, I use url encoding to differentiate
applications:
html:link page=/appl.do?applname=app1Application
1/html:link
In the struts-config.xml, i define a stub
itsel automaticly.
Carl
lixin chu wrote:
Thanks !
I am very new to this web application world, just
wanted to clarify if I can do these in a running
Struts application without restart Tomcat:
1. Can I modify existing JSP files ?
Yes, I have tried
2. Can I add new JSP files
hi,
i would like to know if it is possible to dynamically
(without restart servlet engine) add Actions.
say for example, i have one struts based application
running. now i want to add one hyperlink in a JSPfile
which points to another struts based application
module. how do i do it ?
is there
Hi newbie question again:
i am buidling a web site which has some general
features, user login, role based security. no much GUI
on the pages though.
i would like to know if i should use Velocity or JSP ?
especially I would like to know:
1) do I still need Tiles to manage layout or Velocity
will
at run time.
Manfred
lixin chu wrote:
hi,
i would like to know if it is possible to
dynamically
(without restart servlet engine) add Actions.
say for example, i have one struts based
application
running. now i want to add one hyperlink in a
JSPfile
which points to another struts
hi all,
i am new to Struts. A question about configuring Tiles
and Struts. Hear are my files:
struts-config.xml
-
..
plug-in
className=org.apache.struts.tiles.TilesPlugin
set-property
property=pathnames
value=WEB-INF/tiles-defs.xml/
/plug-in
..
by Cedric Dumoulin at
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf
but that seems
to list tiles:insert beanName=loginDef ... /
(beanName instead of
definition).
Regards,
David
-Original Message-
From: lixin chu [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 04
31 matches
Mail list logo