help me installing struts generator

2004-07-14 Thread Shiva Narayana
plz help me in installing Karapan Sapi Struts Generator

   i tried but unable to install.plz find the
link for installation..

http://sourceforge.net/projects/strutsgenerator/


-- 
Regards
Shiva

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: strut-config.xml parse error issue - Urgent!!

2004-07-14 Thread Craig McClanahan
Ashutosh Satyam wrote:
Thnx a million Erik.
It worked but still couldn't
make out how DTD is enforcing this particular
behaviour.
 

In the DTD, look at the definition of the "struts-config" element ... 
you'll see that it explicitly lists the order of the various 
subelements.  The same thing happens in the definition of 
sub-subelementsl  Whether there should really be a required order or not 
is a reasonable usability question, but this is the actual way that the 
DTD enforces ordering.

:-) Ashutosh
 

Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Initialization stuff

2004-07-14 Thread Martin I. Levi
Got it. Thanks!

On Tue, 2004-07-13 at 15:44, Emmanouil Batsis wrote:
> Martin I. Levi wrote:
> 
> > Is this a better solution than mine?
> 
> Although I often use servlets for initialization, Paul's suggestion is 
> better because ServletContextListener was designed exactly for 
> initialization/finalization purposes.
> 
> Using the right tool for the job is a good practice even if you gain 
> nothing more in functionality; it makes your application 
> components/logic easier to identify later.
> 
> So i guess I should refactor too ;-)
> 
> Manos
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Saludos,

Martin I. Levi

Centre Tecnològic de Transferenciència de Calor
Universitat Politècnica de Catalunya
www.cttc.upc.edu


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Access to message properties from within application

2004-07-14 Thread Jan Behrens
Hi List,

is there a way to access the language specific messages stored in my
resource file from within my logics java code? I understand that I will
probably need to specify the locale that I need - that should not be the
problem though.

TIA, Jan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



NoClassDefFoundError on a class file that does exists

2004-07-14 Thread Ding Lei
Hello all, I am working on a Web application on Jboss 3.2.4 with Struts 1.1.
It reports NoClassDefFoundError on class com/embisoft/dvb/user/DVBUser,which
stays in a jar file under WEB-INF/lib.  

I'v double checked the jar file, and sure that the class file is just fine.
the problem doesn't occurs all the time, after several attempts of ant clean,
dist and war deploy, sometime the problem disappears.  I am sorry that if this
isn't the right place to post, not really sure whether a problem of JBoss or
Struts.

Thanks in advance.

Root cause
java.lang.NoClassDefFoundError: com/embisoft/dvb/server/DVBUser
com.embisoft.dvb.server.actions.LoginAction.login2(LoginAction.java:134)
com.embisoft.dvb.server.actions.LoginAction.execute(LoginAction.java:108)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.embisoft.dvb.server.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:170)


-- 
Layman <[EMAIL PROTECTED]> Ext: 8059

"... an experienced, industrious, ambitious, and often quite often
picturesque liar."
-- Mark Twain

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Javascript Validation staticJavascript - Best Practices

2004-07-14 Thread J. Fiala
hi there,

I've used the html:javascript tag to have the javascript code generated 
for my form.
I found out that using staticJavascript="false" I can prevent the static 
javascript code from messing up the html head.

To my mind it would be the cleanest solution to refer to the static 
javascript using


Unfortunately the html:javascript code doesn't seem to allow to turn off 
the start/end script-tags. 
Looking inside the taglib API 
(struts-1.1/doc/api/org/apache/struts/taglib/html/JavascriptValidatorTag.html) 
it does only include getters for getJavascriptBegin()/getJavascriptEnd() 
but no setters, thus the code generated always looks like: