How do you get tomcat 5.5. to compile JSPs in the Sun JDK
Tomcat 5.5 JSPs do not compile with Java 5 code therefore how do you change it to use the Sun's JDK to compile Java 5 code.
It does seem odd that you can compile Java 5 servlets but not JSP's.
I've followed all these steps, but my Tomcat/5.5.4 still won't compile my 1.5-java-syntaxed JSP's.
Here is exception stack:
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:342)
org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:248)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:62)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
apollinary.filter.EncodingFilter.doFilter(EncodingFilter.java:19)
root cause
Error running javac.exe compiler
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:473)
org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:47)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:213)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:62)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
apollinary.filter.EncodingFilter.doFilter(EncodingFilter.java:19)I tried to substitute /common/lib/jasper-compiler-jdt.jar with Tomcat/5.0.27's /common/lib/ant.jar or IDEA 5.0's /lib/ant/ant.jar - effects are the same as described above.
What's the problem?
Similar Messages
-
How do you get your music on your phone without syncing the whole iTunes library on your phone?
Are you syncing to a different computer? Iphone will sycn with only one at a time. Syncing to another will erase the current content.
Otherwise, just select what you want to be on the iphone under the music tab and sync. What do you care if it erases? You will be syncing what you want to the iphone. -
How do you get your last batch of down loads to the new computer if the old one crashed before i was able to get it on my ipod
See Here > Download Past Purchases
http://support.apple.com/kb/HT2519 -
How do you get time machine to reset your computer to the specific date you would like?
How do you get time machine to reset your computer to the specific date you would like?
Hey carlleeh,
Thanks for the question. The following resource may guide you through that process:
OS X Mountain Lion: Recover your entire system
http://support.apple.com/kb/PH11192
Thanks,
Matt M. -
How do you get your text messages to not show on the screen when they come in
How do you get your text messages to show on the screen when then come in? My iphone 3s would just say the persons name and text message. This says the persons name and the whole message
Settings > Notifications > Messages > Show Preview - Turn to OFF
-
If you are fimiliar with Gmail you know that you are able to set up labels/filters. Well i have my filters set up so when a certain person/company emails me the email gets archived into a certain folder and skips the inbox. This works great for me. This orgnazation method to keep an amazing clean/empty inbox works great. It's just like having a Filing cabinant and inside the filing cabinant you have a folder(label) for each file(email). Below is a sample Gmail that has Archived Labels that have content in each Archived Label that as you can see.. skip the inbox completely regeardless if the message was read or not.
If the Archived Label has a new message in it it will have (1) next to it.
Ex.
Client One Folder (23)
Client Two Folder
Client Three (2)
Client Four (5)
Understand how that works? It works great for orginaziaonl reasons..
Here is a photo of what it really looks like. (Info Blurred for security reasons)
On the Gmail end of things this works great if you ask me...only flaw to this is my iOS device won't notify me that i have a new email in my ClientArchived Folder due to the fact that the Mail app preinstalled on the device only checks the inbox for new mail and does NOT check for new mail sent to Archived folders where majority of my mail is set up for orginazional reasons.
I am aware that if i am using my iOS device that i can go to the Mail App and scroll down to account > Gmail > Scroll down and my archived folders for each client are their & shows how many emails are from each client..
but why doesn't it notifty me about this emails that get sent to these organized archived folders in notifcation center?
See the Mail App icon below? Well above it says i have 16 unread emails throughout my Gmail folders/labels.. Why doesn't it give me a red bubble via NC(noticication Center) on the app saying i have 16 unread messages?
My problem isn't that i can't get the emails on the phone.. it's just if i am not expecting an email and someone emails me.. i won't get it until i go and pysically check in the mail account > gmail > archived folder. It's very frustrating seeing as if i like to be quick to respond to emails. Well it's hard to be quick to respond if my phone doesn't notify me about the emails.
Why won't the App notify me when i have emails in folders other than "Inbox"?
Called Apple and talked to a Technician.. He was clueless of a solution.
Does anyone have a fix for this or a work around?
Any help/input is apperciated!
-Thanksmy problem exactly. Did you ever figure it out? I had to resort to turning off labels in the web interface for Gmail. Not ideal
-
How does one get a varity of music i.e a playlist to work on the standard Photo App which is shipped with Ipad 2 when using a slideshow ?
if you have music in your library, when tapping on slideshow a menu appears - Turn on music option. when on a song should display below it - tapping it will take you to your library.
Photo App will give you access to all albums as set in settings\Photo
Camera - select camera roll - gives camera roll only but options for everything else
Slideshow timings is under Settings\Photo -
How do you get to use an animated finger instead of the cursor?
Hello. I've seen in a screenshot video that a developer was showing how his app works by using an animated finger instead of the regular arrow (cursor). Does anybody know what's the name of that finger program/app?
Thanks!Actually, i just found it. It's called PhoneFinger: wonderwarp.com/phonefinger/
-
How can you get Tomcat to autostart on reboot (and stay up when logged out)?
I am running Tomcat 4.1.27 app server on W2000. I have placed the startup file ("startup.bat") in the registry to execute upon reboot. It executes fine, but it doesn't stay up (window closes asap). I was hoping to find a minimize flag option or another strategy... Does anyone have a good way to do this for a production system? Thanks, Mark Anderson ([email protected])
You can run tomcat as a service by doing the following (assuming you installed the Tomcat supplied with Plumtree and assuming that you unzipped it on the D drive):
1.Launch D:\jakarta-tomcat-4.1.18-LE-j2sdk1.4.1_02\bin\installsvc.bat
2.You will see a message saying that the service was successfully installed - press any key to continue
Chris Bucchere
Bucchere Development Group
[email protected]
http://www.bucchere.com -
How do you get a cfwindow to update a query on the origin page
I can't seem to get my head around this problem. I've got an accounting app where I want to add a new bill and if I type in a vendor who is not yet in the database I want to pop up a window to record the new vendor information, then return to the add bill page and continue with the information i've entered so far. I've tried cfwindows, but they don't seem to actually submit to the database, and even so, when I return to the origin page all typed data is cleared. Even a pointer towards a solution would be great. Sorry if the problem is spelled out well.
Why do it with a pop-up, when you can do it without? You could do it as follows.
Make, for example, Vendor name an autosuggest input field. When the user types, Coldfusion fetches the matching name from the database, if any exists. The bind attributes ensure that Coldfusion will automatically fill in the ID that corresponds to a matching name, and eventually the product that corresponds to the vendor name and ID.
If no such match exists, then you know the vendor is new. In that case, the application will add the new vendor. You may also choose to update, for example, the name or product of a vendor.
addNewVendor.cfm
=================
<cfif isDefined("form.vendor_name")>
<!--- Assmumes Vendor.cfc is in the current directory --->
<cfset vendorObject = createobject("component","Vendor")>
<cfset vendorObject.updateVendor(form.vendor_name, form.vendor_id, form.vendor_prod)>
</cfif>
<cfform>
Vendor name: <cfinput type="text" name="vendor_name" autosuggest="cfc:Vendor.getName({cfautosuggestvalue})"><br><br>
Vendor ID: <cfinput type="text" name="vendor_id" bind="cfc:Vendor.getId({vendor_name})"><br><br>
Vendor product: <cfinput type="text" name="vendor_prod" bind="cfc:Vendor.getProduct({vendor_name},{vendor_id})"><br><br>
<cfinput name="sbmt" type="submit" value="Add or update vendor">
</cfform>
Vendor.cfc
==========
<cfcomponent output="false">
<cffunction name="getName" access="remote" returntype="array" output="false">
<cfargument name="suggestvalue" required="true">
<cfset var local = structNew()>
<!--- The function returns suggestions as an array. --->
<cfset local.vendorArray = ArrayNew(1)>
<!--- Get all unique last names that match the characters the user types. --->
<cfquery name="local.getVendorName" datasource="myDSN">
SELECT DISTINCT vendorName FROM Vendor
WHERE vendorName LIKE <cfqueryparam value="#suggestvalue#%"
cfsqltype="cf_sql_varchar">
</cfquery>
<!--- Convert the query to an array. --->
<cfloop query="local.getVendorName">
<cfset arrayAppend(local.vendorArray, vendorName)>
</cfloop>
<cfreturn local.vendorArray>
</cffunction>
<cffunction name="getId" access="remote" returntype="array" output="false">
<cfargument name="vendorName" required="true">
<cfset var local = structNew()>
<cfset local.idArray = ArrayNew(1)>
<cfquery name="local.getVendorId" datasource="myDSN">
<!--- Get ID that matches vendor name --->
SELECT id FROM Vendor
WHERE vendorName = <cfqueryparam value="#arguments.vendorName#"
cfsqltype="cf_sql_varchar">
</cfquery>
<cfloop query="local.getVendorId">
<cfset arrayAppend(local.idArray, id)>
</cfloop>
<cfreturn local.idArray>
</cffunction>
<cffunction name="getProduct" access="remote" returntype="array" output="false">
<cfargument name="name" required="true">
<cfargument name="id" required="true">
<cfset var local = structNew()>
<cfset local.prodArray = ArrayNew(1)>
<cfquery name="local.getProd" datasource="myDSN">
<!--- Get product that matched vendor name and id --->
SELECT product FROM Vendor
WHERE vendorName = <cfqueryparam value="#arguments.name#"
cfsqltype="cf_sql_varchar">
AND id = <cfqueryparam value="#arguments.id#"
cfsqltype="cf_sql_varchar">
</cfquery>
<cfloop query="local.getProd">
<cfset arrayAppend(local.prodArray, product)>
</cfloop>
<cfreturn local.prodArray>
</cffunction>
<cffunction name="updateVendor" access="public" returntype="void" output="false">
<cfargument name="name" required="true">
<cfargument name="id" required="true">
<cfargument name="product" required="true">
<cfset var local = structNew()>
<!--- I have assumed vendor ID is unique --->
<cfquery name="local.verifyVendor" datasource="myDSN">
SELECT count(*) as noOfVendors
FROM Vendor
WHERE id = <cfqueryparam value="#arguments.id#"
cfsqltype="cf_sql_varchar">
</cfquery>
<!--- If vendor exists in table, update; else insert--->
<cfif local.verifyVendor.recordCount GT 0>
<cfquery name="local.updateVendor" datasource="myDSN">
UPDATE Vendor
SET product = <cfqueryparam value="#arguments.product#" cfsqltype="cf_sql_varchar">,
vendorName = <cfqueryparam value="#arguments.name#" cfsqltype="cf_sql_varchar">
WHERE id = <cfqueryparam value="#arguments.id#" cfsqltype="cf_sql_varchar">
</cfquery>
<cfelse>
<cfquery name="local.saveVendor" datasource="myDSN">
INSERT INTO Vendor(vendorName,id,product)
VALUES(<cfqueryparam value="#arguments.name#" cfsqltype="cf_sql_varchar">,
<cfqueryparam value="#arguments.id#" cfsqltype="cf_sql_varchar">,
<cfqueryparam value="#arguments.product#" cfsqltype="cf_sql_varchar">)
</cfquery>
</cfif>
</cffunction>
</cfcomponent> -
How do you get your download photos to go in in the order that you download them in?
Everytime i download my pictures from my iPad or iPhone, into the main and into thier albums, the album gets completely mixed.
They dont go in in order. In the "arrange by" window, i cant find the option that makes the photos in the order that i put them in, in... please help!!!The order that photos appear in iPhoto on the Mac is controled by the iPhoto sort options - in events under the view menu ==> sort events
LN -
How do you get your Iphone to show sub folders in the mail program?
Hallo
I Have a lot of sub folders in the mail program, that I use to distribute my mails according to projects but they do not show on my Iphone? Is this function not possible?
Thanks!
MikkelI didn't set anything - it just happened. I think it only works for IMAP accounts. If yours is IMAP, the only thing I can think of is to delete the account and set it up again
-
How can you get your photos in the order they are in your computer
How can you get your photos synced to your phone in the same order as the file on your computer?
The iPhone Photos app orders photos by date.
-
I just bought the Apple iPad Air yesterday and I wanted to download a certain app from the app store. When it first opened it had a page come up over the apps with free apps that you could download to the iPad. I clicked on the not now button, thinking it would reappear after closing and re-opening the app store, but it did not. How do you get this back so that I can have the opportunity of checking the apps out?
Thank you for any assistance that there may be for this.After activating your iPad, go to the App Store and search for your free apps:
1. Pages
2. Numbers
3. Keynote
4. iPhoto
5. iMovie
6. GarageBand
If apps are still showing the price: sign out>reboot>and sign in again
Settings>iTunes and App Store>Apple ID -
How do you get to top of emails on ipad
how do you get to top of emails on ipad
Tap on the time at the top of the screen.
Maybe you are looking for
-
IE11 in Windows 8.1 changes scale when moving window between screens
Hi, I'm using Windows 8.1 with IE11 on a Dell Latitude E6510 with an external LG screen. I use both screens in my daily work and when I move a IE11 window from the internal screen in my laptop to the external LG screen, the scaling in IE11 changes an
-
Attaching a stylus to the Droid X...
Well, I've tried looking at pictures but can't seem to get the angle I'm looking for, and since my phone won't be here until next week, I was wondering if anybody could tell me if it's possible to attach a stylus to the Droid X...? Some phones have t
-
I'm using the LabView Database Connectivity Toolset and am using the following query... UPDATE IndexStation SET Signal_Size=200 WHERE 'StartTime=12:05:23' Now the problem is that this command seems to update all rows in the table IndexStation... Not
-
How to roll back settings applied by a Group Policy Custom Administrative Template
Hi, I have disabled USB port on a number of workstations using a Group Policy Custom Administrative Template. Now I need to enable it again. Is it possible to do it through Group Policy Custom Administrative Template again? If not how can I enable th
-
Satellite Pro A300 - windows blue screen / says it's a hardware issue
It started in the summer after I installed Windows 7 and it usually happened once a month, didn't pay too much attention to it. Now today it happened 4 times! Any help is welcome: *This is what it says: * Problem signature: Problem Event Name: BlueSc