Hi Tony,
try this:
/etc/initd/apache stop
if this does not work, do this:
ps -ef | grep -i apache
This will give you the PID, which can be used to kill the process:
kill - 9 PID
The next time you restart your server, apache will be started again,
though - so you have to disable it. How to dis
Hi,
you can configure apache to pass all requests containing *.jsp to your
tomcat. This setup requires an extra connector, such as jk2.
Tom
Tony Smith wrote:
Or, can I move my tomcat under apache so now port
number is necessary in the address?
--- Tony Smith <[EMAIL PROTECTED]> wrote:
T
Hi Brent,
yes that's possible. I've just implemented a web service (based on
Apache Axis) that sends DIME Attachments. We have Java and .NET clients
that can consume these. The only problem is that there is bug in the
official 1.21 Axis Release so you would have to use the CVS version.
Regards,
T
Hi everybody!
In my app, I am using DAOs/DTOs to perform CRUD operations on a legacy
database packed with lots of triggers and stored procedures. Some of my
DTOs are pretty complex, meaning, they have to be assembled from many
tables.
A simple example:
Object a (loaded by aDAO) has a list of
Thanks for your answers.
I added a new method to my DAO that allows me to execute predefined
queries and returns kind of "general-purpose-dto"s, that only consist of
a treemap which stores the requested values from the db. So I get one
g-p-DTO per row in my ResultSet that can be passed to the
nts need to know about the contract governing the naming of the
map keys
* Loss of type safety (no compile time checking)
* You'll need to wrap primitives and most access will require casting
-----Original Message-
From: Tom Ziemer [mailto:[EMAIL PROTECTED]
Sent: 18 August 2
Hi everybody!
I have got a litte problem with checkboxes, and yes, I did check the
list's archive before writing this post.
In my app, I display a variable number of options, each of which can
contain a variable number of checkboxes.
A simple example:
Choose toppings for pizza:
1) Cheese:
Hi,
is it possible to validate formBeans that contain hashMaps, and if so, how?
The application im am working on requires an object, that has a variable
number of attributes. Thus, I would be loading the object with its
attributeset, create a DTO and then pass it to the my JSP page, which in
tur
Hi,
I've had the same problem and used a mapped backed form bean, which
worked really well. Now I am wondering whether it's possible to use the
validator plugin to validate the entries. The only problem is that
a) I don't know what kind of properties and
b) how many of them are submitted.
Any id
Hi,
you could try to use
response.addHeader("Content-Disposition", "inline; filename=filename");
and set the "filename" dynamically.
Ta Ta For Now,
Tom
Mili Aggarwal, Noida wrote:
Hello All,
I wish to display an Excel in browser. I am using struts framework.
Thus,in Action I have returned a
Hi,
I had a similar problem. What I did was:
a) put jstl.jar and standard.jar in WEB-INF/lib
b) modify your web.xml - it should start with this line:
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-ap
cnicas
C/ Santa Engracia, 125
Edificio 8
Tel. 91 545 10 00 - Ext. 2128
Fax. 91 545 14 41
___________
Tom Ziemer <[EMAIL PROTECTED]>
18/03/2005 11:00
Por favor, responda a "Struts Users Mailing List"
Para: Struts Users Mailing List
cc: (cco: Rodolfo Garc
Hi everybody!
I am currently developing an application where I cannot use a
persistence layer, thus I am using JDBC, POJOs and DAOs. Is it feasible
to have Beans with PropertyChangeSupport so related objects get
automatically notified when something changes? I am just curious,
beacause I never
Hi,
have you looked at map backed forms? Basically you have Hashmap, that
stores any number of fields. What you need is something like:
[your form]
...
private HashMap properties = new java.util.HashMap();
...
public void setProperty(String key, Object value)
{
this.properties.put(key, value)
Hi everybody.
I've just started working on an application using Struts. In my previous
projects my actions that needed authentication always had some common
class that they extended. Now I am wondering whether it would be
feasible to authenticate using AOP - writing interceptors for each method.
aop.
Greetings
Jimmy
-Original Message-
From: Tom Ziemer [mailto:[EMAIL PROTECTED]
Sent: donderdag 7 april 2005 16:58
To: Struts Users Mailing List
Subject: Authentication question
Hi everybody.
I've just started working on an application using Struts. In my previous
projects my
Hi,
you might want to take a look at Hibernate (www.hibernate.org). It's a
powerful yet (fairly) easy to use persistence layer, that can even be
used with an existing database schema (Middlegen). There is also a lot
of documentation (on- and offline) available for this project.
Regards,
Tom
Sco
Hi,
from my experience, I can recommend PostgreSQL. It's quite easy to
setup, it's reliable and has all the functionality you require (views,
stored procedures, foreign key constraints).
As to the license: "And because of the liberal license, PostgreSQL can
be used, modified, and distributed by
Hi,
why don't you just iterate over your list and write it into a HashMap -
something like:
HashMap mp = new HashMap();
for(int i=0; i
This isn't very sophisticated, but it should work.
Regards,
Tom
senthil Kumar wrote:
Hi all.,
Could you please help me.
I have one ArrayList called dataList.
it
Hi,
I just looked briefly at your code, but could it be, that your filter
intercepts the calls to the error page as well? So you would be
redirecting, then interceptiong, redirecting, etc.
Maybe you could try a different URL pattern for the filter - something
like /protected/*
Hope this helps.
Hi,
imho the jsp (view), because the action is just the controller and each
view component should be able to decide how to format data. Maybe the
fmt tags (jstl) or a custom tag could take care of formatting the output.
Regards,
Tom
Leon Rosenberg wrote:
imho the action, because the neither the
Hi,
I have got a question quite unrelated to Struts: My app. is pretty much
layered, meaning, I have Hibernate, on top of which there are
SpringDAOs, on top of which are Managers that represent my business logic.
Now I wonder, if it is possible, to *hide* (maybe with annotations?) my
DAOs from al
Thanks to everybody who replied to my original post. I am currently
using spring/acegi and it's working great - as long as you use Spring to
create your beans:
// Spring - works like a charm: security via acegi and transactions via
proxies
this.entityManager = (IEntityManager)getBean(SpringBean.M
Hi,
I was just working on common design elements as well (header/footer)
when I saw your post. I am using sitemesh
(http://www.opensymphony.com/sitemesh/), which is a servlet filter that
decorates your jsp pages. It's easy to setup, fast and very unobtrusive
(your pages' source won't change).
HTH
Hi Craig,
sorry, if this is totally OT, but I just posted a similar question in
the sun forum: Where would you actually place the code you mentioned
within a JSF component? I mean beginEncode() is called each time the
page is requested so what can I do, if I only want to add a component
once? I do
Hi,
I am a developer, currently working working on a medium scale app. There
is a base module, which is Spring managed, that handles data access - a
web tier and now a couple of web services. Up until now, we deployed
everything as one application, so communication between the modules was
API-base
hat is modular?
>
> If it isn't a requirement then I wouldn't add some communication layer
> between the modules.
> Be happy that you have everything in one JVM and you don't have to deal with
> the complexity resulting from ANY of the technologies you mentioned.
>
t isn't a requirement then I wouldn't add some communication layer
>>> between the modules.
>>> Be happy that you have everything in one JVM and you don't have to deal
>> with
>>> the complexity resulting from ANY of the technologies you mentioned.
>>
especially the SOAP/WSDL crap
> but thats just me. REST might be good if you like it. I have seen
> several systems working perfectly for years with simple XML messaging
> (asynchronous or not) over HTTP; it's the implementation quality that
> matters here.
>
> hth,
>
&
for a good (or best) corba implementation (orb) :
> www.jacorb.org
>
> regards
> Leon
>
> On 3/28/06, Tamas Szabo <[EMAIL PROTECTED]> wrote:
>> Hi Tom!
>>
>>
>> On 3/28/06, Tom Ziemer <[EMAIL PROTECTED]> wrote:
>>> Hi Tamas!
>>>
ANY application, you should have the special
> type of application to use it.
>
> On 3/28/06, Tom Ziemer <[EMAIL PROTECTED]> wrote:
>> Hi Leon,
>>
>> thanks for the input. May I ask how you would rate JMS and if this would
>> also be a suitable solution f
eadline for our project. :o)
Is RMI performance really that poor? I mean compared to SOAP it still
should be much faster, right? What kind of performance hit are we
actually talking about? Do you have any numbers for Corba/RMI/SOAP ?
Regards,
Tom
Leon Rosenberg wrote:
> On 3/29/06, Tom Ziemer
think about the performance of ejb3? Did you
integrate it with other frameworks such as Spring and/or Hibernate?
Regards,
Tom
Leon Rosenberg wrote:
> On 3/29/06, Tom Ziemer <[EMAIL PROTECTED]> wrote:
>> Hi Leon,
>>
>> Spring: Well, our app started as a single jvm versio
Hi,
I have got a little problem with Hibernate - well actually it is only
partially related to it:
My app uses Spring + Hibernate (lazy loading), but should I return the
value beans (dom) from Hibernate to my Struts actions? If I do this, I'd
have to deal with LazyInitializationExceptions fo
avoid using DTOs.
Tom
Marco Mistroni wrote:
Hello,
Any reason of why you can't use DTOs?
Your domain objects and dto could implement the same interface..
HTH
marco
-Original Message-
From: Tom Ziemer [mailto:[EMAIL PROTECTED]
Sent: 30 November 2005 14:26
To:
communicate with the app.
Thanks,
Tom
Borislav Sabev wrote:
Tom Ziemer wrote:
Hi,
I have got a little problem with Hibernate - well actually it is only
partially related to it:
My app uses Spring + Hibernate (lazy loading), but should I return the
value beans (dom) from Hibernate to my Struts
the objects in the collection that are
necessary for what domain object you are using. Then send the object back
to the action to be manipulated as necessary.
Probably not perfect but seems to provide the flexibility we need. I am
interested to know what others are doing too.
Hope that helps.
Matt
t are needed or do you have multiple
methods?
The problem that I see is that with any approach, you kind of couple
view and model very closely but I assume this cannot be helped.
Tom
Borislav Sabev wrote:
Tom Ziemer wrote:
Hi Borislav,
unfortunately I cannot do this, because I have a
collection rather than let the web layer handle that...
HTH
marco
-----Original Message-
From: Tom Ziemer [mailto:[EMAIL PROTECTED]
Sent: 30 November 2005 15:39
To: Struts Users Mailing List
Subject: Re: slightly [OT] Hibernate and domain objects in web apps
Hi,
@Matt:
thanks for y
Hi,
I suggest you take a look at both - they're both great frameworks that
ease development and you will find tons of people that will tell you
that Hibernate is better and just as many that are claiming the opposite.
Basically it boils down to this: Do you want to
a) write the SQL for the CR
Hi everybody,
I am aware that this is totally OT, but I'd be really grateful for any
answers, hints, best practices, links, whatever. My problem is as
follows:
I am using Hibernate/Spring to load domain objects (DOM) from my
database, then I use these DOMs to display information on the web.
Great
Hi there,
my setup is similar - I have got a JSF frontend and a Spring controlled
business logic that handles RMI (client and server) and exception
handling (via AOP) declaratively. I'd suggest you take a look at Spring
since it eases development, keeps your app. simpler and smaller and
therefore
Hi everybody,
This is rather off topic (and a repost from a different list), but this
is bugging me and I am sure, lots of you have faces a similar problem.
Basically it boils down to remoting via web services, RMI, Corba, etc.
and passing objects by value instead of by reference.
Please consider
Hi Juan,
did you add something like:
to your sitemesh.xml
I am using SiteMesh with Struts and it's working just great (excludes as
well).
HTH,
Tom
Juan Espinosa wrote:
> Hi to all, im using sitemesh and i have a little problems with excludes
> I have an action that load some data from a db and
? Im using only sitemesh without freemaker
> or velocity
>
> Anyone could help me ?? :)
>
> Regards,
>
> Juan
>
>
>
> -Mensaje original-
> De: Tom Ziemer [mailto:[EMAIL PROTECTED]
> Enviado el: Martes, 07 de Noviembre de 200
nd this cuestion. im using struts2
>
> Are you redirecting (redirect="true") to the JSP in your struts-config.xml
>
> this is my struts config
> class="uy.com.nilo.web.actions.CustomerAction">
> /private/login.jsp
>
>
> Regards
46 matches
Mail list logo