How do I setup in wls 6.1 a jsp file that has a different extension (not *.jsp)
I have a jsp file with extension *.abc. The browser is showing the files as text instead of sending it to be processed as a jsp file.
I have the following settings in the web.xml but it is not picking it up.
<servlet-mapping>
<servlet-name>
jsp
</servlet-name>
<url-pattern>
*.abc
</url-pattern>
</servlet-mapping>
This is kind of a hack and not officially supported, but you might try...
<servlet>
<servlet-name>ABC</servlet-name>
<servlet-class>weblogic.servlet.JSPServlet</servlet-class>
<init-param>
<param-name>compileCommand</param-name>
<param-value>javac</param-value>
</init-param>
<init-param>
<param-name>workingDir</param-name>
<param-value>WEB-INF/classes</param-value>
</init-param>
</servlet>
Since this isn't the default JSPServlet registration, it doesn't pick up the
default JSPServlet init arguments, so after some experimentation I figured
out that you have to at least define these two. Others that you may want to
configure are...
defaultFileName
compileCommand
compilerClass
compileFlags
workingDir
verbose
keepgenerated
precompileContinue
pageCheckSeconds
encoding
packagePrefix
superclass
noTryBlocks
compilerSupportsEncoding
These are all defined as jsp-descriptor args in the weblogic.xml file, but
you can equally use them as servlet-args for your custom JSP registration
Good luck,
Alex
P.S.
Why don't you want to use jsp files anyway?
"shelley otero" <[email protected]> wrote in message
news:[email protected]...
> I have a jsp file with extension *.abc. The browser is showing the files
as text instead of sending it to be processed as a jsp file.
>
> I have the following settings in the web.xml but it is not picking it up.
>
> <servlet-mapping>
> <servlet-name>
> jsp
> </servlet-name>
> <url-pattern>
> *.abc
> </url-pattern>
> </servlet-mapping>
>
Similar Messages
-
I use an iPad 2 at work that has a different apple id for iCloud than my own personal new iPad. How can I change the company's id for iCloud to synchronize with my own personal iPad?
Go to Settings>iTunes and App Stores and tap the Apple ID listed and sign out and sign in with other ID
You also may want to go to other places like:
- Settings>iCloud
- Settinge>FaceTime
- Settings>Messages>Send and Receive and change the ID
It may be best to go to Settings>General>Reset>Erase all Content and Settings and start over again and set up the iPod again with his account/ID -
I've installed LR on my new Mac - How do I find/what is the name of the file that opens to bring up my existing photos (on my external hd)?
Bookmarks and history are stored together in your profile folder in a database file named places.sqlite. These articles should help with restoring as much or as little of your other profile as you like:
Locating the folder: [https://support.mozilla.com/en-US/kb/Profiles Profiles | How to | Firefox Help]
The following article has suggestions for recovering bookmarks: [http://support.mozilla.com/en-US/kb/Lost%20Bookmarks Lost Bookmarks | Troubleshooting | Firefox Help].
To move more settings, see: [https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile Recovering important data from an old profile].
Hope this helps. -
This is a noob question, though I do use SQL Server databases all the time with Entity Framework when I code in C# using Visual Studio 2013. The development environment is found below at [A]. I am trying to make a clone of a SQL Server 2008 R2
database (.mdf) that exists online. I can read, connect and work with this database in Visual Studio 2013, but I wish to make a local copy of the database, as an .MDF file. Somewhere in my notes I have a way of creating a local copy from
an online database when using Visual Studio but I forgot how (it seems, reviewing my notes, that it deals with ADO.NET which is deprecated in Visual Studio 2013 these days, or so it seems). So I'm looking for another way. What I did was create
(or export) a "Data-Tier Application File" from the online SQL Server database, with data, and it seems to have worked in that this Data-Tier Application file exists on my hard drive and seems to have data in it ("SQL Server Replication Snapshot"
is the format it seems). It contains skeleton code to create a database, but when I tried to execute it with SQL Server 2014 Management Studio, I got a bunch of errors.
So my question is:
1) Can I somehow create a .MDF SQL Server Database from an Data-Tier Application file that has data? What tool do I use? I saw this link, http://social.technet.microsoft.com/wiki/contents/articles/2639.how-to-use-data-tier-application-import-and-export-with-a-windows-azure-sql-database.aspx
and it relates to Azure, but is there a tool for C#Visual Studio 2013, standalone?
2) If there's an easy way to create a .mdf SQL Server Database file from an online file, within SQL Server Management Studio? I don't think so, since it would require Administrator permissions on the online server, which I don't have. I have permission
to read, update, delete the online database file, but strangely not to download it (the service I use has a tool for backup, but not for download).
3) same question as 2), but for Visual Studio 2013? I don't think so, since I notice none of the templates even mentions ADO.NET anymore, but instead they go with Entity Framework. Using EF I can of course do anything I want with the online database
(CRUD), but it remains online. Maybe there's a switch to make a local copy? I guess I could write a short program to suck all the data out of the online database and put it into a new, duplicate database having the same tables, that I create on
my localhost, but my question here is if there's an easier way than this, maybe a tool or command I can run from inside Visual Studio?
Any advice on any of the above questions is appreciated.
Thank you,
Paul
[A] Microsoft Visual Studio Professional 2013
Version 12.0.21005.1 REL
Microsoft .NET Framework
Version 4.5.51641
Microsoft Web Developer Tools 2013 2.0.40926.0
SQL Server Data Tools 12.0.30919.1
Microsoft SQL Server Data Tools
Windows Azure Mobile Services Tools 1.0
Windows Azure Mobile Services ToolsThanks but these links are too general to help.
"2. what do you mean by online file?" - I mean the SQL Server database file is on a remote web server that I rent from, but I am not the administrator of. I can access my database using SQL Server Authentication, but nothing more.
Paul
What do you mean by too general? It explains on how you can use data tier application to create and deploy databases
May be this will help you to understand better
http://www.databasejournal.com/features/mssql/article.php/3911041/Creating-Data-Tier-Applications--in-SQL-Server-2008-R2.htm
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How do I open a pdf book cover file using Acrobat XI into Indesign CC? Everytime I try, it says I am trying to open a file that has been saved wrong.
PDF files cannot be natively opened in InDesign. They can only be placed as graphics.
-
How do I edit the text in a pdf file that has been converted to a Word doc
How do I edit the text in a pdf file that has been converted to a Word doc?
Hi BridgetteJean,
Please go through this video this explains how to edit text in a pdf document.
http://tv.adobe.com/watch/acrobat-tips-and-tricks/editing-text-with-the-typewriter-tool/ -
How can I allow the application to line through a field that has been locked after being digitally signed?
We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once the approved information is entered we line through the proposed field so the data entry clerk won't pick up the wrong information. However we are receiving an error when attempting to enter data in the field which we have this edit. Error property: line through cannot be set because doing so would violate the document permission setting. any idea how we can get around this issue?You can control which fields are locked down after signing by setting up a collection. Then those that are not locked can be changed after signing. If this is not possible, then the line outs must occur prior to signing.
-
How do I fix or open a corrupted file that has been corrupted by some sort of programmatically email
How do I fix or open a corrupted PDF file that has been corrupted by some sort of programmatically emailing?
Please see the following screen shot:
http://i67.photobucket.com/albums/h292/Athono/pdfproblem_zpsbd9bdc00.pngWell, it is a pdf file, and it once was a readable one, I suppose.
It must have data on the hex or binary level that can be retrieved.
If necessary, I will have to look into the file format of a PDF file? Is this documented? -
How can I get the PDF file that was transformed into a docx file into my filing system to be able to work on it and translate it as the customer requested?
THanks for your reply.
Well what happens is I bought the program. It gives you a button to click,
you log in and then a box opens up asking you to select the file, I go into
my filing system (in Windows explorer) select the file, and the program
converts it into docx, my choice. I can read it there and when I try to
copy and paste it into my file where the PDF version is saved, it behaves
like an "image", and I can't save it.... or it saves likes something you
save on the internet, so you have to go into internet every time you want
to see it. I have also pressed any amount of buttons to see if it will
give me the option to save it any other way, and have found nothing. What
I would need is a file in docx.format that I can edit. People send me
things in PDF and sometimes I can just copy it off the PDF file and save it
in WOrd, then I can translate it for them. But sometimes the PDF file
doesnt allow me to copy the text. If it is in image form, I cannot work on
it. It means printing it, so I can copy type it into Word... and for that
I certainly wouldnt need to buy a program. Its just double the work and
ends up that the job takes twice as long.!
Sorry if I am a bit dumb with informatics. But I simply could not find
any way whatever to copy the PDF file that was transformed into Word, in a
format that would enable me to edit it.
Kindest regards,
Margery
2013/12/2 Test Screen Name <[email protected]>
Re: How to get PDF file that has been transformed into docx into my
filing system so I can work on it???
created by Test Screen Name<http://forums.adobe.com/people/TestScreenName>in *Adobe
ExportPDF* - View the full discussion<http://forums.adobe.com/message/5890871#5890871 -
hi!pls tell me how can I cancel the files that download,but they can not be downloaded,there maybe a. Problem.
What files, and downloaded from where and by what app?
-
Files that used to be visible are now hidden in Mavericks 10.9.1. How can I change the setting to view the same files as before? I do not need the hidden files that are typically invisible.
I am having trouble locating such files as PDF's INDD, AI etc. When I view all hidden files and try to open it in the program..it looks like it is really not on the drive. Has anyone come across a solution?You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type: ‘resetpassword’ (without the ’s), hit return, and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.
Repair User Permissions -
How do you change the lettering style of a adobe document that has been sent to you?
How do you change the lettering style of a adobe document that has been sent to you?
You can do this with Acrobat, but, as Claudio says, it's not possible in Adobe Reader.
If you do have Adobe Acrobat, you can learn how to modify text styles here. -
I have an png file that has images how do i display the seperately?
i have an png file that has images how do i display the seperately?
how do i clip the image to an object and use that object to display on an canvas ?The MIDP API documentation says this of the paint()
method in Canvas class:
Operations on this graphics object after the paint()
call returns are undefined. Thus, the application must
not cache this Graphics object for later use or use by
another thread. It must only be used within the
scope of this method.
The Drawer.paint() operations are NOT executed after the Canvas.paint() but within !
So as long as Drawer.paint() does not start a separate thread (which is not the case here), it NO problem :)
However, you CAN cache the Graphics object, but then you should have some logics like this
if(cachedGfx != currentGfx) {
cachedGfx = currentGfx;
}Brgds,
Eirik Olimstad -
I am new to Lightroom and have also just changed from Apple to PC. I cannot figure out how to download photos from the Photoshop library to a file that will be sent to MPIX for processing. Also, does Lightroom have an easy access to a photo processing capability such as MPIX?
Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps. -
FCPX, How do I reconnect a video file that has been modified or over written?
FCPX, How do I reconnect a video file that has been modified or over written?
As an animator, I am constantly modifying and overwriting movies files that have already been imported into the Final Cut time line. In FCP7, I could easily modify and update movie files and have those changes appear in the timeline without the need to reimport and re-edit those clips, but FCPX seems to lose it's connection with any modified or overwritten file, making all the editing work I've done to these files worthless.
Does anyone know of a way to reconnect to a modified or overwritten file? Because, this one single issue makes FCPX completely worthless to me.
Andy MurdockIf you import the new clip , select it and drag over the old offline clip , you can choose from the menu ...
Maybe you are looking for
-
Problem Working With Framemaker 9 Dita XML Files in Framemaker 10
I just upgraded to Framemaker 10. I am encountering a number of problems when I try to work with my Dita XML help topics, which were last saved in Framemaker 9 format. 1. Using the Default Dita Template When I open one of my documents in Framemaker 1
-
The Table.Column does not exist on the rowset
Hi I have the following issue: I keep getting a message in Power BI Designer Preview that states: The 'collections.Name' column does not exist in the rowset. I have a MySQL DB connected to an Access DB and then I've created and saved a query within A
-
Please Advise: Upgrading a new MacBook Pro
Hi all, I'm going to buy the new base model 15" MBP (comes with 4gb RAM and a 500gb standard hard drive, and I'll be getting a hi-res screen) and have the hardware upgraded through a local repair shop. I'm probably going to have them do a 16gb upgrad
-
Print preview for so10 differs btw dev n prd
Hi experts, how come the preview of so10 between prd n dev is different even the line spacing n font is the same i use dot matrix printer to preview
-
Photos look different in Light room vs. PS2 or any other photo software
Using LR2,PS2 and ACDSee8.0 on windows xp pro. I have no trouble exporting or importing photos to LR. My problem is the photos have a different tone or color in light room. When I make changes and export to say photoshop, its as if no changes were tr