Topic: help me about struts

  Print this page

1.help me about struts Copy to clipboard
Posted by: TopCool
Posted on: 2003-06-24 18:14

ActionBean:RegUserAction

package org.cjea.Struts.example;

import javax.Servlet.http.*;
import org.apache.Struts.action.*;

public final class RegUserAction extends Action
{

public ActionForward perform(ActionMapping mapping,
ActionForm form, HttpServletRequest req,
HttpServletResponse res)
{
String title = req.getParameter("title");
String password = req.getParameter("password");
String email = req.getParameter("email");
/*
取得用户请求,做相应数据库操作,略
*/
}
}

1.how to write return statement?
2.I have not got a full example about struts ,only know how to install struts,
who can give me a exact example ...............in detail:)))
3.who have some good sites to study struts ?

3q in advance

2.Re:help me about struts [Re: TopCool] Copy to clipboard
Posted by: why
Posted on: 2003-06-24 20:18

You may search for and download the ebook "Struts in Action" from a Yahoo group.
You will then know how to "forward" to a jsp, follow the (full) examples of the book, and very likely find pointers to good reference sites.Smile

3.Re:help me about struts [Re: TopCool] Copy to clipboard
Posted by: 灯泡
Posted on: 2003-06-26 09:40

to topcool
http://jakarta.apache.org.
go to the hometown of the struts ,you will find many inportant informations.

4.Re:help me about struts [Re: TopCool] Copy to clipboard
Posted by: test100
Posted on: 2003-06-26 17:03

there is a struts-example.war in struts webapps. a good struts sample.

5.Re:help me about struts [Re: TopCool] Copy to clipboard
Posted by: TopCool
Posted on: 2003-06-26 19:33

to test100: too difficult to study

I only need a hello world example~

6.Re:help me about struts [Re: TopCool] Copy to clipboard
Posted by: floater
Posted on: 2003-06-26 22:52

That *is* a hellow, ~~ in struts context, Tongue. Yea, I know it's complex to beginners, but it's already the minimum to demonstrate the power of struts.

Read the book first, mentioned above. It's a shortcut, otherwise it's going to take longer to understand this.

7.Re:help me about struts [Re: TopCool] Copy to clipboard
Posted by: TopCool
Posted on: 2003-06-27 09:25

Iamreadingthebook....strutsinaction

8.Re:help me about struts [Re: TopCool] Copy to clipboard
Posted by: floater
Posted on: 2003-06-27 23:00

Hehe, good man. After reading, write a review for us, like learn Struts in 10 minutes.

People may think I am joking, no, I am not. This will let you think what's the important stuff and what's the accessories.

9.Re:help me about struts [Re: floater] Copy to clipboard
Posted by: 牛老板
Posted on: 2003-06-27 23:16

to topcool :
you can look up here !!
http://www.fawcette.com/china/search.aspx?find=struts&SearchBy=Subject

10.000 [Re: 牛老板] Copy to clipboard
Posted by: TopCool
Posted on: 2003-06-28 18:06

牛老板 wrote:
to topcool :
you can look up here !!
http://www.fawcette.com/china/search.aspx?find=struts&SearchBy=Subject


good 呵呵,3q


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923