Re: use html:link pass two param

2003-11-01 Thread javen fang
Thanks all, thanks James Mitchell! I use the method James Mitchell tell me. And I read JSTL Spec and tutorial in javaword.com http://www.javaworld.com/javaworld/jw-02-2003/jw-0228-jstl-p3.html But I encouter a error,and I don't know why this occur: javax.servlet.ServletException: Invalid

RE: use html:link pass two param

2003-11-01 Thread James Mitchell
- From: javen fang [mailto:[EMAIL PROTECTED] Sent: Saturday, November 01, 2003 10:45 AM To: Struts Users Mailing List Subject: Re: use html:link pass two param Thanks all, thanks James Mitchell! I use the method James Mitchell tell me. And I read JSTL Spec and tutorial in javaword.com

RE: use html:link pass two param

2003-11-01 Thread javen fang
://www.struts-atlanta.org 678.910.8017 (c) 770.822.3359 (h) AIM:jmitchtx -Original Message- From: javen fang [mailto:[EMAIL PROTECTED] Sent: Saturday, November 01, 2003 10:45 AM To: Struts Users Mailing List Subject: Re: use html:link pass two param Thanks all

RE: use html:link pass two param

2003-11-01 Thread James Mitchell
PROTECTED] Sent: Saturday, November 01, 2003 12:14 PM To: Struts Users Mailing List Subject: RE: use html:link pass two param Thank you, James But even: c:out value=${USER.username} default=username / bean:write name=USER property=username/ USER is a user session bean:write can work

RE: use html:link pass two param

2003-11-01 Thread javen fang
fang [mailto:[EMAIL PROTECTED] Sent: Saturday, November 01, 2003 12:14 PM To: Struts Users Mailing List Subject: RE: use html:link pass two param Thank you, James But even: c:out value=${USER.username} default=username / bean:write name=USER property=username/ USER

RE: use html:link pass two param

2003-11-01 Thread javen fang
, November 01, 2003 12:14 PM To: Struts Users Mailing List Subject: RE: use html:link pass two param Thank you, James But even: c:out value=${USER.username} default=username / bean:write name=USER property=username/ USER is a user session bean:write can work

Re: use html:link pass two param

2003-10-31 Thread Ruth, Brice
If you have the parameters stored in a java.util.Map object, simply specifying the name of that object as the name attribute to html:link (without any paramId/paramName/paramProperty attributes, will do the trick for you. If your bean list isn't a java.util.Map, you can create one on the fly

RE: use html:link pass two param

2003-10-31 Thread James Mitchell
First of all, you should never have to put .do any where in your application except the web.xml file. That way, you change the mapping in one place and it flows to the rest of the application. Here's what I do: %@ page contentType=text/html;charset=UTF-8 language=java % %@ taglib

Re: use html:link pass two param

2003-10-31 Thread Ruth, Brice
How do you go about enabling path mapping v. extension mapping in web.xml (or struts-config.xml)? James Mitchell wrote: First of all, you should never have to put .do any where in your application except the web.xml file. That way, you change the mapping in one place and it flows to the rest of

Re: use html:link pass two param

2003-10-31 Thread Kris Schneider
web.xml: !-- mapping for ActionServlet -- servlet-mapping servlet-nameaction/servlet-name url-pattern/do/*/url-pattern /servlet-mapping Quoting Ruth, Brice [EMAIL PROTECTED]: How do you go about enabling path mapping v. extension mapping in web.xml (or struts-config.xml)? James

Re: use html:link pass two param

2003-10-31 Thread Ruth, Brice
doesn't this still put 'do' somewhere in the URL? Kris Schneider wrote: web.xml: !-- mapping for ActionServlet -- servlet-mapping servlet-nameaction/servlet-name url-pattern/do/*/url-pattern /servlet-mapping Quoting Ruth, Brice [EMAIL PROTECTED]: How do you go about enabling path mapping

RE: use html:link pass two param

2003-10-31 Thread James Mitchell
-Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2003 11:03 AM To: Struts Users Mailing List Subject: Re: use html:link pass two param doesn't this still put 'do' somewhere in the URL? Kris Schneider wrote: web.xml: !-- mapping

Re: use html:link pass two param

2003-10-31 Thread Kris Schneider
You can call it whatever you want - admin-tool from James' example. The difference is this: /app/do/manageUsers vs. this: /app/manageUsers.do I think James was referring to the use of: html:link action=next.do ... when he said, you should never have to put .do any where in your

Re: use html:link pass two param

2003-10-31 Thread Ruth, Brice
) 770.822.3359 (h) AIM:jmitchtx -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2003 11:03 AM To: Struts Users Mailing List Subject: Re: use html:link pass two param doesn't this still put 'do' somewhere in the URL? Kris Schneider wrote

Re: use html:link pass two param

2003-10-31 Thread javen fang
Thanks all, thanks James Mitchell! I use the method James Mitchell tell me. And I read JSTL Spec and tutorial in javaword.com http://www.javaworld.com/javaworld/jw-02-2003/jw-0228-jstl-p3.html But I encouter a error,and I don't know why this occur: javax.servlet.ServletException: Invalid