Re: Struts2 REST

2009-03-22 Thread maplye
2009/3/23 Li : > Hey guys, > > I am a fan of REST and I am excited that Struts2 started supportting REST > architecture. I have used Struts REST plug-in to create a demo struts rest > application with the help of Struts 2 REST showcase. Interestingly I found > out the "content" under WEB-INF is a

Re: Error encounter when using tiles on JSP

2009-03-22 Thread Gordian Yuan
Hi, newbie-gero I remember that it should be using the name attribute example : try it Gordian On Sun, Mar 22, 2009 at 9:09 PM, newbie-gero wrote: > > Greetings, > i tried to use tiles and tld files on a jsp page,but i encounter an error > while trying to load the jsp file. > > These are t

Struts2 REST

2009-03-22 Thread Li
Hey guys, I am a fan of REST and I am excited that Struts2 started supportting REST architecture. I have used Struts REST plug-in to create a demo struts rest application with the help of Struts 2 REST showcase. Interestingly I found out the "content" under WEB-INF is a required setting, which you

Re: [HELP] why is this configuration file(struts.xml) faulty????

2009-03-22 Thread 白鹏
wow, I got it. If we place theafter , it will be OK! 2009/3/23 白鹏 > The error is not here. > I change it to value="true" /> , but the > > > is still there. > > 2009/3/22 Dale Newfield > > 白鹏 wrote: >> >>> >> value="true"> >>> >> >> Is it valid to have both a value attribute and a tag bod

Re: [HELP] why is this configuration file(struts.xml) faulty????

2009-03-22 Thread 白鹏
The error is not here. I change it to , but the is still there. 2009/3/22 Dale Newfield > 白鹏 wrote: > >> > value="true"> >> > > Is it valid to have both a value attribute and a tag body? > > Try replacing that with: > > > > And see if you get any farther. > > -Dale > > > ---

Re: get client IP address in action using tomcat SSI

2009-03-22 Thread Gabriel.G
I found a solution for this: With SSI enabled on tomcat, I added an iframe in my login template with SSI macro call included, and I used jscript code to copy macro result value to a login form hidden input. Regards. -- View this message in context: http://www.nabble.com/get-client-IP-address-

Re: [HELP] why is this configuration file(struts.xml) faulty????

2009-03-22 Thread Dale Newfield
白鹏 wrote: Is it valid to have both a value attribute and a tag body? Try replacing that with: And see if you get any farther. -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e

Error encounter when using tiles on JSP

2009-03-22 Thread newbie-gero
Greetings, i tried to use tiles and tld files on a jsp page,but i encounter an error while trying to load the jsp file. These are the libraries i insert into the WEB-INF/lib folder struts.jar, struts-tiles.tld, struts-nested.tld, struts-logic.tld, struts-html.tld, struts-bean.tld, struts-el.jar,

[HELP] why is this configuration file(struts.xml) faulty????

2009-03-22 Thread 白鹏
http://struts.apache.org/dtds/struts-2.0.dtd";> login.jsp