RE: New to struts, having an issue

2004-01-13 Thread Richard Hightower
I just saw your LOL. too funny I can't say I have never done anything
like that. Let's both get some sleep, we need it.



-Original Message-
From: Richard Hightower [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 3:34 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: New to struts, having an issue


Conclusion:

Your execute method is getting called... it is the one throwing the
exception. (Or the exception gets thrown when it executes a helper object).

See... com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19)

Send the above line of code with surrounding code.


Thought process

Check the signature of you execute method. Perhaps the default execute
method is getting called.

Hmm.

I looked line 484 of the RequestProcessor (from the stack trace that you
sent).

protected ActionForward
processActionPerform(HttpServletRequest request,
 HttpServletResponse response,
 Action action,
 ActionForm form,
 ActionMapping mapping)
throws IOException, ServletException {

try {
return (action.execute(mapping, form, request, response)); //484
} catch (Exception e) {
return (processException(request, response,
 e, form, mapping));
}

}

It seems like it is trying to do the right thing.

H..

The default impl of the execute method is as follows:

public ActionForward execute(ActionMapping mapping,
 ActionForm form,
 ServletRequest request,
 ServletResponse response)
throws Exception {

// Call the deprecated method for backwards compatibility
return (perform(mapping, form, request, response));

}

As you can see it just calls the perform method.

The perform method(s) are no ops.

I searched the entire code base for the words... Method perform() not yet
implemented. Nothing!

Are you sure you are not subclassing a custom Action class?


Wait... I see... dag nabbit a closer inspection of the stack trace
reveals.

Conclusion:

Your execute method is getting called... it is the one throwing the
exception.

com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19)

Send the above line of code with surrounding code.


Rick Hightower
Developer

Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm

Struts/J2EE consulting --
http://www.arc-mind.com/consulting.htm#StrutsMentoring

-Original Message-
From: Bret Kumler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 3:10 PM
To: Struts Users Mailing List
Subject: New to struts, having an issue


Guys.

I'm using JBOSS 3.2.3, struts 1.1.

When I try to execute my action I get the following on my server stdout.

I thought this was depricated and to use execute()

java.lang.UnsupportedOperationException: Method perform() not yet
implemented.
at
com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:484)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrR
ealm.java:220)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.jboss

RE: New to struts, having an issue

2004-01-13 Thread Richard Hightower
Conclusion:

Your execute method is getting called... it is the one throwing the
exception. (Or the exception gets thrown when it executes a helper object).

See... com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19)

Send the above line of code with surrounding code.


Thought process

Check the signature of you execute method. Perhaps the default execute
method is getting called.

Hmm.

I looked line 484 of the RequestProcessor (from the stack trace that you
sent).

protected ActionForward
processActionPerform(HttpServletRequest request,
 HttpServletResponse response,
 Action action,
 ActionForm form,
 ActionMapping mapping)
throws IOException, ServletException {

try {
return (action.execute(mapping, form, request, response)); //484
} catch (Exception e) {
return (processException(request, response,
 e, form, mapping));
}

}

It seems like it is trying to do the right thing.

H..

The default impl of the execute method is as follows:

public ActionForward execute(ActionMapping mapping,
 ActionForm form,
 ServletRequest request,
 ServletResponse response)
throws Exception {

// Call the deprecated method for backwards compatibility
return (perform(mapping, form, request, response));

}

As you can see it just calls the perform method.

The perform method(s) are no ops.

I searched the entire code base for the words... Method perform() not yet
implemented. Nothing!

Are you sure you are not subclassing a custom Action class?


Wait... I see... dag nabbit a closer inspection of the stack trace
reveals.

Conclusion:

Your execute method is getting called... it is the one throwing the
exception.

com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19)

Send the above line of code with surrounding code.


Rick Hightower
Developer

Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm

Struts/J2EE consulting --
http://www.arc-mind.com/consulting.htm#StrutsMentoring

-Original Message-
From: Bret Kumler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 3:10 PM
To: Struts Users Mailing List
Subject: New to struts, having an issue


Guys.

I'm using JBOSS 3.2.3, struts 1.1.

When I try to execute my action I get the following on my server stdout.

I thought this was depricated and to use execute()

java.lang.UnsupportedOperationException: Method perform() not yet
implemented.
at
com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:484)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrR
ealm.java:220)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStat
sValve.java:76)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
a

Re: New to struts, having an issue

2004-01-13 Thread David Erickson
Bret,
I'm using execute in all of my actions.  You are implementing the execute
action properly in your viewDataAction action class correct?  Also you are
properly extending Action?  Posting some source code might help.
-David

- Original Message - 
From: "Bret Kumler" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 13, 2004 3:09 PM
Subject: New to struts, having an issue


> Guys.
>
> I'm using JBOSS 3.2.3, struts 1.1.
>
> When I try to execute my action I get the following on my server stdout.
>
> I thought this was depricated and to use execute()
>
> java.lang.UnsupportedOperationException: Method perform() not yet
> implemented.
> at
> com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19)
> at
>
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
> sor.java:484)
> at
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:256)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:191)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> at
>
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrR
> ealm.java:220)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
> 46)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> at
>
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStat
> sValve.java:76)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
> )
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> java:171)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
> )
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> at
>
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
> ationValve.java:65)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :174)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.

RE: New to struts, having an issue

2004-01-13 Thread Bret Kumler
Nevermind.

LOL I forgot to remove the throw exception..

DUHH

-Original Message-
From: Bret Kumler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 2:10 PM
To: Struts Users Mailing List
Subject: New to struts, having an issue


Guys.

I'm using JBOSS 3.2.3, struts 1.1.

When I try to execute my action I get the following on my server stdout.

I thought this was depricated and to use execute()

java.lang.UnsupportedOperationException: Method perform() not yet
implemented.
at
com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:484)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrR
ealm.java:220)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStat
sValve.java:76)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
ationValve.java:65)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:549)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:677)
at java.lang.Thread.run(Thread.java:536)



---

Re: New to Struts !

2003-11-26 Thread Ricky
you have to build a action-mapping in struts-config.xml, take a look at
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd to validate the
struts-config.xml form to insert action-mapping

just like:


i hope it can help you.  :)


- Original Message -
From: "Rama, Shreekantha (K.)" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 27, 2003 12:34 AM
Subject: New to Struts !


> Hi All,
>
> I am new to struts.
> I have the following lines of code in my jsp.
>
> 
>
> <%
> FORMTITLE="foms.create.title";
> %>
>
> 
>
> In struts-config.xml the entry is
>  type="com.xxx.action.createForm"/>
>
>
> I am getting the error as
>
> Error 500: Cannot find bean createForm  in any scope
>
>
> Any help ??
>
>
> Regards
> Shree
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: new to struts

2003-11-11 Thread Abhijeet Mahalkar
bye 
mastering struts . good book for basics as well as masters.

try out..
abhijeet
- Original Message - 
From: "sanjay paithankar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 11, 2003 2:47 PM
Subject: new to struts


> Hello 
> 
> can any one point the basic document 
> regarding Struts which has given small examples.
> 
> thnx
> -cs..
> 
> 
> __
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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



RE: new to struts

2003-11-11 Thread Eric SCHULTZ
Good evening...

-Original Message-
From: Saravanakumar P [mailto:[EMAIL PROTECTED]
Sent: November 11, 2003 4:38 AM
To: Struts Users Mailing List
Subject: RE: new to struts

> Programming Jakarta Struts By Chuck Cavaness -O'Reilly publication
> is a good book to start.

that's the book i bought after reading (quickly) through Struts in Action
(which we have two of at the office).  The sales guy said Programming
Jakarta Struts was the more advanced of the two (and Kickstart was the least
advanced) but I have to say i found Struts in Action more informative; and
now that i'm away from the office i'm kind of regretting not buying it
instead.

Schultz.

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



Re: new to struts

2003-11-11 Thread Pratik Patel

can any one point the basic document 
regarding Struts which has given small examples.
There's this amazing new search engine, called Google, which you can 
access at www.google.com. If you enter the words "Struts Tutorial" and 
click "Search" it will bring up a huge list of Struts related websites.

Seriously though, you can find a raft of Struts tutorials here
http://jakarta.apache.org/struts/resources/articles.html
cheers
Pratik


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


RE: new to struts

2003-11-11 Thread Saravanakumar P
Programming Jakarta Struts By Chuck Cavaness -O'Reilly publication
is a good book to start.

SaravanaKumar

-Original Message-
From: Sumit S. [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 3:07 PM
To: Struts Users Mailing List
Subject: RE: new to struts



http://jakarta.apache.org/struts/learning.html is a good place to start.


Sumit



-Original Message-
From: sanjay paithankar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 2:47 PM
To: [EMAIL PROTECTED]
Subject: new to struts


Hello 

can any one point the basic document 
regarding Struts which has given small examples.

thnx
-cs..


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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


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


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



RE: new to struts

2003-11-11 Thread Sumit S.

http://jakarta.apache.org/struts/learning.html is a good place to start.


Sumit



-Original Message-
From: sanjay paithankar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 2:47 PM
To: [EMAIL PROTECTED]
Subject: new to struts


Hello 

can any one point the basic document 
regarding Struts which has given small examples.

thnx
-cs..


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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


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



Re: New to Struts

2003-04-02 Thread Ruben Pardo

But ... why are dynaforms  better than BaseMap Form's? i'm using BaseMap Form and i 
think that is a good choice, and if i have to do something in the reset method, i only 
inherit from the BaseMap, in dynaform you can't do a specific reset am i wrong?
Ruben.


-
Yahoo! Messenger
Nueva versión: Super Webcam, voz, caritas animadas, y más #161;Gratis!

Re: New to Struts

2003-04-02 Thread Brian McSweeney
appreciate it,
cheers,
Brian

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 02, 2003 11:00 AM
Subject: RE: New to Struts


> Yes.
> Basically you create a form in struts-config.xml.
> Then you reference that form in your  instead of the ActionForm
you coded.
> The issue is keeping the JSP form and your declared DynaForm in SYNCH. But
it is not that big of a deal. I do not use ActionFOrms at all in my
application. I do not really need to.
>
> You can also validate against DynaForms, and there are heaps of postings
in the archives to see about validation issues with DynaForms. But try them
out first, and see how it goes.
> The source code examples in the stuts_src.tar worked very well for me. Was
not too difficult to understand.
>
> -Original Message-
> From: Brian McSweeney [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 02, 2003 11:52 AM
> To: Struts Users Mailing List
> Subject: Re: New to Struts
>
>
> Ah, thanks Mick,
>
> So is the DynaForm the one which allows you not to create Forms
> declaratively using
> xml?
>
> Currently I write a form for each action and implement a validate method
in
> the form.
> I was under the impression that there's a way to validate declaritively
too.
> Is this possible and
> if so, with what component?
>
> thanks,
> brian
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 02, 2003 10:29 AM
> Subject: RE: New to Struts
>
>
> > I love DynaForms. But you don't _need_ DynaForms to use Validation.
> >
> > But, I like being able to declare all my forms, and _not_ creating an
> ActionForm class for each form I create.
> >
> >
> > -Original Message-
> > From: Brian McSweeney [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, April 02, 2003 11:23 AM
> > To: [EMAIL PROTECTED]
> > Subject: New to Struts
> >
> >
> > Hi all,
> > I'm relatively new to struts, have used Forms before and am thinking of
> switching to use
> > DynamicActions instead of normal Actions to get the use of the Validator
> package. Can
> > people tell me if this is a worthwhile endevour and also, is there a
good
> resource on how
> > to make this change.
> > cheers,
> > Brian
> >
> > Visit our website at http://www.ubswarburg.com
> >
> > This message contains confidential information and is intended only
> > for the individual named.  If you are not the named addressee you
> > should not disseminate, distribute or copy this e-mail.  Please
> > notify the sender immediately by e-mail if you have received this
> > e-mail by mistake and delete this e-mail from your system.
> >
> > E-mail transmission cannot be guaranteed to be secure or error-free
> > as information could be intercepted, corrupted, lost, destroyed,
> > arrive late or incomplete, or contain viruses.  The sender therefore
> > does not accept liability for any errors or omissions in the contents
> > of this message which arise as a result of e-mail transmission.  If
> > verification is required please request a hard-copy version.  This
> > message is provided for informational purposes and should not be
> > construed as a solicitation or offer to buy or sell any securities or
> > related financial instruments.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> Visit our website at http://www.ubswarburg.com
>
> This message contains confidential information and is intended only
> for the individual named.  If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail.  Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses.  The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of e-mail transmission.  If
> verification is required please request a hard-copy version.  This
> message is provided for informational purposes and should not be
> construed as a solicitation or offer to buy or sell any securities or
> related financial instruments.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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



RE: New to Struts

2003-04-02 Thread Mick . Knutson
Yes.
Basically you create a form in struts-config.xml.
Then you reference that form in your  instead of the ActionForm you coded.
The issue is keeping the JSP form and your declared DynaForm in SYNCH. But it is not 
that big of a deal. I do not use ActionFOrms at all in my application. I do not really 
need to.

You can also validate against DynaForms, and there are heaps of postings in the 
archives to see about validation issues with DynaForms. But try them out first, and 
see how it goes.
The source code examples in the stuts_src.tar worked very well for me. Was not too 
difficult to understand.

-Original Message-
From: Brian McSweeney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 11:52 AM
To: Struts Users Mailing List
Subject: Re: New to Struts


Ah, thanks Mick,

So is the DynaForm the one which allows you not to create Forms
declaratively using
xml?

Currently I write a form for each action and implement a validate method in
the form.
I was under the impression that there's a way to validate declaritively too.
Is this possible and
if so, with what component?

thanks,
brian

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 02, 2003 10:29 AM
Subject: RE: New to Struts


> I love DynaForms. But you don't _need_ DynaForms to use Validation.
>
> But, I like being able to declare all my forms, and _not_ creating an
ActionForm class for each form I create.
>
>
> -Original Message-
> From: Brian McSweeney [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 02, 2003 11:23 AM
> To: [EMAIL PROTECTED]
> Subject: New to Struts
>
>
> Hi all,
> I'm relatively new to struts, have used Forms before and am thinking of
switching to use
> DynamicActions instead of normal Actions to get the use of the Validator
package. Can
> people tell me if this is a worthwhile endevour and also, is there a good
resource on how
> to make this change.
> cheers,
> Brian
>
> Visit our website at http://www.ubswarburg.com
>
> This message contains confidential information and is intended only
> for the individual named.  If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail.  Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses.  The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of e-mail transmission.  If
> verification is required please request a hard-copy version.  This
> message is provided for informational purposes and should not be
> construed as a solicitation or offer to buy or sell any securities or
> related financial instruments.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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


Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Re: New to Struts

2003-04-02 Thread Brian McSweeney
Ah, thanks Mick,

So is the DynaForm the one which allows you not to create Forms
declaratively using
xml?

Currently I write a form for each action and implement a validate method in
the form.
I was under the impression that there's a way to validate declaritively too.
Is this possible and
if so, with what component?

thanks,
brian

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 02, 2003 10:29 AM
Subject: RE: New to Struts


> I love DynaForms. But you don't _need_ DynaForms to use Validation.
>
> But, I like being able to declare all my forms, and _not_ creating an
ActionForm class for each form I create.
>
>
> -Original Message-
> From: Brian McSweeney [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 02, 2003 11:23 AM
> To: [EMAIL PROTECTED]
> Subject: New to Struts
>
>
> Hi all,
> I'm relatively new to struts, have used Forms before and am thinking of
switching to use
> DynamicActions instead of normal Actions to get the use of the Validator
package. Can
> people tell me if this is a worthwhile endevour and also, is there a good
resource on how
> to make this change.
> cheers,
> Brian
>
> Visit our website at http://www.ubswarburg.com
>
> This message contains confidential information and is intended only
> for the individual named.  If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail.  Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses.  The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of e-mail transmission.  If
> verification is required please request a hard-copy version.  This
> message is provided for informational purposes and should not be
> construed as a solicitation or offer to buy or sell any securities or
> related financial instruments.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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



RE: New to Struts

2003-04-02 Thread Mick . Knutson
The How-to guide on the struts web site is OK, you can also find some articles on 
www.onjava.com, and the source code of struts has many examples in the 
struts-config.xml files.


-Original Message-
From: Joao Batistella [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 11:46 AM
To: Struts Users Mailing List
Subject: RE: New to Struts


I would like to use DynaForms. Do you have any tutorial or article about?

Thanks,
JP

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 2 de Abril de 2003 10:29
To: [EMAIL PROTECTED]
Subject: RE: New to Struts


I love DynaForms. But you don't _need_ DynaForms to use Validation.

But, I like being able to declare all my forms, and _not_ creating an
ActionForm class for each form I create.


-Original Message-
From: Brian McSweeney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 11:23 AM
To: [EMAIL PROTECTED]
Subject: New to Struts


Hi all,
I'm relatively new to struts, have used Forms before and am thinking of
switching to use 
DynamicActions instead of normal Actions to get the use of the Validator
package. Can 
people tell me if this is a worthwhile endevour and also, is there a good
resource on how 
to make this change.
cheers,
Brian

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


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

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


Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: New to Struts

2003-04-02 Thread Joao Batistella
I would like to use DynaForms. Do you have any tutorial or article about?

Thanks,
JP

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 2 de Abril de 2003 10:29
To: [EMAIL PROTECTED]
Subject: RE: New to Struts


I love DynaForms. But you don't _need_ DynaForms to use Validation.

But, I like being able to declare all my forms, and _not_ creating an
ActionForm class for each form I create.


-Original Message-
From: Brian McSweeney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 11:23 AM
To: [EMAIL PROTECTED]
Subject: New to Struts


Hi all,
I'm relatively new to struts, have used Forms before and am thinking of
switching to use 
DynamicActions instead of normal Actions to get the use of the Validator
package. Can 
people tell me if this is a worthwhile endevour and also, is there a good
resource on how 
to make this change.
cheers,
Brian

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


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

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



RE: New to Struts

2003-04-02 Thread Mick . Knutson
I love DynaForms. But you don't _need_ DynaForms to use Validation.

But, I like being able to declare all my forms, and _not_ creating an ActionForm class 
for each form I create.


-Original Message-
From: Brian McSweeney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 11:23 AM
To: [EMAIL PROTECTED]
Subject: New to Struts


Hi all,
I'm relatively new to struts, have used Forms before and am thinking of switching to 
use 
DynamicActions instead of normal Actions to get the use of the Validator package. Can 
people tell me if this is a worthwhile endevour and also, is there a good resource on 
how 
to make this change.
cheers,
Brian

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Re: Re: [New To Struts]

2002-11-01 Thread maya menon

Thanks Mattes
 [EMAIL PROTECTED] wrote:Hello Maya,

a little bit outdatet but...

http://www-106.ibm.com/developerworks/library/j-struts/index.html

http://www7.software.ibm.com/vad.nsf/Data/Document2557?OpenDocument&p=1&BCT=66

and (registration required):

https://www6.software.ibm.com/developerworks/education/x-iextreme19/?

"The focus of this tutorial is Struts development using Application 
Developer. "


Greetings
mattes

-- 
Mattes Balser | [EMAIL PROTECTED]
High-End Services GmbH | www.h-e-s.de
the Nervmich.net Company | http://www.nervmich.net
Tel.: +49 (0) 6033 890921 | Fax: +49 (0) 6033 890911

--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



-
Do you Yahoo!?
HotJobs - Search new jobs daily now


Re: Re: [New To Struts]

2002-11-01 Thread mattes
Hello Maya,

a little bit outdatet but...

http://www-106.ibm.com/developerworks/library/j-struts/index.html

http://www7.software.ibm.com/vad.nsf/Data/Document2557?OpenDocument&p=1&BCT=66

and (registration required):

https://www6.software.ibm.com/developerworks/education/x-iextreme19/?

"The focus of this tutorial is Struts development using Application 
Developer. "


Greetings
mattes

-- 
Mattes Balser | [EMAIL PROTECTED]
High-End Services GmbH | www.h-e-s.de
the Nervmich.net Company | http://www.nervmich.net
Tel.: +49 (0) 6033 890921 | Fax: +49 (0) 6033 890911

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: [New To Struts]

2002-11-01 Thread maya menon

Mattes
Thanks,
But is there a document or a link which says about the framework and wsad ? 
 [EMAIL PROTECTED] wrote:> I am new to Struts and plan to do my Enterprise application 
in WSAD using 

Take a look at the AuctionEJB-Sample in WSAD. 
It's based on Struts.

Greetings
mattes

-- 
Mattes Balser | [EMAIL PROTECTED]
High-End Services GmbH | www.h-e-s.de
the Nervmich.net Company | http://www.nervmich.net
Tel.: +49 (0) 6033 890921 | Fax: +49 (0) 6033 890911

--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



-
Do you Yahoo!?
HotJobs - Search new jobs daily now


Re: [New To Struts]

2002-11-01 Thread mattes
> I am new to Struts and plan to do my Enterprise application in WSAD using 

Take a look at the AuctionEJB-Sample in WSAD. 
It's based on Struts.

Greetings
mattes

-- 
Mattes Balser | [EMAIL PROTECTED]
High-End Services GmbH | www.h-e-s.de
the Nervmich.net Company | http://www.nervmich.net
Tel.: +49 (0) 6033 890921 | Fax: +49 (0) 6033 890911

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: New to Struts , need some answeres to start new development

2002-08-21 Thread Eddie Bush

(see inserted comments)

Galbreath, Mark wrote:

>Read the book:
>
>http://www.theserverside.com/resources/strutsreview.jsp
>
Very good book - highly recommended.  It's available for ordering on 
Amazon now too!

>Mark (the lesser-known struts-user FEATURE!)
>
>-Original Message-
>From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 21, 2002 12:19 PM
>
>1. If i have to do some validation regarding the input from the user on
>input fields i was using javascript, and onSubmit method of form, but with
>struts i think i cannot use javascript, so how can i do it before sumbitting
>the data to action class where i will be calling perform to do the business
>logic.
>
>(Can anyone supply some code)
>
See the chapter on the Validator Frameowrk.

>2. if i have to send some parameters to jsp, i was appending them as query
>string, but these parameters are build on fly, how can i do it with sturts.
>
Have a close look at 
javax.servlet.http.HttpServletRequest.setAttribute() and 
...HttpServletRequest.getAttribute().  It doesn't occur to me right off 
if Chuck talks about this in his book, but it's really more of a 
JSP/Servlet question than a Struts-specific question.  If I understand 
your question, those should help you out.  If I don't understand, it's 
conceivable you may want to look into the Dyna-forms too 
(DynaForm/DynaValidatorForm/DynaValidatorActionForm).  There are many 
ways to do just about anything you could imagine to be done.  Struts can 
simplify many of them.

>3. I had a header jsp which checked it the user had valid session, and if
>not forward it to logon page, how can i modify this jsp with struts
>
Look at extending org.apache.struts.action.Action.  Before you do, make 
sure you understand the role that action classes play in the overall 
Struts framework.  You could add this functionality to a class extending 
Action, and derive all of your actual actions from that action (so they 
all have that functionality implicitly).  Another solution is CMA 
(Container-managed authentication).  Yet another approach is JAAS - many 
folks are looking to this nowadays because of perceived limitations of 
CMA.  Personally, I'd rather let someone else write my authentication - 
even if it means I have to use some trickery to make it behave the way I 
want.  You can find many threads about security and container-managed 
authentication in the archives.  Try a search.  I don't have the URL for 
the archive right off, but there is a link to it on the same page where 
you subscribed to the mailing list.

HTH,

Eddie



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: New to Struts , need some answeres to start new development

2002-08-21 Thread Galbreath, Mark

Read the book:

http://www.theserverside.com/resources/strutsreview.jsp

Mark

-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 12:19 PM

1. If i have to do some validation regarding the input from the user on
input fields i was using javascript, and onSubmit method of form, but with
struts i think i cannot use javascript, so how can i do it before sumbitting
the data to action class where i will be calling perform to do the business
logic.

(Can anyone supply some code)

2. if i have to send some parameters to jsp, i was appending them as query
string, but these parameters are build on fly, how can i do it with sturts.

3. I had a header jsp which checked it the user had valid session, and if
not forward it to logon page, how can i modify this jsp with struts

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: New to Struts

2002-05-29 Thread Vincent Stoessel

Truly cool, it's running sweet in forte 3.0 CE.

OK, time for the slow part, reading the struts docs.
:)

Thank You



James Holmes wrote:
> Forte CE and NetBeans are good tools for working with
> Struts.  Currently the Struts Console plugs into both
> of the IDEs.
> 
> Struts Console:
> http://www.jamesholmes.com/struts/
> 
> I'm working with some folks at Sun to bring better
> Struts support into both of these IDEs. This should
> add alot of needed development support tools.
> 




>>
>>
>>--
>>To unsubscribe, e-mail:  
>>
>>For additional commands, e-mail:
>>
>>
> 
> 
> __
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 



-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: New to Struts

2002-05-29 Thread Jeff_Mychasiw



Thanks James,

maybe I will throw this question on the Forte List... just for fun. :)




James Holmes <[EMAIL PROTECTED]> on 05/29/2002 12:15:55 PM

Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]>

To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:

Subject:  Re: New to Struts


The functionality should be available to both Forte
and NetBeans since both are built on the same
foundation.  Basically we are working on a "Struts
Support" module that has tighter integration of Struts
Console into the IDEs as well as other functionality.

Once things are working you'll be able to get the
module and updates for it through the "Update Center"
functionality built into both IDEs.

I'm not sure what the time frame is at this point as
that is dictated by Sun.

-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/


--- [EMAIL PROTECTED] wrote:
>
>
> "I'm working with some folks at Sun to bring better
> Struts support into both of these IDEs. This should
> add alot of needed development support tools."
>
> Just curious about this...
>
> I assume that this would available as a plugin as
> well?
>
> long shot
>
> How soon would we see this type of thing for Forte?
>
> Thanks.
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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








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




Re: New to Struts

2002-05-29 Thread James Holmes

The functionality should be available to both Forte
and NetBeans since both are built on the same
foundation.  Basically we are working on a "Struts
Support" module that has tighter integration of Struts
Console into the IDEs as well as other functionality.

Once things are working you'll be able to get the
module and updates for it through the "Update Center"
functionality built into both IDEs.

I'm not sure what the time frame is at this point as
that is dictated by Sun.

-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/


--- [EMAIL PROTECTED] wrote:
> 
> 
> "I'm working with some folks at Sun to bring better
> Struts support into both of these IDEs. This should
> add alot of needed development support tools."
> 
> Just curious about this...
> 
> I assume that this would available as a plugin as
> well?
> 
> long shot
> 
> How soon would we see this type of thing for Forte?
> 
> Thanks.
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: New to Struts

2002-05-29 Thread Jeff_Mychasiw



"I'm working with some folks at Sun to bring better
Struts support into both of these IDEs. This should
add alot of needed development support tools."

Just curious about this...

I assume that this would available as a plugin as well?

long shot

How soon would we see this type of thing for Forte?

Thanks.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: New to Struts

2002-05-29 Thread James Holmes

Forte CE and NetBeans are good tools for working with
Struts.  Currently the Struts Console plugs into both
of the IDEs.

Struts Console:
http://www.jamesholmes.com/struts/

I'm working with some folks at Sun to bring better
Struts support into both of these IDEs. This should
add alot of needed development support tools.

-james
[EMAIL PROTECTED]

--- Vincent Stoessel <[EMAIL PROTECTED]> wrote:
> Hello,
> I have been using forte CE as my main IDE for
> developing my java and jsp
> applications. The concept behind struts sounds great
> as I want to move 
> toward a more standand templates/framework for my
> web based 
> applications. My taglib experience has been very
> small and my EJB 
> experience is still in the book reading phase. Does
> forte CE
> work well with struts or am I better off just using
> xemecs/jde
> to edit files by hand. Thanks.
> -- 
> Vincent Stoessel
> Linux Systems Developer
> vincent xaymaca.com
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: New to Struts

2002-05-29 Thread Brad Rhoads

I've been using Forte CE w/ struts 1.0. Works OK, but I haven't gotten the
debugger going yet. And I have the .java & .class files in the same
directories. I know you can set up to compile to different directories, but
I haven't taken the time to figure it out yet.

-Original Message-
From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 11:08 AM
To: Struts Users
Subject: New to Struts


Hello,
I have been using forte CE as my main IDE for developing my java and jsp
applications. The concept behind struts sounds great as I want to move
toward a more standand templates/framework for my web based
applications. My taglib experience has been very small and my EJB
experience is still in the book reading phase. Does forte CE
work well with struts or am I better off just using xemecs/jde
to edit files by hand. Thanks.
--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: New to Struts and stuck already...

2002-01-09 Thread Mike Ashamalla

Kevin,

I'm also relatively new to struts, however, this looks like something I've
encountered before.  I saw the same (or a similar error message) whenever my
form tags weren't properly enclosed in 
... .

HTH

Thank You,


Mike Ashamalla, CEBS
VistaXtreme
[EMAIL PROTECTED]

-Original Message-
From: Luis M. Rosso [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2002 11:02 AM
To: Struts Users Mailing List
Subject: Re: New to Struts and stuck already...


Kevin, first of all, please take into account I am new to Struts too...

Your mail doesn't include enough information, hence I don't know whether the
issues not mentioned in your mail are absent just in your mail or absent in
your application...

For instance, in the struts-config.xml file depicted, there is no "action"
tag, which should be there if you want to use a form bean. Furthermore, that
tag should include several attributes, i.e., "name", "path", "scope", etc..
And take care they match the features of the form bean, and to use the right
"scope": as far as I understand it, it is the one assigned to the form bean.

Hope this helps

Luis

- Original Message -
From: "Keith Bacon" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, January 09, 2002 11:38 AM
Subject: Re: New to Struts and stuck already...


> welcome to struts,
> I'd need more info - more of the error stack trace.
> Also maybe the struts-config entry for the action class involved.
>
> If this is from your jsp maybe it refers to the form bean but you've
started the jsp directly
> (localhost:8080/myapp/myJsp.jsp) rather than through the action mapping
> (localhost:8080/myapp/myJsp.do)
> Keith.
> PS struts is a wee bit painful at 1st but you'll soon get the hang of it
>
>
>
>
>
> --- "Kevin J. Turner" <[EMAIL PROTECTED]> wrote:
> > I am trying to build a simple Struts app to play around with it and i'm
> > stuck on the following error message:
> >
> > javax.servlet.ServletException: No bean found under attribute key
> > registrationForm
> >
> > I have the following in my struts-config.xml file:
> >
> > 
> >   ...
> >   
> >  > type="com.codemonkey.struts.RegistrationForm"/>
> >   
> >   ...
> > 
> >
> > Any suggestions anyone?
> >
> > Kevin J Turner
> >
>
>
> __
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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


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




Re: New to Struts and stuck already...

2002-01-09 Thread Luis M. Rosso

Kevin, first of all, please take into account I am new to Struts too...

Your mail doesn't include enough information, hence I don't know whether the
issues not mentioned in your mail are absent just in your mail or absent in
your application...

For instance, in the struts-config.xml file depicted, there is no "action"
tag, which should be there if you want to use a form bean. Furthermore, that
tag should include several attributes, i.e., "name", "path", "scope", etc..
And take care they match the features of the form bean, and to use the right
"scope": as far as I understand it, it is the one assigned to the form bean.

Hope this helps

Luis

- Original Message -
From: "Keith Bacon" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, January 09, 2002 11:38 AM
Subject: Re: New to Struts and stuck already...


> welcome to struts,
> I'd need more info - more of the error stack trace.
> Also maybe the struts-config entry for the action class involved.
>
> If this is from your jsp maybe it refers to the form bean but you've
started the jsp directly
> (localhost:8080/myapp/myJsp.jsp) rather than through the action mapping
> (localhost:8080/myapp/myJsp.do)
> Keith.
> PS struts is a wee bit painful at 1st but you'll soon get the hang of it
>
>
>
>
>
> --- "Kevin J. Turner" <[EMAIL PROTECTED]> wrote:
> > I am trying to build a simple Struts app to play around with it and i'm
> > stuck on the following error message:
> >
> > javax.servlet.ServletException: No bean found under attribute key
> > registrationForm
> >
> > I have the following in my struts-config.xml file:
> >
> > 
> >   ...
> >   
> >  > type="com.codemonkey.struts.RegistrationForm"/>
> >   
> >   ...
> > 
> >
> > Any suggestions anyone?
> >
> > Kevin J Turner
> >
>
>
> __
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Re: New to Struts and stuck already...

2002-01-09 Thread Keith Bacon

welcome to struts,
I'd need more info - more of the error stack trace.
Also maybe the struts-config entry for the action class involved.

If this is from your jsp maybe it refers to the form bean but you've started the jsp 
directly
(localhost:8080/myapp/myJsp.jsp) rather than through the action mapping
(localhost:8080/myapp/myJsp.do)
Keith.
PS struts is a wee bit painful at 1st but you'll soon get the hang of it





--- "Kevin J. Turner" <[EMAIL PROTECTED]> wrote:
> I am trying to build a simple Struts app to play around with it and i'm
> stuck on the following error message:
>  
> javax.servlet.ServletException: No bean found under attribute key
> registrationForm
>  
> I have the following in my struts-config.xml file:
>  
> 
>   ...
>   
>  type="com.codemonkey.struts.RegistrationForm"/>
>   
>   ...
> 
>  
> Any suggestions anyone?
>  
> Kevin J Turner
> 


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: New To Struts

2001-08-09 Thread Craig R. McClanahan



On Fri, 10 Aug 2001, Nitu Singh wrote:

> Hi,
> I downloaded jakarta-struts-1.0.zip file and extracted the files in
> c:\jakarta-struts-1.0. But I think lib/commons-*.jar file is missing in my
> installation? Are those files important or can I do without them?
> The installation process still says I should copy the jars in WEB-INF
> directory. Where should I create this WEB-INF directory? (for reference: I
> am using weblogic5.1)
> 

The "commons-*.jar" files are only used in Struts 1.1 nightly builds.  In
Struts 1.0, all the necessary classes are included in "struts.jar".


> Thanks and Regards,
> Nitu.

Craig


> - Original Message -
> From: "Martin Cooper" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 09, 2001 4:39 PM
> Subject: Re: New To Struts
> 
> 
> > Comments below.
> >
> > - Original Message -
> > From: "Nitu Singh" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 08, 2001 6:37 PM
> > Subject: Re: New To Struts
> >
> >
> > > Thanks a lot,
> > > And I did visit the home page for struts(and that's where the problem
> > > started).
> > > Let me explain u the doubts which I had going thru the page:
> > > 1) All the downloads had 2-3 versions (for example, ANT, it had binary
> > > release, source realease and some RPM),
> > > which one I have to download, do I have to download all the 3?
> > > btw, if u can explain me the difference between source release and
> binary
> > > release, as I see them in almost all the downloads.
> >
> > The only download you need is the Struts binary distribution. If you read
> > something that stated that you needed more than this, please let us know
> > where you saw that, so that we can fix it. You don't need to download Ant
> at
> > all unless you want to rebuild Struts, or the example apps that come with
> > it.
> >
> > The binary distribution contains everything you need, already compiled and
> > provided as one or more jar files, ready for you to include in your own
> > application.See
> > http://jakarta.apache.org/struts/installation.html#Installing for more
> > information on using a binary distribution.
> >
> > The source distribution includes, ah, the source code and everything you
> > would need to rebuild your own version of Struts. See
> > http://jakarta.apache.org/struts/installation.html#Building if you want to
> > do that.
> >
> > > 2) Do I really have to download the Servlet API ?If yes, why? as
> weblogic
> > > supports servlets and why again to have one more servlet API?
> >
> > You need to have some Servlet API implementation available if you're going
> > to compile your own code that relies on those interfaces. If WebLogic
> > includes that (as I would assume that it does, but I'm not familiar with
> > it), then you don't need to download another one.
> >
> > > 3) In many installations it says, I need to put some *distribution
> files*
> > or
> > > some *jar files*  in WEB-INF directory. I don't find any such directory
> > > in weblogic5.1. So what to do?
> >
> > I suggest you follow the instructions for WebLogic 5.1. See
> > http://jakarta.apache.org/struts/installation-wls.html for more
> information.
> >
> > > These are only few of the things. The more I read, the more I get
> > confused?
> > > If you could clear my above queries, I can go ahead and then may be I
> will
> > > come up more questions?
> >
> > The best suggestion I can come up with is to follow the links that are
> > available to you, and search the mailing list archives. You are by no
> means
> > the first person to travel the path you are on.
> >
> > --
> > Martin Cooper
> >
> >
> > >
> > > Thanks a lot,
> > > Nitu.
> > > - Original Message -
> > > From: "Martin Cooper" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, August 09, 2001 3:29 PM
> > > Subject: Re: New To Struts
> > >
> > >
> > > > You must not have visited the Struts home page, which should have been
> > > your
> > > > *first* resort. :-)
> > > >
> > > > http://jakarta.apache.org/struts/
> > > >
> > > > There you will find:
> > > >
> > > > * A link to the Struts User Gui

Re: New To Struts

2001-08-09 Thread Rama Krishna

WEB-INF/ is created when an application is deployed/created in the
app-server. any app-server which follows j2ee standard will create this.
the WEB-INF/ folder will be created under the appname folder. this app name
can point to any physical folder on your hard drive, although usually it is
a convention to create it inside the server folder.
i donot know much about weblogic but as far as i know, there will be an
examples/ folder under weblogic and under examples/ there will be an webapp
folder which will have WEB-INF folder.
so, u have to deploy u r war file or create a new application. this will
create a WEB-INF folder for you.
weblogic documentation should help you, to create/deploy an application.

regarding commons-*.jar, i don't know about it as the nightly build i use
doesnot have it.

hope this helps,
rama.


- Original Message -
From: "Nitu Singh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 5:43 PM
Subject: Re: New To Struts


> Hi,
> I downloaded jakarta-struts-1.0.zip file and extracted the files in
> c:\jakarta-struts-1.0. But I think lib/commons-*.jar file is missing in my
> installation? Are those files important or can I do without them?
> The installation process still says I should copy the jars in WEB-INF
> directory. Where should I create this WEB-INF directory? (for reference: I
> am using weblogic5.1)
>
> Thanks and Regards,
> Nitu.
> - Original Message -
> From: "Martin Cooper" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 09, 2001 4:39 PM
> Subject: Re: New To Struts
>
>
> > Comments below.
> >
> > - Original Message -
> > From: "Nitu Singh" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 08, 2001 6:37 PM
> > Subject: Re: New To Struts
> >
> >
> > > Thanks a lot,
> > > And I did visit the home page for struts(and that's where the problem
> > > started).
> > > Let me explain u the doubts which I had going thru the page:
> > > 1) All the downloads had 2-3 versions (for example, ANT, it had binary
> > > release, source realease and some RPM),
> > > which one I have to download, do I have to download all the 3?
> > > btw, if u can explain me the difference between source release and
> binary
> > > release, as I see them in almost all the downloads.
> >
> > The only download you need is the Struts binary distribution. If you
read
> > something that stated that you needed more than this, please let us know
> > where you saw that, so that we can fix it. You don't need to download
Ant
> at
> > all unless you want to rebuild Struts, or the example apps that come
with
> > it.
> >
> > The binary distribution contains everything you need, already compiled
and
> > provided as one or more jar files, ready for you to include in your own
> > application.See
> > http://jakarta.apache.org/struts/installation.html#Installing for more
> > information on using a binary distribution.
> >
> > The source distribution includes, ah, the source code and everything you
> > would need to rebuild your own version of Struts. See
> > http://jakarta.apache.org/struts/installation.html#Building if you want
to
> > do that.
> >
> > > 2) Do I really have to download the Servlet API ?If yes, why? as
> weblogic
> > > supports servlets and why again to have one more servlet API?
> >
> > You need to have some Servlet API implementation available if you're
going
> > to compile your own code that relies on those interfaces. If WebLogic
> > includes that (as I would assume that it does, but I'm not familiar with
> > it), then you don't need to download another one.
> >
> > > 3) In many installations it says, I need to put some *distribution
> files*
> > or
> > > some *jar files*  in WEB-INF directory. I don't find any such
directory
> > > in weblogic5.1. So what to do?
> >
> > I suggest you follow the instructions for WebLogic 5.1. See
> > http://jakarta.apache.org/struts/installation-wls.html for more
> information.
> >
> > > These are only few of the things. The more I read, the more I get
> > confused?
> > > If you could clear my above queries, I can go ahead and then may be I
> will
> > > come up more questions?
> >
> > The best suggestion I can come up with is to follow the links that are
> > available to you, and search the mailing list archives. You are by no
> means
> > the first person to travel th

Re: New To Struts

2001-08-09 Thread Nitu Singh

Hi,
I downloaded jakarta-struts-1.0.zip file and extracted the files in
c:\jakarta-struts-1.0. But I think lib/commons-*.jar file is missing in my
installation? Are those files important or can I do without them?
The installation process still says I should copy the jars in WEB-INF
directory. Where should I create this WEB-INF directory? (for reference: I
am using weblogic5.1)

Thanks and Regards,
Nitu.
- Original Message -
From: "Martin Cooper" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 4:39 PM
Subject: Re: New To Struts


> Comments below.
>
> - Original Message -
> From: "Nitu Singh" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 08, 2001 6:37 PM
> Subject: Re: New To Struts
>
>
> > Thanks a lot,
> > And I did visit the home page for struts(and that's where the problem
> > started).
> > Let me explain u the doubts which I had going thru the page:
> > 1) All the downloads had 2-3 versions (for example, ANT, it had binary
> > release, source realease and some RPM),
> > which one I have to download, do I have to download all the 3?
> > btw, if u can explain me the difference between source release and
binary
> > release, as I see them in almost all the downloads.
>
> The only download you need is the Struts binary distribution. If you read
> something that stated that you needed more than this, please let us know
> where you saw that, so that we can fix it. You don't need to download Ant
at
> all unless you want to rebuild Struts, or the example apps that come with
> it.
>
> The binary distribution contains everything you need, already compiled and
> provided as one or more jar files, ready for you to include in your own
> application.See
> http://jakarta.apache.org/struts/installation.html#Installing for more
> information on using a binary distribution.
>
> The source distribution includes, ah, the source code and everything you
> would need to rebuild your own version of Struts. See
> http://jakarta.apache.org/struts/installation.html#Building if you want to
> do that.
>
> > 2) Do I really have to download the Servlet API ?If yes, why? as
weblogic
> > supports servlets and why again to have one more servlet API?
>
> You need to have some Servlet API implementation available if you're going
> to compile your own code that relies on those interfaces. If WebLogic
> includes that (as I would assume that it does, but I'm not familiar with
> it), then you don't need to download another one.
>
> > 3) In many installations it says, I need to put some *distribution
files*
> or
> > some *jar files*  in WEB-INF directory. I don't find any such directory
> > in weblogic5.1. So what to do?
>
> I suggest you follow the instructions for WebLogic 5.1. See
> http://jakarta.apache.org/struts/installation-wls.html for more
information.
>
> > These are only few of the things. The more I read, the more I get
> confused?
> > If you could clear my above queries, I can go ahead and then may be I
will
> > come up more questions?
>
> The best suggestion I can come up with is to follow the links that are
> available to you, and search the mailing list archives. You are by no
means
> the first person to travel the path you are on.
>
> --
> Martin Cooper
>
>
> >
> > Thanks a lot,
> > Nitu.
> > - Original Message -
> > From: "Martin Cooper" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, August 09, 2001 3:29 PM
> > Subject: Re: New To Struts
> >
> >
> > > You must not have visited the Struts home page, which should have been
> > your
> > > *first* resort. :-)
> > >
> > > http://jakarta.apache.org/struts/
> > >
> > > There you will find:
> > >
> > > * A link to the Struts User Guide
> > >
> > > * A 'Resources' link, which will take you to a page listing several
> > > tutorials and articles on Struts.
> > >
> > > * An 'Installation' link, which will take you to a page detailing
> specific
> > > installation instructions for over a dozen different containers,
> including
> > > WebLogic 5.1.
> > >
> > > --
> > > Martin Cooper
> > >
> > >
> > > - Original Message -
> > > From: "Nitu Singh" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, August 08, 2001 5:18 PM
> > > Subject: New To Struts
> > &

Re: New To Struts

2001-08-08 Thread Martin Cooper

Comments below.

- Original Message -
From: "Nitu Singh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 6:37 PM
Subject: Re: New To Struts


> Thanks a lot,
> And I did visit the home page for struts(and that's where the problem
> started).
> Let me explain u the doubts which I had going thru the page:
> 1) All the downloads had 2-3 versions (for example, ANT, it had binary
> release, source realease and some RPM),
> which one I have to download, do I have to download all the 3?
> btw, if u can explain me the difference between source release and binary
> release, as I see them in almost all the downloads.

The only download you need is the Struts binary distribution. If you read
something that stated that you needed more than this, please let us know
where you saw that, so that we can fix it. You don't need to download Ant at
all unless you want to rebuild Struts, or the example apps that come with
it.

The binary distribution contains everything you need, already compiled and
provided as one or more jar files, ready for you to include in your own
application.See
http://jakarta.apache.org/struts/installation.html#Installing for more
information on using a binary distribution.

The source distribution includes, ah, the source code and everything you
would need to rebuild your own version of Struts. See
http://jakarta.apache.org/struts/installation.html#Building if you want to
do that.

> 2) Do I really have to download the Servlet API ?If yes, why? as weblogic
> supports servlets and why again to have one more servlet API?

You need to have some Servlet API implementation available if you're going
to compile your own code that relies on those interfaces. If WebLogic
includes that (as I would assume that it does, but I'm not familiar with
it), then you don't need to download another one.

> 3) In many installations it says, I need to put some *distribution files*
or
> some *jar files*  in WEB-INF directory. I don't find any such directory
> in weblogic5.1. So what to do?

I suggest you follow the instructions for WebLogic 5.1. See
http://jakarta.apache.org/struts/installation-wls.html for more information.

> These are only few of the things. The more I read, the more I get
confused?
> If you could clear my above queries, I can go ahead and then may be I will
> come up more questions?

The best suggestion I can come up with is to follow the links that are
available to you, and search the mailing list archives. You are by no means
the first person to travel the path you are on.

--
Martin Cooper


>
> Thanks a lot,
> Nitu.
> - Original Message -
> From: "Martin Cooper" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 09, 2001 3:29 PM
> Subject: Re: New To Struts
>
>
> > You must not have visited the Struts home page, which should have been
> your
> > *first* resort. :-)
> >
> > http://jakarta.apache.org/struts/
> >
> > There you will find:
> >
> > * A link to the Struts User Guide
> >
> > * A 'Resources' link, which will take you to a page listing several
> > tutorials and articles on Struts.
> >
> > * An 'Installation' link, which will take you to a page detailing
specific
> > installation instructions for over a dozen different containers,
including
> > WebLogic 5.1.
> >
> > --
> > Martin Cooper
> >
> >
> > - Original Message -
> > From: "Nitu Singh" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 08, 2001 5:18 PM
> > Subject: New To Struts
> >
> >
> > > Hi,
> > > I am new to struts and for past one week I am trying to find tutorials
> and
> > > materials regarding struts.
> > > The only thing I got is some tutorial in jspinsider.com.
> > > I understood the model of struts, but when putting it in to code, I am
> > > facing problem at very basic step.
> > > All I see in tutorials is they have explained how to use struts in
> tomcat
> > > server. But  I am using weblogic5.1 server.
> > > I have did all the settings as per directed for tomcat.
> > > I understand there must some different way of deploying struts in
> weblogic
> > > server.
> > > Can anyone please guide me through as what I should do to run my basic
> > > application?
> > > What all installations do I need and where should be they placed?
> > >
> > > I am really vexed up looking for these things on net. This mailing
list
> is
> > > my LAST REOSRT.
> > >
> > > Thanks and Regards,
> > > Nitu.
> > >
> > >
> > >
> >
> >
>
>





Re: New To Struts

2001-08-08 Thread Pham Thanh Quan

I think the directory WEB-INF is in every context (directory) in the
directory applications, and there is always a default context (maybe
\application\defaultwebapp_serverName\WEB-INF in weblogic)

Quan

- Original Message -
From: Nitu Singh <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 8:37 AM
Subject: Re: New To Struts


> Thanks a lot,
> And I did visit the home page for struts(and that's where the problem
> started).
> Let me explain u the doubts which I had going thru the page:
> 1) All the downloads had 2-3 versions (for example, ANT, it had binary
> release, source realease and some RPM),
> which one I have to download, do I have to download all the 3?
> btw, if u can explain me the difference between source release and binary
> release, as I see them in almost all the downloads.
> 2) Do I really have to download the Servlet API ?If yes, why? as weblogic
> supports servlets and why again to have one more servlet API?
> 3) In many installations it says, I need to put some *distribution files*
or
> some *jar files*  in WEB-INF directory. I don't find any such directory
> in weblogic5.1. So what to do?
> These are only few of the things. The more I read, the more I get
confused?
> If you could clear my above queries, I can go ahead and then may be I will
> come up more questions?
>
> Thanks a lot,
> Nitu.
> - Original Message -
> From: "Martin Cooper" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 09, 2001 3:29 PM
> Subject: Re: New To Struts
>
>
> > You must not have visited the Struts home page, which should have been
> your
> > *first* resort. :-)
> >
> > http://jakarta.apache.org/struts/
> >
> > There you will find:
> >
> > * A link to the Struts User Guide
> >
> > * A 'Resources' link, which will take you to a page listing several
> > tutorials and articles on Struts.
> >
> > * An 'Installation' link, which will take you to a page detailing
specific
> > installation instructions for over a dozen different containers,
including
> > WebLogic 5.1.
> >
> > --
> > Martin Cooper
> >
> >
> > - Original Message -
> > From: "Nitu Singh" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 08, 2001 5:18 PM
> > Subject: New To Struts
> >
> >
> > > Hi,
> > > I am new to struts and for past one week I am trying to find tutorials
> and
> > > materials regarding struts.
> > > The only thing I got is some tutorial in jspinsider.com.
> > > I understood the model of struts, but when putting it in to code, I am
> > > facing problem at very basic step.
> > > All I see in tutorials is they have explained how to use struts in
> tomcat
> > > server. But  I am using weblogic5.1 server.
> > > I have did all the settings as per directed for tomcat.
> > > I understand there must some different way of deploying struts in
> weblogic
> > > server.
> > > Can anyone please guide me through as what I should do to run my basic
> > > application?
> > > What all installations do I need and where should be they placed?
> > >
> > > I am really vexed up looking for these things on net. This mailing
list
> is
> > > my LAST REOSRT.
> > >
> > > Thanks and Regards,
> > > Nitu.
> > >
> > >
> > >
> >
> >
>
>




Re: New To Struts

2001-08-08 Thread Nitu Singh

Thanks a lot,
And I did visit the home page for struts(and that's where the problem
started).
Let me explain u the doubts which I had going thru the page:
1) All the downloads had 2-3 versions (for example, ANT, it had binary
release, source realease and some RPM),
which one I have to download, do I have to download all the 3?
btw, if u can explain me the difference between source release and binary
release, as I see them in almost all the downloads.
2) Do I really have to download the Servlet API ?If yes, why? as weblogic
supports servlets and why again to have one more servlet API?
3) In many installations it says, I need to put some *distribution files* or
some *jar files*  in WEB-INF directory. I don't find any such directory
in weblogic5.1. So what to do?
These are only few of the things. The more I read, the more I get confused?
If you could clear my above queries, I can go ahead and then may be I will
come up more questions?

Thanks a lot,
Nitu.
- Original Message -
From: "Martin Cooper" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 3:29 PM
Subject: Re: New To Struts


> You must not have visited the Struts home page, which should have been
your
> *first* resort. :-)
>
> http://jakarta.apache.org/struts/
>
> There you will find:
>
> * A link to the Struts User Guide
>
> * A 'Resources' link, which will take you to a page listing several
> tutorials and articles on Struts.
>
> * An 'Installation' link, which will take you to a page detailing specific
> installation instructions for over a dozen different containers, including
> WebLogic 5.1.
>
> --
> Martin Cooper
>
>
> - Original Message -
> From: "Nitu Singh" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 08, 2001 5:18 PM
> Subject: New To Struts
>
>
> > Hi,
> > I am new to struts and for past one week I am trying to find tutorials
and
> > materials regarding struts.
> > The only thing I got is some tutorial in jspinsider.com.
> > I understood the model of struts, but when putting it in to code, I am
> > facing problem at very basic step.
> > All I see in tutorials is they have explained how to use struts in
tomcat
> > server. But  I am using weblogic5.1 server.
> > I have did all the settings as per directed for tomcat.
> > I understand there must some different way of deploying struts in
weblogic
> > server.
> > Can anyone please guide me through as what I should do to run my basic
> > application?
> > What all installations do I need and where should be they placed?
> >
> > I am really vexed up looking for these things on net. This mailing list
is
> > my LAST REOSRT.
> >
> > Thanks and Regards,
> > Nitu.
> >
> >
> >
>
>




Re: New To Struts

2001-08-08 Thread Rama Krishna

The following might help you.

ramakrishna.

*

Ted Husted has links tutorials, example webapps, and
code (custom tags, etc.).

http://www.husted.com/about/struts/


"A Walking Tour of Struts" (at the bottom) walks you
through the Struts example webapp.
http://www.husted.com/about/struts/scaffolding.htm

If you want to stay pure MVC, then you can have your
home page go through the controller servlet.

Struts has a connection pool that you can use for
database connections.  You configure it in the
struts-config.xml file.

David

--- [EMAIL PROTECTED] wrote:
> Hi all,
>
> I just signed up and looking for some tutorials on
> struts.
> I installed it on Linux with Apache-Tomcat config.
>
> There is a sample application in there, however it
> would be maybe easier to
> go through some tutorials first.
> Any suggestions ?
>
> Also, I'm in the process of  doing a little web site
> for myself.
> It's basically only presentation of data for now. I
> have a little confusion
> there. As far as I understood the specifications,
> servlets ( controllers )
> are responsible for data extraction from the
> database and JSPs for
> presentation. So what should I set up as the "index
> page" , a JSP that
> forwards the request to servlet and servlet responds
> to JSP again or to use
> a servlet that sends data to JSP ?
>
> Also. is it a good technique to have the JSP ( beans
> ) extract data from
> database ?  In this case, how do I get to the
> connection parameters if I
> don't want to hardcode it and maybe use web.xml file
> to hold the connection
> parameters ?
>
> All responses are welcomed.
>
> Thank you.
>
> Jf
>


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

- Original Message -
From: "Nitu Singh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 5:18 PM
Subject: New To Struts


> Hi,
> I am new to struts and for past one week I am trying to find tutorials and
> materials regarding struts.
> The only thing I got is some tutorial in jspinsider.com.
> I understood the model of struts, but when putting it in to code, I am
> facing problem at very basic step.
> All I see in tutorials is they have explained how to use struts in tomcat
> server. But  I am using weblogic5.1 server.
> I have did all the settings as per directed for tomcat.
> I understand there must some different way of deploying struts in weblogic
> server.
> Can anyone please guide me through as what I should do to run my basic
> application?
> What all installations do I need and where should be they placed?
>
> I am really vexed up looking for these things on net. This mailing list is
> my LAST REOSRT.
>
> Thanks and Regards,
> Nitu.
>
>
>



Re: New To Struts

2001-08-08 Thread Martin Cooper

You must not have visited the Struts home page, which should have been your
*first* resort. :-)

http://jakarta.apache.org/struts/

There you will find:

* A link to the Struts User Guide

* A 'Resources' link, which will take you to a page listing several
tutorials and articles on Struts.

* An 'Installation' link, which will take you to a page detailing specific
installation instructions for over a dozen different containers, including
WebLogic 5.1.

--
Martin Cooper


- Original Message -
From: "Nitu Singh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 5:18 PM
Subject: New To Struts


> Hi,
> I am new to struts and for past one week I am trying to find tutorials and
> materials regarding struts.
> The only thing I got is some tutorial in jspinsider.com.
> I understood the model of struts, but when putting it in to code, I am
> facing problem at very basic step.
> All I see in tutorials is they have explained how to use struts in tomcat
> server. But  I am using weblogic5.1 server.
> I have did all the settings as per directed for tomcat.
> I understand there must some different way of deploying struts in weblogic
> server.
> Can anyone please guide me through as what I should do to run my basic
> application?
> What all installations do I need and where should be they placed?
>
> I am really vexed up looking for these things on net. This mailing list is
> my LAST REOSRT.
>
> Thanks and Regards,
> Nitu.
>
>
>





Re: New to Struts

2001-05-21 Thread David Winterfeldt

A lot of the work you will need to do to put together
a web based your own MVC framework will already have
been done for you if you use Struts.  A lot of people
have made contributions to the project and will
continue to do so.  Look at the plans for features to
be added for the Struts 1.1 release
(http://jakarta.apache.org/struts/todo-1.1.html).  You
have a large group of people debugging the system for
you too.  It is open source so you can always extend
and/or enhance Struts to do something that your
application needs.  Also you have the user group as a
resource to ask questions on how to do things and even
get source code that a user has create that enhances
Struts.  Ted Husted has links
(http://www.husted.com/about/struts) to Struts
resources (articles, JSP Tags/Source, example web
apps).

David Winterfeldt


--- [EMAIL PROTECTED] wrote:
> Hi,
> 
> I am new to struts and am going thru the
> documentation.  Had a very basic
> question, If I have an application which is using
> MVC architecture and is
> completely J2EE compliant what is the benefit of
> using Struts framework.
> 
> regards
> -abhinav
> 


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



RE: New to Struts

2001-05-21 Thread Nanduri, Amarnath

Benefit ?Here are a few..

  Completely Internationalized
  Scalable
  Flexible

However if your app is already up and running  in deployment mode, i would
not suggest migrating it to struts cause that is  a costly process

cheers,
Amar..

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 4:56 PM
To: [EMAIL PROTECTED]
Subject: New to Struts


Hi,

I am new to struts and am going thru the documentation.  Had a very basic
question, If I have an application which is using MVC architecture and is
completely J2EE compliant what is the benefit of using Struts framework.

regards
-abhinav



RE: New to struts

2001-05-03 Thread Manabendra Sarkar

Hi,
u copy the struts-example.war to tomcat\webapps and then type the url
localhost:8080\struts-example. u should get a pge which is the home page for
the 
example application that comes with the struts

thanx

manabendra

> -Original Message-
> From: Geoffrey Van Nuffelen [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 03, 2001 3:25 PM
> To:   Struts-User (E-Mail)
> Subject:  New to struts
> 
> Hi,
> 
> I am new to struts.
> I did the download of the release of strust (1.0b1).
> 
> I use winzip, and now I have a directories structure. 
> 
> But where to begin ?  What I have to do to create a new application ?
> 
> Thanks 
> geoffrey...
> 



RE: new to struts

2001-05-02 Thread Akerman, Art

I believe this class is part of JDBC 2.0. I've downloaded
jdbc2_0-stdext.jar,added it to the class path and everything worked.

-Original Message-
From: Manabendra Sarkar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 10:39 AM
To: '[EMAIL PROTECTED]'
Subject: new to struts


Hi All,
   i m new to struts. i am facing a small problem. im trying to use
GenericDatasource to connect to the database.
this class implements javax.sql.DataSource. when i strsrt tomcat, it gives
an error saying javax.sql.DataSource not found.
i am using jdk1.2.2. can anyone pls help me in finding where is
javax.sql.DataSource class located?


Regards

Manabendra Sarkar
 
**
The Information transmitted herewith is sensitive information intended only
for use to the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon, this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.



Re: New to struts..

2001-03-20 Thread Craig R. McClanahan



On Tue, 20 Mar 2001, Suriyanarayanan, Senthil Kumar wrote:

> I'm new to struts and started using it (just deployed the struts-example). I
> wonder whether we could
> use struts out of the Web Application Archive, as an extracted one, without
> any reference to web.xml and just
> refer only the tld and struts.jar file. Are there any sample or simple
> application demonstrating the above.
> 

Struts critically depends on several things that are only configurable
in the web application deployment descriptor (web.xml) file, including:

* Configuration parameters for the controller servlet

* The servlet mapping mechanism used to map requests to the controller
  servlet (typically using the "*.do" extension mapping pattern)

* The fact that the controller servlet should be loaded at startup
  time, so that the application resources are initialized correctly

* References to the various tag library descriptor files (TLDs) that
  are used in this application

Struts depends on these features, so it is not practical to run a web
application without the web.xml deployment descriptor being properly
configured.

> Thanks in advance
> Senthil Kumar.S
>  

Craig McClanahan




Re: New to Struts

2001-02-21 Thread Maya Muchnik

Joshua,

If you will copy struts-example.war file under .../webapps directory, and
struts.jar file under .../tomcat/lib directory, then you are all set. Startup
Tomcat and run http://localhost:8080/struts-example.

Joshua Yip wrote:

> Hi , I am new to Struts. Can anyone give me some sample files and with some
> explaination of how the files works in the Struts framework? That would
> really help . Thanks
>
> Joshua Yip
> Software Developer
> IB-DOCS.COM
> Intelligent Business Document dot Com
> [EMAIL PROTECTED]
> YahooID: joshuayip
> ICQ:8657630




Re: New to Struts

2001-02-21 Thread Ted Husted

If you download the binary distribution (nightly build), several working
applications are included. In most cases, you can just drag these from 
the webapps folder in the distribution to the webapps folder for your 
container. The one you are looking for is the Example application. On 
the home page of that is a like to a tour, which explains how each part 
of the example works. 

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 425-0252; Fax 716 223-2506.
-- http://www.husted.com/about/struts

Joshua Yip wrote:
> 
> Hi , I am new to Struts. Can anyone give me some sample files and with some
> explaination of how the files works in the Struts framework? That would
> really help . Thanks
> 
> Joshua Yip
> Software Developer
> IB-DOCS.COM
> Intelligent Business Document dot Com
> [EMAIL PROTECTED]
> YahooID: joshuayip
> ICQ:8657630