Problem with JSTL

2006-06-02 Thread Emandi, Srinivasrao
Hi all I m using jstl to parse xml in my jsp, i m facing a strange problem with the uri in %@ taglib The following code is working fine: %@ taglib prefix=x uri=http://java.sun.com/jstl/xml; % c:set var=val value=${requestScope.responseXML} /

Re: Problem with JSTL

2006-06-02 Thread Kris Schneider
The correct URI for JSTL 1.1 is: http://java.sun.com/jsp/jstl/xml As you've noted, the parse tag would be used like so: x:parse var=doc doc=${val}/ Make sure you have the proper JAR files for the Standard 1.1 taglib installed (instead of Standard 1.0). Make sure that the value of ${val}

page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
i use struts framework in my project,and use the jstl in the jsp page.now i want to write a page which will auto forward to a struts action class,but whatever i use jstl or jsp ,it can't find the url either. in jstl i use:c:redirect url=SearchAction.do/ and in jsp i use: jsp:forward

Re: page redirect problem in jstl or jsp?

2004-08-18 Thread Bill Siggelkow
What happens if you go to directly to the page from your browser? Do u also get a 404? If so, then the problem is with the action mapping and not the redirect. Perhaps a typo in your struts-config.xml. Gao Di wrote: i use struts framework in my project,and use the jstl in the jsp page.now i

Re: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
it's ok ah,if i typed page directly,u can write some sample and try it . --- Bill Siggelkow [EMAIL PROTECTED] What happens if you go to directly to the page from your browser? Do u also get a 404? If so, then the problem is with the action mapping and not the redirect. Perhaps a typo in

Re: page redirect problem in jstl or jsp?

2004-08-18 Thread Bill Siggelkow
Works for me, Gao. I have the following JSP which redirects to an Action without a hitch. %@ page contentType=text/html;charset=UTF-8 language=java % %@ taglib uri=http://java.sun.com/jstl/core; prefix=c % html head titleTest/title /head body bgcolor=white c:redirect url=/ViewStep1.do/

RE: page redirect problem in jstl or jsp?

2004-08-18 Thread Karr, David
If it isn't obvious yet, try: c:redirect url=/SearchAction.do/ -Original Message- From: Gao Di [mailto:[EMAIL PROTECTED] i use struts framework in my project,and use the jstl in the jsp page.now i want to write a page which will auto forward to a struts action class,but

RE: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
it doesn't work either,i find it's a problem of struts,but can't find a solution. --- Karr, David [EMAIL PROTECTED] If it isn't obvious yet, try: c:redirect url=/SearchAction.do/ -Original Message- From: Gao Di [mailto:[EMAIL PROTECTED] i use struts framework in my

Re: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
maybe there is something wrong in my config files? struts-config.xml action-mappings action path=/SearchAction type=com.adt.action.log.SearchAction name=SearchForm input=/index.jsp

RE: page redirect problem in jstl or jsp?

2004-08-18 Thread Bill Siggelkow
it comes to your problem. Bill Siggelkow [EMAIL PROTECTED] -Original Message- From: Gao Di [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 9:25 PM To: Tag Libraries Users List Subject: Re: page redirect problem in jstl or jsp? maybe there is something wrong in my config

RE: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
List Subject: Re: page redirect problem in jstl or jsp? maybe there is something wrong in my config files? struts-config.xml action-mappings action path=/SearchAction type=com.adt.action.log.SearchAction name=SearchForm

page redirect problem in jstl or jsp?

2004-08-10 Thread ?fffffffffb8?fffffffffdf ?fffffffffb5?fffffffffc f?=
i use struts framework in my project,and use the jstl in the jsp page.now i want to write a page which will auto forward to a struts action class,but whatever i use jstl or jsp ,it can't find the url either. in jstl i use:c:redirect url=SearchAction.do/ and in jsp i use: jsp:forward

Re: Problem with JSTL 1.0 and Weblogic 8.1 SP2

2004-05-13 Thread Justyna Horwat
I don't know if this is related to your problem but JSTL 1.0.x binary release came bundled with a xalan and xerces implementation. Different implementations of the xml classes also exist in JDK 1.4.2 which maybe causing a conflict. The conflicts however don't typically occur on standard.jar

Problem with JSTL 1.0 and Weblogic 8.1 SP2

2004-05-13 Thread Iñigo Serrano
Hello I have a problem with JSTL 1.0 and Weblogic 8.1 SP2. I have put the libraries (standard.jar and jstl.jar) in the APP-INF/lib (it is obligatory to put all the libs here. Norms of the host provider...) of the EAR and in Windows2000 with JDK 1.4.1 it works but in Solaris 8 with JDK 1.4.2

Problem with JSTL 1.1 and Tomcat 5 (JWSDP 1.3)

2004-05-06 Thread Wali Ansary
Hi, I've used JSTL 1.0 before, and am trying to write a little app in 1.1 now. I'm using the Tomcat that I got with JWSDP 1.3 (which is v 5). The examples that come with WSDP work, but when I'm trying to write something on my own, or even copy the same code to a page of my own, it doesnt work.

Re: Problem with JSTL 1.1 and Tomcat 5 (JWSDP 1.3)

2004-05-06 Thread Kris Schneider
Make sure you're using a Servlet 2.4 web.xml. If you're using a Servlet 2.3 web.xml, then the only RT expression that will get evaluated is a JSP expression (%= ... %). An EL expression will be treated as a literal string, hence all the ${i} output. Of course, if your app also needs to work with

strange xsl/xml encoding problem with jstl and tomcat: maybe a bug in jstl 1.02?

2002-11-02 Thread Andreas Schildbach
i've got an utf-8 encoded xml file (test.xml) with several versions of an umlaut character, like this: ?xml version=1.0 encoding=UTF-8? aü #x00FC;/a !-- this should both be equivalent to uuml; -- i want to apply a simple xsl transformation (test.xml) to html, like this: ?xml version=1.0