Bug#432477: openarena: New upstream release 0.7.0
Hi, In the meantime, a bug fixing version has appeared. Please upgrade to 0.7.1, not to 0.7.0 ___ Pkg-games-devel mailing list Pkg-games-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel
Bug#432477: openarena: New upstream release 0.7.0
Hi, In the meantime, a bug fixing version has appeared. Please upgrade to 0.7.1, not to 0.7.0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: nested tags
have you tried looking at the generated .java files? At worst you might be able to decompile the .class generated for this jsp -Original Message- From: luca [mailto:[EMAIL PROTECTED] Sent: 18 November 2004 13:45 To: Tag Libraries Users List Subject: nested tags Hallo, I have implemented a tag lib with some cases of nested cooperating tags. For ex: wall:img src=pix/cinema.gif alt=Cinema wall:alternate_img src=pix/cinema_big.gif test=${bool} / /wall:img wall:img src=pix/games.gif alt=Games wall:alternate_img src=pix/games_big.gif test=${bool} / /wall:img (complete example of usage: http://wurfl.sourceforge.net/java/coolmenu.php) My big problem is that I just found out this doesn't work on Weblogic 8.1 and, what's worse it does not produce any significant diagnostics in the weblogic logs. The JSP starts rendering and fails as soon as the second instance of the img tag is encountered. Error msg (in the browser window): {Exception in myjsp.jsp] null On Tomcat 4 it works no problem. Of course, I suspect that the problem could be due to different strategies that the two appserver employ to reuse tag instances, but I am not sure how I can fix this. I do have some instance variables (necessary to allow the two tags too cooperate), but I make sure they are initialized by doStartTag(). I attach the code of the two tags, if this can help... thanks Luca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: xml and date problem
also worked for me, in Jetty (Servlet 2.3/JSP1.2) with far older Xerces and Xalan version. Xerces 1.4.3, Xalan 2.3.1 -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: 02 June 2004 18:45 To: Tag Libraries Users List Subject: Re: xml and date problem I changed your example only to make it work more nicely as text output: %@ page contentType=text/plain % %@ taglib prefix=fmt uri=http://java.sun.com/jstl/fmt; % %@ taglib prefix=x uri=http://java.sun.com/jstl/xml; % x:parse var=xml test unit date=20040602142014 /unit unit date=20040602143809 /unit /test /x:parse x:forEach select=$xml/test/unit fmt:parseDate var=updated pattern=MMddHHmmss type=both x:out select=@date / /fmt:parseDate fmt:formatDate value=${updated} pattern=-MM-dd HH:mm:ss / /x:forEach And got: 2004-06-02 14:20:14 2004-06-02 14:38:09 So what's the problem? ;-) I used TC 5.0.24 (running in Servlet 2.3/JSP 1.2 mode) with Xerces 2.6.2 and Xalan 2.6.0 installed in common/endorsed. Try upgrading Xerces and Xalan. Quoting David Goodenough [EMAIL PROTECTED]: I have a problem with either xml parsing or date formatting, I am not quite sure which. Consider the following code:- x:parse var=xml test unit date=20040602142014 /unit unit date=20040602143809 /unit /test /x:parse table x:forEach select=$xml/test/unit fmt:parseDate var=updated pattern=MMddHHmmss type=both x:out select=@date / /fmt:parseDate TR TD fmt:formatDate value=${updated} pattern=-MM-dd HH:mm:ss / /TD /TR /x:forEach /TABLE One would expect this to produce:- 2004-06-02 14:20:14 2004-06-02 14:38:09 but instead it produces:- 2004-06-02 14:20:14 2004-06-02 14:20:14 i.e. it repeats the first date. If there are more than two xml items it repeats the same date all the way through. Is this a known problem, and is there a fix? David -- Kris Schneider mailto:[EMAIL PROTECTED] D.O.Tech http://www.dotech.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]
RE: xml and date problem
have you tried this: x:parse var=myxml test unit date=20040602142014 /unit unit date=20040602143809 /unit /test /x:parse table x:forEach select=$myxml/test/unit TR TD x:out select=@date / /TD /TR /x:forEach /TABLE ,just to see if it's really an xml problem, or has something to do with the updated var, the fmt tags? -Original Message- From: Felix Velasco [mailto:[EMAIL PROTECTED] Sent: 02 June 2004 18:49 To: 'Tag Libraries Users List' Subject: RE: xml and date problem also worked for me, in Jetty (Servlet 2.3/JSP1.2) with far older Xerces and Xalan version. Xerces 1.4.3, Xalan 2.3.1 -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: 02 June 2004 18:45 To: Tag Libraries Users List Subject: Re: xml and date problem I changed your example only to make it work more nicely as text output: %@ page contentType=text/plain % %@ taglib prefix=fmt uri=http://java.sun.com/jstl/fmt; % %@ taglib prefix=x uri=http://java.sun.com/jstl/xml; % x:parse var=xml test unit date=20040602142014 /unit unit date=20040602143809 /unit /test /x:parse x:forEach select=$xml/test/unit fmt:parseDate var=updated pattern=MMddHHmmss type=both x:out select=@date / /fmt:parseDate fmt:formatDate value=${updated} pattern=-MM-dd HH:mm:ss / /x:forEach And got: 2004-06-02 14:20:14 2004-06-02 14:38:09 So what's the problem? ;-) I used TC 5.0.24 (running in Servlet 2.3/JSP 1.2 mode) with Xerces 2.6.2 and Xalan 2.6.0 installed in common/endorsed. Try upgrading Xerces and Xalan. Quoting David Goodenough [EMAIL PROTECTED]: I have a problem with either xml parsing or date formatting, I am not quite sure which. Consider the following code:- x:parse var=xml test unit date=20040602142014 /unit unit date=20040602143809 /unit /test /x:parse table x:forEach select=$xml/test/unit fmt:parseDate var=updated pattern=MMddHHmmss type=both x:out select=@date / /fmt:parseDate TR TD fmt:formatDate value=${updated} pattern=-MM-dd HH:mm:ss / /TD /TR /x:forEach /TABLE One would expect this to produce:- 2004-06-02 14:20:14 2004-06-02 14:38:09 but instead it produces:- 2004-06-02 14:20:14 2004-06-02 14:20:14 i.e. it repeats the first date. If there are more than two xml items it repeats the same date all the way through. Is this a known problem, and is there a fix? David -- Kris Schneider mailto:[EMAIL PROTECTED] D.O.Tech http://www.dotech.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Unable to parse XML input using x:parse
you are parsing the xml correctly, the trouble is that you are not displaying it correctly. From your code: x:out select=$parsedxml//*/ This will show nothing, as the String XPath value of your whole xml is empty c:out value=${parsedxml}/ This shows [#document: null], since you'r displaying an object of type org.w3c.Document, whose toString() method returns : [ + name-of-the-node + : + value-of-the-node + ]. It's an xml-xpath problem what you are witnessing, not an jstl one. Back in the String XPath value issue, the XPath specification says that the value of transforming a node or a set of them into a String is the concatenation of the values of the text or cdata nodes contained in the subtree. A strange way of saying that it merely remove the tags (attributes included) If you use the following tag, you should see something: ---x:out select=$parsedxml/MenuConfig/Menus/Menu/@name/--- That should output: ---UserMenu--- -Original Message- From: David Ketchin [mailto:[EMAIL PROTECTED] Sent: 27 May 2004 17:41 To: '[EMAIL PROTECTED]' Subject: Unable to parse XML input using x:parse I am having a problem with the x:parse tag. Im using the standard 1.05 apache jstl taglib in a struts 1.1 app on Jboss3.2.3 No matter what I do the xml fails to parse and a null document is produced. The xml exists as a string property on a bean. the xml is as follows - ?xml version=1.0 encoding=ISO-8859-1 ? MenuConfig Menus Menu name=UserMenu title=HOMEMENU description=test mtype= Item name=HomeMenu title=HOMEMENU description=test forward=Main.Welcome mtype=/ Item name=AssystUserIncidentMenu title=INCIDENTMENU mtype=LogIncAllowed Item name=LogIncident title=LOGINCIDENT forward=Incident.LogIncident mtype=LogIncAllowed/ Item name=PrinterFault title=LOGPRINTERFAULT forward=Incident.LogPrinterFault mtype=LogIncAllowed/ Item name=SoftwareFault title=LOGSOFTWAREFAULT forward=Incident.LogSoftwareFault mtype=LogIncAllowed/ /Item Item name=AssystUserChangeMenu title=CHANGEMENU mtype=LogRFCAllowed Item name=LogChange title=LOGCHANGE forward=Change.LogChange mtype=LogRFCAllowed/ Item name=MoveFault title=LOGMOVEFAULT forward=Incident.LogMoveFault mtype=LogRFCAllowed/ Item name=NewtstartFault title=LOGNEWSTARTFAULT forward=Incident.LogNewstartFault mtype=LogRFCAllowed/ /Item Item name=ViewMenu title=VIEWMENU description=test mtype= Item name=EventMonitor title=EVENTMONITOR forward=Main.EventSearch mtype=/ Item name=KnowledgeBase title=KNOWLEDGEBASE forward=Main.KnowledgeBase mtype=/ Item name=AMSearch title=ASSETSEARCH forward=Asset.AssetSearch image=../images/select-all.png mtype=/ /Item Item name=ROOTACTION title=ROOTACTION mtype=OnSelectedEvent Item name=action.menu.look.for.solution title=action.menu.look.for.solution forward=KnowledgeSearchForEvent mtype=OnSelectedIncident/ Item name=PLACEKNOWLEDGESOLVED title=doesnt matter it will come from the database forward=KnowledgeSolved mtype=OnSelectedEvent;KnowledgeSearchSelected/ Item name=ACTIONMENUCATEGORYnormalActions title=NORMALACTION mtype=OnSelectedEvent/ Item name=ACTIONMENUCATEGORYsuggestedActions title=SUGGESTEDACTION mtype=OnSelectedEvent/ Item name=ACTIONMENUCATEGORYstageActions title=STAGEACTION mtype=OnSelectedEvent/ Item name=ACTIONMENUCATEGORYfutureActions title=FUTUREACTION mtype=OnSelectedEvent/ Item name=ACTIONMENUCATEGORYuserStatusActions title=USERACTION mtype=OnSelectedEvent/ Item name=ACTIONMENUCATEGORYclockActions title=CLOCKACTION mtype=OnSelectedEvent/ Item name=ACTIONMENUTYPE1 title=assign mtype=OnSelectedEvent/ Item name=ACTIONMENUTYPE2 title=acknowl mtype=OnSelectedEvent/ Item name=ACTIONMENUTYPE3 title=callback not matter will be replaced with action name mtype=OnSelectedEvent/ Item name=ACTIONMENUTYPE40 title=add info mtype=OnSelectedEvent/ Item name=ACTIONMENUTYPE42 title=chaseup mtype=OnSelectedEvent/ Item name=ACTIONMENUTYPE4 title=pending cls mtype=OnSelectedEvent/ Item name=ACTIONMENUTYPE5 title=closure mtype=OnSelectedEvent/ Item name=ACTIONMENUTYPE6 title=reopen mtype=OnSelectedEvent/ Item name=ACTIONMENUCATEGORYsupplierActions title=SUPPLIERACTION mtype=OnSelectedEvent/ Item name=ACTIONMENUTYPE29 title=major inc mtype=OnSelectedEvent;MajorIncidentSelected/ Item name=ACTIONMENUCATEGORYstateActions title=STATEACTION
RE: Replacing returns with br
you have a typo: the attribute is escapeXml ,not escapeXmL (look at the 'L') -Original Message- From: Keith [mailto:[EMAIL PROTECTED] Sent: 14 April 2004 15:24 To: Tag Libraries Users List Subject: Re: Replacing returns with br When I try putting the '\\\n' in with the escapeXmL attribute set to false, I get this: org.apache.jasper.JasperException: /filename.jsp(301,2) Attribute escapeXmL invalid for tag out according to TLD Which makes no sense what-so-ever. I tried just putting the escapeXmL=false attribute in with '\n' being my string, and I get my original error. I think the problem may be that it's not seeing \n as the return character from my database. Any ideas? Keith -- Original Message --- From: Pierre Delisle [EMAIL PROTECTED] To: Tag Libraries Users List [EMAIL PROTECTED] Sent: Tue, 13 Apr 2004 18:08:51 -0700 Subject: Re: Replacing returns with br Not very intuitive, but the following should work: c:set var=s5 value=First line\nSecond line/ c:out value=${fn:replace(s5,'\\\n','br')} escapeXml=false/ -- Pierre Keith wrote: I have a column in a database that is used to store a comments section. It's just a large string (VARCHAR2(4000) in Oracle), and the information is entered into it via a textarea form field. If I output that data to another textarea I can see that the return characters are preserved in the database. I was trying to output this column's data as normal text in HTML, but need to preserve the returns somehow. I was thinking I could use the fn:replace action to turn them into br's, but I'm not sure how it sees the return characters in the string. I tried this: c:out value=${fn:replace(row.comments, '\n', 'br')} / But get this error back: org.apache.jasper.JasperException: /filename.jsp(281,2) ${fn:replace (row.comments, '\n', 'br')} contains invalid expression(s): javax.servlet.jsp.el.ELException: Encountered '\n, expected one of [INTEGER_LITERAL, FLOATING_POINT_LITERAL, STRING_LITERAL, true, false, null, (, - , not, !, empty, IDENTIFIER] Anyone help with how I can go about doing this? Thanks! Keith - 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] --- End of Original Message --- - 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]
RE: isLast() method of LoopTagStatus class
try loop_status.last instead of loop_status.isLast(). EL will translate it as per javabeans specification -Original Message- From: Keith [mailto:[EMAIL PROTECTED] Sent: 12 April 2004 18:41 To: Taglibs Subject: isLast() method of LoopTagStatus class I'm trying to output a comma delimited list based on a varying list of statuses that will be input from a select menu in a form. I was trying to figure out how to avoid putting a comma after the last value, and it seemed like testing with the isLast() method of the LoopTagStatus class would be a good thing to use. I'm not quite sure how to go about using it, though. Reading about it, it looks like the 'varStatus' attribute of the c:forEach tag creates a variable to hold a LoopTagStatus object. My code below was how I assumed I would then be able to access the isLast() method: %@ page contentType=text/html; charset=iso-8859-1 language=java % %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % %@ taglib prefix=sql uri=http://java.sun.com/jsp/jstl/sql; % c:forEach items=${paramValues.status} var=status_row varStatus=loop_status '${status_row.status_name}' c:if test=${!(loop_status.isLast())}, /c:if /c:forEach But when I do this, I get the following error back: org.apache.jasper.JasperException: /report_status_data.jsp(20,3) The function isLast must be used with a prefix when a default namespace is not specified Here's an example of the kind of output I'm trying to generate. The list has a possibility of being shorter or longer than this: 'In-Progress', 'Closed', 'Terminated', 'Withdrawn' Thanks in advance! Keith - 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]
RE: isLast() method of LoopTagStatus class
this is a very basic application of the JavaBeans spec, and I don't really think you should read it to use in jstl. You just need to know that any class with non-static methods starting with get, set or is (this last one only for booleans) is a JavaBean to you. Then, to call this method, remove the prefix and lowercase the first letter after it. Unless there are more than one uppercase letters, so: getId() -- .id getID() -- .ID In most EL tutorials you'll find this better explained, I'd start with Shawn Bayern's book, JSTL in Action, probably the best there is for JSTL. -Original Message- From: Keith [mailto:[EMAIL PROTECTED] Sent: 12 April 2004 18:57 To: Tag Libraries Users List Subject: RE: isLast() method of LoopTagStatus class Perfect! Thanks! Where would I have looked to find that info? I'm still really new to Beans and raw Java code. Main reason why I'm going with JSTL right now. I had tried looking in the Java Docs, but I really didn't know where to begin. Keith -- Original Message --- From: Felix Velasco [EMAIL PROTECTED] To: 'Tag Libraries Users List' [EMAIL PROTECTED] Sent: Mon, 12 Apr 2004 18:41:51 +0200 Subject: RE: isLast() method of LoopTagStatus class try loop_status.last instead of loop_status.isLast(). EL will translate it as per javabeans specification -Original Message- From: Keith [mailto:[EMAIL PROTECTED] Sent: 12 April 2004 18:41 To: Taglibs Subject: isLast() method of LoopTagStatus class I'm trying to output a comma delimited list based on a varying list of statuses that will be input from a select menu in a form. I was trying to figure out how to avoid putting a comma after the last value, and it seemed like testing with the isLast() method of the LoopTagStatus class would be a good thing to use. I'm not quite sure how to go about using it, though. Reading about it, it looks like the 'varStatus' attribute of the c:forEach tag creates a variable to hold a LoopTagStatus object. My code below was how I assumed I would then be able to access the isLast() method: %@ page contentType=text/html; charset=iso-8859-1 language=java % %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % %@ taglib prefix=sql uri=http://java.sun.com/jsp/jstl/sql; % c:forEach items=${paramValues.status} var=status_row varStatus=loop_status '${status_row.status_name}' c:if test=${!(loop_status.isLast())}, /c:if /c:forEach But when I do this, I get the following error back: org.apache.jasper.JasperException: /report_status_data.jsp(20,3) The function isLast must be used with a prefix when a default namespace is not specified Here's an example of the kind of output I'm trying to generate. The list has a possibility of being shorter or longer than this: 'In-Progress', 'Closed', 'Terminated', 'Withdrawn' Thanks in advance! Keith - 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] --- End of Original Message --- - 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]
RE: Internal Servlet Error using Taglibs-image on Tomcat 3.2.3 an d j2sdk1.4.1_06
I don't think you can do it without upgrading your Tomcat version. You're using the 2.2 servlet API, and need at least the 2.3 version of the api for custom tags, even if you downgrade the code to use the HttpUtils.getRequestURL deprecated method. FĂ©lix -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 16 March 2004 18:08 To: Tag Libraries Users List Subject: Internal Servlet Error using Taglibs-image on Tomcat 3.2.3 and j2sdk1.4.1_06 Hi ! I'm reposting the emai and hoping that someone could finaly help me to resolve the problem. I installed the image-examples under webapps in Tomcat v3.2.3 using j2sdk1.4.1_06 and I when I run http://myserver/image-examples/index.jsp I get an Internal Servlet Error with a root cause: java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getRequestURL()Ljava/lang/StringBuffer ; I think the problem is with the servlet.jar that comes with tomcat 3.2.3. I made a quick search in google and I found that someone suggested to replace all methods javax.servlet.http.HttpServletRequest.getRequestURL() with javax.servlet.http.HttpUtils.getRequestURL(request) http://mail.sourceid.org/pipermail/sso-users/2003-May/000119.html I don't know if this will work if I do this in taglibs-source code, but is there any work around already available without the need to upgrade my tomcat webserver or JDK to a newer version? thank you for your help. - 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]
RE: Formatting (Gregorian)Calendar instances?
try: fmt:formatDate value=${myCalendar.date} var=mmdd type=date pattern=-MM-dd/ that way you'd access the getDate method of the Calendar interface, that returns the equivalent java.util.Date instance -Original Message- From: otisg [mailto:[EMAIL PROTECTED] Sent: 03 February 2004 13:04 To: [EMAIL PROTECTED] Subject: Formatting (Gregorian)Calendar instances? Hello, If I use java.util.Date with the following piece os JSTL, it works nicely. However, I need to format an instance of (Gregorian)Calendar. I used Google to try to find the answer, but found nothing. fmt:formatDate value=${myDate} var=mmdd type=date pattern=-MM-dd/ Is there a way to format (Gregorian)Calendar instances with JSTL? Thanks, Otis Get your own 800 number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag - 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]
RE: Formatting (Gregorian)Calendar instances?
ps i wrote too fast. It's myCalendar.time, not date, as Brian pointed. sorry -Original Message- From: Felix Velasco [mailto:[EMAIL PROTECTED] Sent: 03 February 2004 13:26 To: 'Tag Libraries Users List' Subject: RE: Formatting (Gregorian)Calendar instances? try: fmt:formatDate value=${myCalendar.date} var=mmdd type=date pattern=-MM-dd/ that way you'd access the getDate method of the Calendar interface, that returns the equivalent java.util.Date instance -Original Message- From: otisg [mailto:[EMAIL PROTECTED] Sent: 03 February 2004 13:04 To: [EMAIL PROTECTED] Subject: Formatting (Gregorian)Calendar instances? Hello, If I use java.util.Date with the following piece os JSTL, it works nicely. However, I need to format an instance of (Gregorian)Calendar. I used Google to try to find the answer, but found nothing. fmt:formatDate value=${myDate} var=mmdd type=date pattern=-MM-dd/ Is there a way to format (Gregorian)Calendar instances with JSTL? Thanks, Otis Get your own 800 number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: c:url generates incorrect encoding?
the problem is the space in the xml header ? xml version=1.0 encoding=ISO-8859-1 ? ^ shuld be ?xml version=1.0 encoding=ISO-8859-1 ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 19 September 2003 13:49 To: Andreas Schildbach Cc: [EMAIL PROTECTED] Subject: Re: c:url generates incorrect encoding? Hello Iam using a tag library descriptor which is as follows: ? xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE taglib PUBLIC -//Sun Microsystems, Inc.// DTD JSP Tag Library 1.1//EN http://java.sun.com/j2ee/dtds/ web-jsptaglibrary_1_1.dtd !-- a tag library descriptor -- taglib tlibversion1.0/tlibversion jspversion1.1/jspversion shortnamefirst/shortname uri/uri infoA simple tab library for the examples/info tag namehello/name tagclasstags.HelloTag/tagclass bodycontentempty/bodycontent infoSay Hi/info /tag /taglib Iam getting the error: XML parsing error on file /WEB-INF/jsp/mytaglib.tld: (line 4, col 6): The processing instruction target matching [xX][mM][lL] is not allowed. Please give me solutions for this. with regards Ananth R Project Associate Electronic Enterprise Laboratory Computer Science and Automation Indian Institute Of Science Bangalore - Phone:(off) 2932368-111 (cdma)9844140340 e-mail:[EMAIL PROTECTED] [EMAIL PROTECTED] - 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]
Re: a doubt on sessions
there's no need to invalidate the session, since it'll disappear from the server after a time. However, if you would need doing it, it could can be done with client (i.e.:JavaScript) code, since it resides in the server. Only server java code inside a jsp can do it. -Mensaje original- De: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]En nombre de Lorena Carlo Enviado el: Wednesday, November 29, 2000 4:18 PM Para: [EMAIL PROTECTED] Asunto: a doubt on sessions Hello all, I have a doubt on session, can any body tell me if it is necesary to invalidate a session when the user presses a button that have a the following javascript code: "javascript:window.top.close()", that closes the browser window?. If I have to invalidate the session, how can i do it with javascript, i can not use the method invalidate of the HttpSession object because I am using html for the menues and not jsp, what can I do in that case. Thanks in advace Lorena === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets