Cash problem in tomcat
I dont know why tomcat make cash for som files
who to resolve this problem ????
I use tomcat 5.5
thanks
I dont know why tomcat make cash for som filesthats news to me ... tomcat makes cash ;-) $$$$ u meant cache i guess
who to resolve this problem ????Ask Tom ..cos the cat belong to him ...LOL
[I think u meant how to resolve the problem.]
People who dont bother type the question properly usually dont get the guidance properly.
Anyways I shouldnt be rude ... add this in ur JSP...
<%
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader("Expires", 0); //prevents caching at the proxy server
%>
Similar Messages
-
Session problems in tomcat 5.0.28
Even I shutdown the tomcat 5.0.28 server the session variable is still existing and it is showing the old values. What I have to do to disable the old values? Is it the problem with tomcat 5.0.28 or with JSP coding!
Tomcat serializes sessions to the hard drive when it shutsdown. If you don't want this you have three choices:
1: you can disable this functionality in the server.xml. Check the documentation.
2: you could just delete the session.ser file when you shut down tomcat. This file is under work/standalone/{webapp name}
3: you could close and re-open the browser so that the old jsessionid will not be sent and a new session will be created. The old session will eventually time out.
The third option is probably the easiest. -
I'm using Linux with Tomcat 4.0. I found that the counter of session has something wrong. The time counter is not reset when the user access the session.
I try to use Tomcat 3.2.3 and my programs work fine. Is this the problem of Tomcat 4.0 ? anyone have the same problem ?
plse, help.I'm using Tomcat 4.0 and Linux.
I have a problem about the session.
timeout = 600;
session.setMaxInactiveInterval(timeout);
...When the user active the session, the "timeout" should be reset to 600. In fact, the session is still die even the user active the session.
And this problem does not occurred in Tomcat 3.2.3.
I guess is the bug of Tomcat 4.0.
Is anyone use Tomcat 4.0 and Linux. Can anyone help me to check the timer of session is correct or not ?
Thank you !
Tomcat 3.2.3 is ok.
The problem occurred in Tomcat 4.0.1 and 4.0.2.
Please help ! -
Problems with Tomcat & Eclipse on MacOSX
Hi everybody. I have a problem with Tomcat and Eclipse. I must make an application with JSF for my dissertation and i even become a new Mac user so i have some problems. I have installed Eclipse 3,3 Europe on Mac OSX 10,4, also I have installed Tomcat 5,5 setting up environment variable and users of Tomcat. Well, when I try to connect them creating a new server in Eclipse and select Tomcat as server and relative folder of origin, the problems begin. When I try to run on server a JSF project(naturally I have imported all the necessary libraries) it give this error to me: Could not load the Tomcat incomplete serveur configuration at /Servers/Tomcat v5.5 serveur at localhost-config.The configurator mau be corrupt or. Reason: Could not load the Tomcat incomplete serveur configuration at /Servers/Tomcat v5.5 serveur at localhost-config.The configurator mau be corrupt or incomplete. On what it can depend? It is possible that is a JRE problem? I do not find the folder jre on my file system(are novice with the mac). Thanks to all.
This seems like a question that would be better put to an Eclipse forum.
-
Problem in tomcat. 4.1
Hi all,
I have a problem in tomcat.
I have a Bank a folder in Webapp .
When i hit url
http://localhost:8080/bank/index.jsp
then index page displays.
When i coped and pasted the Bank folder and renamed it as Bank1 .then when i hit url
http://localhost:8080/bank1/index.jsp
I m getting this error .Even though i have made entry in the server.xml.Restarted the server but no luck.
type Status report
message /Bank1/index.jsp
description The requested resource (/Bank1/index.jsp) is not available.
--------------------------------------------------------------------------------looks like t is a java.lang.Throwable and pageContext.handlePageException is expecting a java.lang.Exception
try
pageContext.handlePageException(new Exception("myException", t)); -
Serious connection pool problem on Tomcat
Hi,
We are deploying our JSF creator-made app onto Tomcat 1.5. We set up our JNDI datasource on Tomcat (using the i-net driver ).
Initially the pages load ok but after a short period of time we are getting these errors:
Initialization Failure: javax.faces.FacesException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection, pool exhaustedWe believe that somehow the Creator-generated code is NOT freeing up connections in the connection pool.
We think that when the afterRenderResponse() methods in the beans call rowset.close() this is NOT returning the connections to the pool. Can someone, hopefully a Sun Engineer confirm that the rowset.close() code in afterRenderResponse() returns the connection behind the rowset to the connection pool.
Could this be a driver issue? We are using the i-net driver not the DataDirect one, but this should implement the full API.
This is a very serious problem for us.
regards,
johndo you have any example code you could post? I have a Spring/JSC tutorial on this forum. Just search for Spring and you should find it. It you need something more, I'll try to give you some help...time provided.
am i
right in thinking that you use the forms designer to
lay out your pages and just put your own stuff in the
bean constructor?Close...but not everything goes in the constructor.
>
One thing that may have caused a problem is we have
just noticed that in one of our most commonly hit
pages this line:
dataTable1Model.setDataCacheKey("com.sun.datacache.my_
page.my_rowset");
featured the WRONG "my_page" jsp page but the correct
rowset name "my_rowset". The page DID load correctly
and run correctly, though. Could this cause problems
with connection pooling? Anyone?I wouldn't think so, but it depends on how Creator builds the code. -
Problem with Tomcat 404 Redirects & Internet Explorer
Hello All --
I am running Tomcat 5.5.9 stand alone on a linux server. My default application is loading when you visit http://*IPAddress*/
I have set up the standard <error-page> tags in my context web.xml, located in: TOMCAT-INSTALL/webapps/contextname/WEB-INF.
Browsing to an invalid link through FireFox correctly displays my error page. However, browsing to the same invalid link through IE 6 displays the standard IE 404 Not Found Error message.
The strange thing is, if I visit a correct page through IE, then go back and change it so it is incorrect, THEN IE sees my custom error page.
For example, if I visit
http://siteaddress.com/products.jsp?product_id=12345, the page loads correctly. If I change the address to
http://siteaddress.com/products.js?product_id=12345, IE then sees my custom error.
But if I enter the incorrect address right away in a new IE window, I receive the standard IE 404 error messaging.
Could someone please explain why this is happening and what I can do to resolve the problem?
Thank you in advance for your help!
-- ChrisHi,
I got this to work finally and documented it here:
http://markashworth.objectis.net/Tutorial/tomcat404IE
Hope this helps.
Mark Ashworth -
Apache Roller (or mayb Struts 2) problem on Tomcat 5.5.20 on Debian Etch
Firstly I'm not at all sure whether this is the right forum for asking for help on this issue. People here have been very helpful in the past. If this post is in the wrong place, my apologies and please feel free to move it.
I am trying to install Apache Roller 4.0 on a Debian Etch system that has the Apache Tomcat 5.5 package installed. I am using the Sun Java package as well. You might think the solution to this problem might be better sought in the Apache Roller community or the Debian community. However the problem I am experiencing is a far more general Java problem (I think).
h1. Software versions
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)Tomcat 5.5.20 (Debian Etch package)
Apache Roller 4.0
h1. The error
When I load up the application for the first time, following the Apacher Roller instructions for installation I get a bunch of IllegalAccessExceptions that AFAIK should not happen. An example is in the exception trail below.
h2. Exception trail.
ERROR 2007-12-30 11:31:25,476 StandardWrapperValve:invoke - Servlet.service() for servlet jsp threw exception
Caught OgnlException while setting property 'location' on type 'org.apache.struts2.views.tiles.TilesResult'. - action - file:/vhost/beanlogic.co.uk/roller/WE
B-INF/classes/struts.xml:129:77
at com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:199)
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:342)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
//(there is a large stack trace here which probably not relevant so I cut it out. The caused by is next)
Caused by: Caught OgnlException while setting property 'location' on type 'org.apache.struts2.views.tiles.TilesResult'. - Class: ognl.OgnlRuntime
File: OgnlRuntime.java
Method: invokeMethod
Line: 508 - ognl/OgnlRuntime.java:508:-1
at com.opensymphony.xwork2.util.OgnlUtil.internalSetProperty(OgnlUtil.java:367)
at com.opensymphony.xwork2.util.OgnlUtil.setProperties(OgnlUtil.java:76)
at com.opensymphony.xwork2.ObjectFactory.buildResult(ObjectFactory.java:222)
at com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:195)
... 287 more
Caused by: java.lang.IllegalAccessException: Method [public void org.apache.struts2.dispatcher.StrutsResultSupport.setLocation(java.lang.String)] cannot be a
ccessed.
at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:508)
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:812)
at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:964)
at ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:75)
at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:131)
at com.opensymphony.xwork2.util.OgnlValueStack$ObjectAccessor.setProperty(OgnlValueStack.java:68)
at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1656)
at ognl.ASTProperty.setValueBody(ASTProperty.java:101)
at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
at ognl.SimpleNode.setValue(SimpleNode.java:246)
at ognl.Ognl.setValue(Ognl.java:476)
at com.opensymphony.xwork2.util.OgnlUtil.setValue(OgnlUtil.java:186)
at com.opensymphony.xwork2.util.OgnlUtil.internalSetProperty(OgnlUtil.java:360)
... 290 moreAny help would be great.
Cheers
ElwynHave you resolved your problem? I am running into the SAME EXACT issues with my application. The only difference is I'm not deploying to webapps/ROOT/; I'm deploying to my own directory based on my WAR file name (webapps/<web_application_name>/WEB-INF....blah blah). If you figured out your problem (believe me, I wish I could be of some help) I would LOVE to hear what you did/figured out.
-C -
Hibernate problem in Tomcat-jsf. Please help me!
Hello!
So...I'm using Hiberbate API to deal with database data
and The Tomcat web server to deploy my app, my page shows
a database data list, the problem is when I reload (click
on the browser button or on the originated link) the page
the data just vanish, I don't know the why.have
you any suggestion?
my page.jsf :
<%
try{
HibBean data = new HibBean();
Iterator i = data.getList().iterator();
Session sessionH = HibernateUtil.getSessionFactory().getCurrentSession();
sessionH.beginTransaction();
(show data from database)
HibernateUtil.getSessionFactory().close();
.Thanks!This question has asked a lot in different forums. I had same problen, when I compiled RunUSBControllerTest. I got I/O Exception: USB Host support is unavailable. I think I resolve this problem: I think that jusb.dll has compiled in older java version and depends on version. I had Java 1.4.2_05 and it dosen't worked out. I remove it and install java 1.4.1_03. Now the RunUSBControllerTest works fine. I hope this is the answer.
-
Same problem using tomcat for petcode app
I'm getting frustrated. I don't think i want to use this petsotre application. i need to find something else. I got tired of using the javaserver application so i used the war in tomcat and got this problem when it tried to deploy it.
Caused by: java.lang.IllegalArgumentException: Duplicate context initialization parameter com.sun.faces.verifyObjects
at org.apache.catalina.core.StandardContext.addParameter(StandardContext.java:2210)
... 46 more
Sep 9, 2007 8:20:23 AM org.apache.catalina.startup.ContextConfig applicationWebConfig
SEVERE: Parse error in application web.xml file at jndi:/localhost/petstore/WEB-INF/web.xml
java.lang.IllegalArgumentException: Duplicate context initialization parameter com.sun.faces.verifyObjects
at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2725)
at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2751)
at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1060)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1772)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2923)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:351)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1034)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:260)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4119)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)Hi,
the petstore needs some of the services of a Java EE 5 application server to run. It uses some technologies that are part of Java EE 5like annotations, Java Persistence Objeects, JSF 1.2 etc.
This FAQ lists some of the things needed.
https://blueprints.dev.java.net/petstore/faq.html#tomcat
You would have to do some work yourself to get it to run on tomcat as there are not full instructions on how to do this.
hth,
Sean -
Hi, i face a problem when trying to deploy my apps in tomcat4. Because my URL that point to my servlet is very long e.g.:
http://222.222.222.222/abc/def/ghi/jkl/myServlet
because of some constraint i need to put the myServlet in /jkl folder instead of /abc folder under webapps..... but in tomcat server.xml and web.xml for the apps i can't find the correct tag to set so that this is enabled..... is there any method to configure this??
Thanx in advance for the help. :)http://222.222.222.222/abc/def/ghi/jkl/myServlet
because of some constraint i need to put the
myServlet in /jkl folder instead of /abc folder underI don't understand what kinda constraint would make someone tie to a long URL? Okay if abc is the web-app root directory, then you could place the servlet in the def.ghi.jkl package and configure the web.xml accordingly.
***Annie*** -
Error-page problem with Tomcat 5.0.24
I want to display an error page in case any exception is thrown by my JSF application.
I configure the error page in the web.xml and run the application on Tomcat 5.0.24.
When an error really happens while loading a jsf-page A the error page is not displayed. In IE i see just a blank page. When I check the source code it shows me some parts of the page A (javascript functions). So it actually never navigates to the error page.
I tried to use jsf, simple jsp or even html pages as an error page - the same effect.
And one more thing. When plain jsp-page throws an exception I see my error page all right. Also I see an exception stack trace in Tomcat console. When jsf-page throws an exception I don't see any exception information in the Tomcat console.
Does anybody has an explanation to this? Can anybody recommend me any other way to watch for exceptions in a JSF-application?
Any help will be appreciated.
SlawaI resolved the problem.
I had to increase the jsp-buffer size for the erroneous page. It looks like it started to load and when the error happened the container couldn't redirect to the error page.
Thanks to jBoss which gives more log messages though is also based on tomcat.
Slawa -
JSP Compilation Problem in Tomcat 5.0.28
I am having problem after i deploy my applcation in tomcat 5.0.28. While accessing a jsp an excpetion is generated:
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
Note: Recompile with -Xlint:unchecked for details.
1 error
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Help on this is appricated.
-NileshShow me the code
-
Character Setting Problem ( mysql + tomcat )
Hi all;
I am using mysql dbms and tomcat web server(servlet). But in my web page, the characters are shown broken. I set the character set of the mysql database. They are shown well in the dbms console. And also I set the html code with appropriate character set in the meta tags. Do I need to make any extra setting? Perhaps in the tomcat or anywhere else? What is the problem here?assumes:
1. using jsp to display the db data
2. db encoding is ISO-8859-1
3. jsp encoding is utf-8
for the very first line of the jsp file:
<%@ page pageEncoding="utf-8" %>before displaying the data:
String str = <data from db>
str = new String(str.getBytes("ISO-8859-1"), "UTF-8"); -
Bean: define problem in tomcat.But it is working fine in Jdeveloper. Why?
I am use a logic iterator tag for a dropdown list and bean :define for the show the values of the drop down list in jdeveloper. But in tomcat when i use this same code i got the following errors.
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 152 in the jsp file: /Trip_Consignor_Details_Insert.jsp
Generated servlet error:
[javac] Compiling 1 source file
/data/jakarta-tomcat-5.0.19/work/Catalina/localhost/Lost/org/apache/jsp/Trip_005fConsignor_005fDetails_005fInsert_jsp.java:315: cannot find symbol
symbol : method setValue(java.lang.Object)
location: class org.apache.struts.taglib.html.OptionTag
jspxth_html_option_0.setValue(param1);
^
An error occurred at line: 172 in the jsp file: /Trip_Consignor_Details_Insert.jsp
Generated servlet error:
/data/jakarta-tomcat-5.0.19/work/Catalina/localhost/Lost/org/apache/jsp/Trip_005fConsignor_005fDetails_005fInsert_jsp.java:414: cannot find symbol
symbol : method setValue(java.lang.Object)
location: class org.apache.struts.taglib.html.OptionTag
jspxth_html_option_1.setValue(param2);
^
Note: /data/jakarta-tomcat-5.0.19/work/Catalina/localhost/Lost/org/apache/jsp/Trip_005fConsignor_005fDetails_005fInsert_jsp.java uses unchecked or unsafe operations.
An error occurred at line: 172 in the jsp file: /Trip_Consignor_Details_Insert.jsp
Generated servlet error:
Note: Recompile with -Xlint:unchecked for details.
2 errors
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
I think this may caused for the following line of code--
<html:option value='<%=sUomCode%>'></html:option>
May i have to add a jar file for this tag in my classpath and keep the jar file in tomcat's [ jakarta-tomcat-5.0.19 ]/ common/lib?.
i am using ubuntu as os. Please suggest me.I set the classpath in enviornment file in /etc folder.
and in eclipse i did-- right click on project -->properties-->java build path-->Libraries-->Add External jars. [and add the two jars].
My code is ----
<html:select property="sLocCode">
<logic:iterate id="results" name="tripConsignor" property="result">
<bean:define id="param1" name="results" property="sLocCode"/>
<html:option value='<%=param1%>'></html:option>
</logic:iterate>
</html:select>
problem in the line ----
<html:option value='<%=param1%>'></html:option>
Is their any alternative to set the html values. I tried <bean:write>. But failed.
So i just want to set the value of <html:option value="-----------"></html:option>.
please give me the solution or alternative way to set the value. Please Help
Maybe you are looking for
-
Which type of exceptions must be caught?
Hello, could somebody give me a clue why some exceptions must be caught while others must not? i.e. java.lang.Class.getMethod() throws NoSuchMethodException... must be caught while java.lang.Integer.parseInt(String s) throws NumberFormatException doe
-
Saving an xml file in local machine(urgent)
Hi Techies, I am creating the xml file from jsp and generation of xml is working fine for me. Now the query is How can I point out the location of local machine?? Here is my code String locationAndBackupFileName =request.getParameter("locationAndName
-
Changing user accounts on bb app world
Help. I am using a blackberry bold that was my sisters. all her account info is on the phone. i can i change the blackberry app world to my account details without wiping the phone completely??
-
Approve guest account in Cisco ISE 1.3
Hello everybody, I can't approve guest account in the cisco ISE after I create them. when I want to approve an account I should write a sponsor email, but always I had the same problem: the values entered are incorrect. (Les valeurs saisies son
-
hello everyone. I have recently installed a Samsung SSD (solid state hard drive) into my destop PC. For some reason Lightroom does not see it ? So i cannot ingest photos from it, or copy photos from a card to it. It is not listed as a drive option. L