...off-topic...

2003-07-24 Thread Rajat Nayer
Hi,

I know what i am asking is really off-topic but I had
to ask ... sorry..

Actually my application needs a small piece wherein it
needs to consume messages passed to it from MQSeries
5.3. I intend to use MDB. Also, i am using WLS 6.1
SP4. 

Can somebody guide on how to achieve this.
Any pointers , experiences would be of great help.

regds






__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



Help needed - running Rick Reumann's lesson 1- Urgent!!

2003-07-12 Thread Rajat Nayer
Hi,

I am running the lesson 1( turorial by Rick Reumann)
and am getting the foll. error:

Error in using tag library
uri='/WEB-INF/struts-html-el.tld' prefix='html': The
Tag class
'org.apache.strutsel.taglib.html.ELOptionTag' has no
setter method corresponding to TLD declared attribute
'bundle', (JSP 1.1 spec, 5.4.1)
probably occurred due to an error in /index.jsp line
2:
<%@ taglib uri="/WEB-INF/struts-html-el.tld"
prefix="html" %> 

Please help ASAP.. my journey has Halted!!

Thnaks and regds
Rajat Nayer




__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



RE: accessing VO by next view...

2003-06-23 Thread Rajat Nayer
Hi Susan,

Thanks a ton for this lead.

I have done whatever was required as per Lesson 1 (for
now).

However when I go to http://localhost:8080/rr_lesson_1
after deploying the war downloaded from the site, I
get the following error:

Error: 500
Location: /rr_lesson_1/index.jsp
Internal Servlet Error:

org.apache.jasper.compiler.CompileException:
C:\jakarta-tomcat-3.2.4\webapps\rr_lesson_1\index.jsp(0,0)
Unable to open taglibrary /WEB-INF/struts-bean-el.tld
: Parse Error in the tag library descriptor: External
entity not found:
"http://java.sun.com/dtd/web-app_2_3.dtd";.

What is missing???

I also tried by copying the dtd from the struts 1.1b3
distribution also, but to no avail.

Please help

thanks in advance,
Rajat



--- Susan Bradeen <[EMAIL PROTECTED]> wrote:
> Hi Rajat, 
> 
> A quick read through this simple, but very good,
> tutorial will probably 
> answer a number of basic questions. 
> http://www.reumann.net/do/struts/main
> 
> Hope that helps,
> Susan Bradeen
> 
> On 06/20/2003 11:23:10 AM Rajat Nayer wrote:
> 
> > Dear All,
> > 
> > Please respond.. I was expecting some good
> > hand-holding support here.
> > 
> > regds
> > Rajat
> > --- David Bolsover <[EMAIL PROTECTED]> wrote:
> > > Typically, the VO is used to populate a
> collection(
> > > eg ArrayList - Vectors not
> > > usually used) of FormBeans and this is saved in
> some
> > > HttpServletRequet scope -
> > > most frequently request scope - although for
> 'User'
> > > type data it is often
> > > convenient to store this in session scope.
> > >
> > > Once you have your collection of FormBeans in
> scope,
> > > you use the Struts (and/or
> > > JSTL) tag libraries in the DetailPage.jsp to
> access
> > > the fields of the FormBeans
> > >
> > > db
> > >
> > >
> > > -Original Message-
> > > From: Rajat Nayer [mailto:[EMAIL PROTECTED]
> > > Sent: 20 June 2003 09:49
> > > To: Struts Users Mailing List
> > > Subject: accessing VO by next view...
> > >
> > >
> > > Hi!!
> > >
> > > I am a newbie to struts.
> > >
> > > I want to validate my undertsanding of the basic
> > > Struts framework viz a viz the VO issue that i
> will
> > > explain thereafter.
> > >
> > > My understanding of the flow using struts and
> EJB is
> > > as follows:
> > >
> > > Browser -> ActionServlet -> populates FormBean
> and
> > > instantiates the Action Class (based on
> > > struts-config.xml entries)->calls EJB-> calls
> DAO->
> > > accesses DB.
> > >
> > > The DAO creates a VO that is passed back to the
> EJB
> > > which in turn passes it back to the Action
> class.
> > >
> > > Now, How is this VO data used by the next view
> (JSP)
> > > defined. What is the mechanism?
> > >
> > > For eample, in page1.html I have an id which is
> > > passed
> > > all the way to the DAO. The DAO fetches the data
> > > from
> > > the DB based on this ID and returns a collection
> (
> > > maybe a vector of objects/resultset). Now how
> does
> > > the
> > > next page i.e. the DetailPage.jsp get this data
> and
> > > how to use this to show it in a tabular form.
> > >
> > > I know it is a very basic question.. would
> > > appreciate
> > > an easy to understand(newbie context) answer.
> > >
> > > Thanks in advance,
> > > Rajat


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



RE: accessing VO by next view...

2003-06-20 Thread Rajat Nayer
Dear All,

Please respond.. I was expecting some good
hand-holding support here.

regds
Rajat
--- David Bolsover <[EMAIL PROTECTED]> wrote:
> Typically, the VO is used to populate a collection(
> eg ArrayList - Vectors not
> usually used) of FormBeans and this is saved in some
> HttpServletRequet scope -
> most frequently request scope - although for 'User'
> type data it is often
> convenient to store this in session scope.
> 
> Once you have your collection of FormBeans in scope,
> you use the Struts (and/or
> JSTL) tag libraries in the DetailPage.jsp to access
> the fields of the FormBeans
> 
> db
> 
> 
> -Original Message-
> From: Rajat Nayer [mailto:[EMAIL PROTECTED]
> Sent: 20 June 2003 09:49
> To: Struts Users Mailing List
> Subject: accessing VO by next view...
> 
> 
> Hi!!
> 
> I am a newbie to struts.
> 
> I want to validate my undertsanding of the basic
> Struts framework viz a viz the VO issue that i will
> explain thereafter.
> 
> My understanding of the flow using struts and EJB is
> as follows:
> 
> Browser -> ActionServlet -> populates FormBean and
> instantiates the Action Class (based on
> struts-config.xml entries)->calls EJB-> calls DAO->
> accesses DB.
> 
> The DAO creates a VO that is passed back to the EJB
> which in turn passes it back to the Action class.
> 
> Now, How is this VO data used by the next view (JSP)
> defined. What is the mechanism?
> 
> For eample, in page1.html I have an id which is
> passed
> all the way to the DAO. The DAO fetches the data
> from
> the DB based on this ID and returns a collection (
> maybe a vector of objects/resultset). Now how does
> the
> next page i.e. the DetailPage.jsp get this data and
> how to use this to show it in a tabular form.
> 
> I know it is a very basic question.. would
> appreciate
> an easy to understand(newbie context) answer.
> 
> Thanks in advance,
> Rajat
> 
> 
> 
> __
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
>
-
> 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]
> 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



RE: accessing VO by next view...

2003-06-20 Thread Rajat Nayer
Thanks David,

Would it possible to get some code snippets for Action
class (wherein it populates the Collection and places
it in session scope) and that of the JSP which
displays this information.

-R



--- David Bolsover <[EMAIL PROTECTED]> wrote:
> Typically, the VO is used to populate a collection(
> eg ArrayList - Vectors not
> usually used) of FormBeans and this is saved in some
> HttpServletRequet scope -
> most frequently request scope - although for 'User'
> type data it is often
> convenient to store this in session scope.
> 
> Once you have your collection of FormBeans in scope,
> you use the Struts (and/or
> JSTL) tag libraries in the DetailPage.jsp to access
> the fields of the FormBeans
> 
> db
> 
> 
> -Original Message-
> From: Rajat Nayer [mailto:[EMAIL PROTECTED]
> Sent: 20 June 2003 09:49
> To: Struts Users Mailing List
> Subject: accessing VO by next view...
> 
> 
> Hi!!
> 
> I am a newbie to struts.
> 
> I want to validate my undertsanding of the basic
> Struts framework viz a viz the VO issue that i will
> explain thereafter.
> 
> My understanding of the flow using struts and EJB is
> as follows:
> 
> Browser -> ActionServlet -> populates FormBean and
> instantiates the Action Class (based on
> struts-config.xml entries)->calls EJB-> calls DAO->
> accesses DB.
> 
> The DAO creates a VO that is passed back to the EJB
> which in turn passes it back to the Action class.
> 
> Now, How is this VO data used by the next view (JSP)
> defined. What is the mechanism?
> 
> For eample, in page1.html I have an id which is
> passed
> all the way to the DAO. The DAO fetches the data
> from
> the DB based on this ID and returns a collection (
> maybe a vector of objects/resultset). Now how does
> the
> next page i.e. the DetailPage.jsp get this data and
> how to use this to show it in a tabular form.
> 
> I know it is a very basic question.. would
> appreciate
> an easy to understand(newbie context) answer.
> 
> Thanks in advance,
> Rajat
> 
> 
> 
> __
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
>
-
> 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]
> 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



accessing VO by next view...

2003-06-20 Thread Rajat Nayer
Hi!!

I am a newbie to struts.

I want to validate my undertsanding of the basic
Struts framework viz a viz the VO issue that i will
explain thereafter.

My understanding of the flow using struts and EJB is
as follows:

Browser -> ActionServlet -> populates FormBean and
instantiates the Action Class (based on
struts-config.xml entries)->calls EJB-> calls DAO->
accesses DB.

The DAO creates a VO that is passed back to the EJB
which in turn passes it back to the Action class. 

Now, How is this VO data used by the next view (JSP)
defined. What is the mechanism? 

For eample, in page1.html I have an id which is passed
all the way to the DAO. The DAO fetches the data from
the DB based on this ID and returns a collection (
maybe a vector of objects/resultset). Now how does the
next page i.e. the DetailPage.jsp get this data and
how to use this to show it in a tabular form.

I know it is a very basic question.. would appreciate
an easy to understand(newbie context) answer.

Thanks in advance,
Rajat



__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



Perform() of action class is not called

2003-06-19 Thread Rajat Nayer
Hi!!! 
I am trying to invoke an EJB from the Action class
thru the perform() method. However, the perform method
is not called - the println's do not show up on the
server console nor is any error thrown. 

-<<< 
   

 

   

   
   

 
 
 
 

   

--- 


---<<>>--- 
 public ActionForward perform(ActionMapping mapping, 
  ActionForm form, 
  HttpServletRequest request, 
  HttpServletResponse response)throws IOException,
ServletException { 
System.out.println("perform called !!!"); 
SubmitForm f = (SubmitForm) form; // get the form
bean 
// and take the last name value 
String lastName = f.getLastName(); 
// Translate the name to upper case 
//and save it in the request object 
request.setAttribute("lastName",
lastName.toUpperCase()); 
 
/* Calling EJB ***/ 

String op=""; 
  try { 
System.out.println("getting initial context"); 
Context ctx = getInitialContext(); 
System.out.println("initial context got !!"); 
DemoHome home = (DemoHome) ctx.lookup("Demo"); 
System.out.println("home got !!"); 
Demo ac = null; 
try { 
  ac = (Demo) home.create(); 
System.out.println("create called!!"); 
if (ac==null) 
System.out.println("ac is null!"); 
} 
catch (Exception ee) { 
System.out.print("exception 1"); 
} 
System.out.println("going to call method!"); 
if (ac!= null) 
op = ac.demoSelect(); 
else 
System.out.println("ac is null->error!!"); 
//out.println(ac.demoSelect()); 
//out.println("string got!!"); 
System.out.println("String="+op); 
} 
catch (Exception e) { 
   
e.printStackTrace(); 
System.out.println("error 2"); 
} 
   /*/ 
// Forward control to the specified success target

return (mapping.findForward("success")); 
  } 
--- 

What is wrong???



__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



ejbc error

2003-06-14 Thread Rajat Nayer
Hi!!!

I am trying to run my first app that has Struts 1.0.2
and EJBs using Weblogic 7.0. I am doing the foll.:

First of all, I am trying to run my first EJB using
Weblogic 7.0. I have created the Home, Remote and Bean
classes in D:\myjavawork\EJB\DEMO folder.After that i
did the foll.:
1) compiled these using javac with weblogic.jar in the
classpath.
2) created ejb-jar.xml and weblogic-ejb-jar.xml in
D:\myjavawork\EJB\DEMO\META-INF folder
3) created the jar file demo.jar at
D:\myjavawork\EJB\DEMO.
4) when i run weblogic.ejbc, it gives an error :
"...Unable to load the class ejb.demo.DemoBean.." even
though the class file is there.

Please help me solve this.

if possible, pls let m eknow what all needs to be done
after this ejbc command is successful.

I am looking for some hand-holding support here.

thanks!! 




__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



Newbie- needs help again!!

2003-06-13 Thread Rajat Nayer
Hi,

I have been able to run my first Struts "hello world"
using Tomcat 3.2 and Struts 1.0.2 , thanks to the
debugging support of this list whcih helped me to
achieve that.

Now, I need to get a simple "Hello world" running
under Weblogic 6.0 using Struts 1.0.2 and EJBs. 

Could anyone guide me to it.. i require some hand
holding support here. Any links to Primers, tutorials,
steps description in a mail would be most beneficial.

Thanks in advance!!!


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



RE: need all info. regd Tags in Struts..

2003-06-11 Thread Rajat Nayer
Thanks Josh.

do i need to run jboss alongwith tomcat ?


--- Josh Rayls <[EMAIL PROTECTED]> wrote:
> If you're wanting to use EJB, you'll need to add an
> app server like JBoss to
> the equation.  Tomcat is only a servlet/JSP
> container.
> 
> http://www.jboss.org
> 
> -Josh
> 
> -Original Message-
> From: Gemes Tibor [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 11, 2003 8:21 AM
> To: Struts Users Mailing List
> Subject: Re: need all info. regd Tags in Struts..
> 
> 
> Rajat Nayer írta:
> 
> >Where can i get a complete list of Tags available
> in
> >the Struts framework (and abt all the tld files
> that
> >we keep in WEB-INF).
> >
>
http://jakarta.apache.org/struts/userGuide/dev_html.html
>
http://jakarta.apache.org/struts/userGuide/dev_logic.html
> etc
> 
> >
> >Also, could you guide me to a tutorial which will
> help
> >me use EJBs in a struts framework on Tomcat 3.2.4(
> i
> >have this server currently).
> >  
> >
> afaik tomcat 3.2 series are not supported.
> 
> 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



Re: need all info. regd Tags in Struts..

2003-06-11 Thread Rajat Nayer
I can upgrade to Tomcat 4.x version  .. i do not see
any issue there.. just need to know the link to a
tutorial that helps me build a simple EJB-Strust
appln.


--- Gemes Tibor <[EMAIL PROTECTED]> wrote:
> Rajat Nayer írta:
> 
> >Where can i get a complete list of Tags available
> in
> >the Struts framework (and abt all the tld files
> that
> >we keep in WEB-INF).
> >
>
http://jakarta.apache.org/struts/userGuide/dev_html.html
>
http://jakarta.apache.org/struts/userGuide/dev_logic.html
> etc
> 
> >
> >Also, could you guide me to a tutorial which will
> help
> >me use EJBs in a struts framework on Tomcat 3.2.4(
> i
> >have this server currently).
> >  
> >
> afaik tomcat 3.2 series are not supported.
> 
> 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



need all info. regd Tags in Struts..

2003-06-11 Thread Rajat Nayer
Hi,

I have just started understanding Struts framework.
The tutorial that i followed used some tag libs to do
some html jobs (probably formatting - i dunno yet!!).

Where can i get a complete list of Tags available in
the Struts framework (and abt all the tld files that
we keep in WEB-INF).

Also, could you guide me to a tutorial which will help
me use EJBs in a struts framework on Tomcat 3.2.4( i
have this server currently).

Will really appreciate the help by the list users to
get me up and running with EJBs and Struts.

Thanks
Rajat





__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



Re: need help.. "no action instance" issue

2003-06-10 Thread Rajat Nayer
Hi James, Its just that I was following an initial
tutorial that was based on this. So i wanted to follow
it as it is so that i did not fall into other probs
:)..
that was the reason.
--- James Mitchell <[EMAIL PROTECTED]> wrote:
> The minimum support for the Tomcat container is 3.3.
>  Is there a reason you
> chose 3.2?
> 
> --
> James Mitchell
> Software Developer/Struts Evangelist
> http://www.struts-atlanta.org
> 
> 
> - Original Message -
> From: "Rajat Nayer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 10, 2003 5:46 AM
> Subject: need help.. "no action instance" issue
> 
> 
> > Hi All,
> >
> > Greetings!!! I am the newest member on this list.
> >
> > I am trying to setup the Struts (ver 1.0.1) using
> > Tomcat 3.2.4 and following the tutorial at
> address:
> > http://javaboutique.internet.com/tutorials/Struts/
> >
> > I am facing the following issue:
> >
> > On clicking submit on my JSP(submit.jsp), i am
> getting
> > the foll error:
> > 2003-06-10 14:55:07 - Ctx( /myproject ): 500 R(
> > /myproject + /submit.do + null)
> > No action instance for path /submit could be
> created
> >
> > My struts-config.xml has the foll entries:
> > START
> > 
> >
> >   
> >   
> >
> >  >
> > type="hansen.playground.SubmitForm"/>
> >
> >   
> >
> >   
> >   
> >
> >  >   type="hansen.playgound.SubmitAction"
> >   name="submitForm"
> >   input="/submit.jsp"
> >   scope="request">
> > 
> >
> > 
> >
> > 
> >
> >   
> >
> > 
> > -END--
> >
> >
> > SubmitAction.java---
> >
> >
> > import javax.servlet.http.*;
> > import org.apache.struts.action.*;
> >
> > public final class SubmitAction extends Action {
> >
> >   public ActionForward perform(ActionMapping
> mapping,
> >   ActionForm form,
> >   HttpServletRequest request,
> >   HttpServletResponse response) {
> >
> > SubmitForm f = (SubmitForm) form; // get the
> form
> > bean
> > // and take the last name value
> > String lastName = f.getLastName();
> > // Translate the name to upper case
> > //and save it in the request object
> > request.setAttribute("lastName",
> > lastName.toUpperCase());
> >
> > // Forward control to the specified success
> target
> > return (mapping.findForward("success"));
> >   }
> > }
> > --END--
> >
> > Please help me move ahead...
> >
> > Please let me know in case more files are reqd for
> > reference.
> >
> > Thanks
> > Rajat
> >
> >
> >
> >
> >
> >
> > __
> > Do you Yahoo!?
> > Yahoo! Calendar - Free online calendar with sync
> to Outlook(TM).
> > http://calendar.yahoo.com
> >
> >
>
-
> > 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]
> 


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



RE: Errata: need help.. "no action instance" issue

2003-06-10 Thread Rajat Nayer
Hi Kazda,

Thanks a ton !! I just couldnt see that one there.
it works now as it should.

-R
--- Kazda Juraj <[EMAIL PROTECTED]> wrote:
> Hi.
> 
> If you cut&paste your struts-config.xml, you have a
> typo in the  ... type="..."> element where the full class name
> has "playgound"
> instead of "playground"...
> 
> -j.
> 
> 
> 
> 
> -Original Message-
> From: Rajat Nayer [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 10, 2003 11:50 AM
> To: Struts Users Mailing List
> Subject: Errata: need help.. "no action instance"
> issue
> 
> 
> Please note that the SubmitAction is in the package
> package hansen.playground;
> 
> thus the class should be :
> 
> Start--
> package hansen.playground;
> 
> import javax.servlet.http.*;
> import org.apache.struts.action.*;
> 
> public final class SubmitAction extends Action {
> 
>   public ActionForward perform(ActionMapping
> mapping,
>   ActionForm form,
>   HttpServletRequest request,
>   HttpServletResponse response) {
> 
> SubmitForm f = (SubmitForm) form; // get the
> form
> bean
> // and take the last name value
> String lastName = f.getLastName(); 
> // Translate the name to upper case 
> //and save it in the request object 
> request.setAttribute("lastName",
> lastName.toUpperCase());
> 
> // Forward control to the specified success
> target
> return (mapping.findForward("success"));
>   }
> }
> END--
> 
> --- Rajat Nayer <[EMAIL PROTECTED]> wrote:
> > Hi All,
> > 
> > Greetings!!! I am the newest member on this list.
> > 
> > I am trying to setup the Struts (ver 1.0.1) using
> > Tomcat 3.2.4 and following the tutorial at
> address:
> > http://javaboutique.internet.com/tutorials/Struts/
> > 
> > I am facing the following issue:
> > 
> > On clicking submit on my JSP(submit.jsp), i am
> > getting
> > the foll error:
> > 2003-06-10 14:55:07 - Ctx( /myproject ): 500 R(
> > /myproject + /submit.do + null)
> > No action instance for path /submit could be
> created
> > 
> > My struts-config.xml has the foll entries:
> > START
> > 
> > 
> >   
> >   
> > 
> >  >
> > type="hansen.playground.SubmitForm"/>
> > 
> >   
> > 
> >   
> >   
> > 
> >  >   type="hansen.playgound.SubmitAction"
> >   name="submitForm"
> >   input="/submit.jsp"
> >   scope="request">
> >   
>  
> >  
> >
> >   
>  
> >  
> >
> > 
> > 
> >   
> > 
> > 
> > -END--
> > 
> > 
> > SubmitAction.java---
> > 
> > 
> > import javax.servlet.http.*;
> > import org.apache.struts.action.*;
> > 
> > public final class SubmitAction extends Action {
> > 
> >   public ActionForward perform(ActionMapping
> > mapping,
> >   ActionForm form,
> >   HttpServletRequest request,
> >   HttpServletResponse response) {
> > 
> > SubmitForm f = (SubmitForm) form; // get the
> > form
> > bean
> > // and take the last name value
> > String lastName = f.getLastName(); 
> > // Translate the name to upper case 
> > //and save it in the request object 
> > request.setAttribute("lastName",
> > lastName.toUpperCase());
> > 
> > // Forward control to the specified success
> > target
> > return (mapping.findForward("success"));
> >   }
> > }
> > --END--
> > 
> > Please help me move ahead...
> > 
> > Please let me know in case more files are reqd for
> > reference.
> > 
> > Thanks
> > Rajat
> > 
> > 
> > 
> > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! Calendar - Free online calendar with sync
> to
> > Outlook(TM).
> > http://calendar.yahoo.com
> > 
> >
>
-
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to
> Outlook(TM).
> http://calendar.yahoo.com
> 
>
-
> 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]
> 


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



Errata: need help.. "no action instance" issue

2003-06-10 Thread Rajat Nayer

Please note that the SubmitAction is in the package
package hansen.playground;

thus the class should be :

Start--
package hansen.playground;

import javax.servlet.http.*;
import org.apache.struts.action.*;

public final class SubmitAction extends Action {

  public ActionForward perform(ActionMapping mapping,
  ActionForm form,
  HttpServletRequest request,
  HttpServletResponse response) {

SubmitForm f = (SubmitForm) form; // get the form
bean
// and take the last name value
String lastName = f.getLastName(); 
// Translate the name to upper case 
//and save it in the request object 
request.setAttribute("lastName",
lastName.toUpperCase());

// Forward control to the specified success target
return (mapping.findForward("success"));
  }
}
END------

--- Rajat Nayer <[EMAIL PROTECTED]> wrote:
> Hi All,
> 
> Greetings!!! I am the newest member on this list.
> 
> I am trying to setup the Struts (ver 1.0.1) using
> Tomcat 3.2.4 and following the tutorial at address:
> http://javaboutique.internet.com/tutorials/Struts/
> 
> I am facing the following issue:
> 
> On clicking submit on my JSP(submit.jsp), i am
> getting
> the foll error:
> 2003-06-10 14:55:07 - Ctx( /myproject ): 500 R(
> /myproject + /submit.do + null)
> No action instance for path /submit could be created
> 
> My struts-config.xml has the foll entries:
> START
> 
> 
>   
>   
> 
> 
> type="hansen.playground.SubmitForm"/>
> 
>   
> 
>   
>   
> 
>type="hansen.playgound.SubmitAction"
>   name="submitForm"
>   input="/submit.jsp"
>   scope="request">
> 
>  
>
> 
>  
>
> 
> 
>   
> 
> 
> -END--
> 
> 
> SubmitAction.java---
> 
> 
> import javax.servlet.http.*;
> import org.apache.struts.action.*;
> 
> public final class SubmitAction extends Action {
> 
>   public ActionForward perform(ActionMapping
> mapping,
>   ActionForm form,
>   HttpServletRequest request,
>   HttpServletResponse response) {
> 
> SubmitForm f = (SubmitForm) form; // get the
> form
> bean
> // and take the last name value
> String lastName = f.getLastName(); 
> // Translate the name to upper case 
> //and save it in the request object 
> request.setAttribute("lastName",
> lastName.toUpperCase());
> 
> // Forward control to the specified success
> target
> return (mapping.findForward("success"));
>   }
> }
> --END--
> 
> Please help me move ahead...
> 
> Please let me know in case more files are reqd for
> reference.
> 
> Thanks
> Rajat
> 
> 
> 
> 
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to
> Outlook(TM).
> http://calendar.yahoo.com
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



need help.. "no action instance" issue

2003-06-10 Thread Rajat Nayer
Hi All,

Greetings!!! I am the newest member on this list.

I am trying to setup the Struts (ver 1.0.1) using
Tomcat 3.2.4 and following the tutorial at address:
http://javaboutique.internet.com/tutorials/Struts/

I am facing the following issue:

On clicking submit on my JSP(submit.jsp), i am getting
the foll error:
2003-06-10 14:55:07 - Ctx( /myproject ): 500 R(
/myproject + /submit.do + null)
No action instance for path /submit could be created

My struts-config.xml has the foll entries:
START


  
  



  

  
  


  
   
  
   


  


-END--


SubmitAction.java---


import javax.servlet.http.*;
import org.apache.struts.action.*;

public final class SubmitAction extends Action {

  public ActionForward perform(ActionMapping mapping,
  ActionForm form,
  HttpServletRequest request,
  HttpServletResponse response) {

SubmitForm f = (SubmitForm) form; // get the form
bean
// and take the last name value
String lastName = f.getLastName(); 
// Translate the name to upper case 
//and save it in the request object 
request.setAttribute("lastName",
lastName.toUpperCase());

// Forward control to the specified success target
return (mapping.findForward("success"));
  }
}
--END--

Please help me move ahead...

Please let me know in case more files are reqd for
reference.

Thanks
Rajat






__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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