What's the xml for this?
I am running on a tomcat server and have not been able to find what the xml is to create a uri to a resource other than a servlet. how do I edit the web.xml file to create a uri to a webpage or image?
To give you an example of what I am talking about (I'm the author of the post, this is just a diff acount) if I wanted to make a uri to link to a servlet on tomcat I would add this to the web.xml file in WEB-INF:
<servlet>
<servlet-name>Anything</servlet-name>
<servlet-class>Name of servlet class (w/o .class at the end)</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>The servlet name defined above</servlet-name>
<url-pattern>(Anything i'll use->) /Servlet/</url-pattern>
</servlet-mapping>
then when you want to link to the servlet in say, a form you would write the following in an html file:
<form action="/Servlet/" method="Post">
you can do the same thing with a link:
text
What I am curious to know is: How do I do this if I want the uri to link to an image? (I know for a page I can just link to a servlet that just forwards you to a page) I've tried changing the servlet-class to another resource, but that doesn't work. Does anyone know how to do this?
Similar Messages
-
I use iphone5, I see an app update on the app store. but when App store and click on the update tab, it doesn't show me which application to update.. just gives me a blank page.!!!! I wouldn't able to know what app has to be updated, untill and unless i get check for each every app on the app store installed on my iphone... what is the solution for this.!!!! can any1 one help me out.!!!!
Cc2528 wrote:
The iTunes Store on my iPad is set up with all my music already. And at the very bottom it shows my apple Id username. The only place it shows the previous owners id is in the App Store...
You can probably change the ID in the "iTunes and App stores" settings on the iPad....click on the wrong account ID , select sign out, then log in with your own ID, I have not done this but I think it works.....
but I would be more inclined to to the factory reset and start afresh. -
I swithced it on by clicking on options when I start up and then clicked on Macintosh HD. the other option was a question mark and network drive.
Is there a way to ensure it never happens again, what is the cause for this problem, if I need to uninstall some application, i am happy to do it as long as I know what is causing this conflict.
many thanks!Something is not making sense here.
You claim this is a brand new machine and you have not tried to install Windows or Boot Camp.
Then why would you ever even go into System Preferences > Startup Disk and choose Macintosh HD? It should have automatically booted into Macintosh HD.
You're probably going to have to reinstall Mac OS X. -
Adobe X PDF files converted to jpg, edited and converted back to PDF have ragged, unclear text. I didn't have this problem with Acrobat 9 standard. What is the remedy for this. If this is the best I can expect, I won't be able to use X standard.
I can't imagine any worse workflow than converting to JPEG to edit text, then back to PDF. Text in a PDF is a vector thing, smooth at all resolutions. And JPEG is made for photos. EVERY conversion to JPEG and back loses quality but how much loss there is will vary.
If you must go to an image format, try PNG. -
I recently upgraded to Mac OS X. I haven't tried to access anything in iWorks 09 since the upgrade, until now. I get an error message when trying to open any of the iWorks 09 applications. What's the fix for this?
Follow Sonicray's advice and when you post try to give as much info about your Mac, your OS, etc... Fill out your Profile info.
-
Hi I bought a second-hand phone iphone4, I update the software when you want to activate the phone asked for my registration icloud I do not know what is the password for this registration, can you tell me how to go to the next step without such registration in icloud
my ICCID is 8935905000307066111Unfortunately, you cannot do very much with your phone unless you get assistance from the previous owner, they should either provide you with the password to unlock it or remove their account from the phone entirely remotely through iCloud.com > Find My Phone.
-
ANY BODY TELL ME WHAT IS THE REASON FOR THIS ERROR
hi... experts....
Iam having one screen in my previous module pool program....and now as per my requirement i added on e new field...
for that...
1. i declared one variable in top include...
2. cretaed one more new block with help of box in layout screen..
3. added some text field and inputput out field...
4. and in that block i also added one line with test like... following...
" NOTE: PLEASE ENTER THE ..... VALUE..." Like this.... just for to give direction...
so these are the steps i taken to add new field to my screen... but here i am geting error ... while entering the value in that field and press any push button.... including back in that screen... like....
"INVAILD FIELD FORMAT (SCREEN ERROR)"
.... ANY BODY TELL ME WHAT IS THE REASON FOR THIS ERROR... COMMONLY???
THANK YOU,,,
NAVEEN..hi naveen,
there can be problem from ur layout side.
Goto SE51. in Layout editor make sure that the type in screen and in TOP Include is same.
and if you are using currency field than it can also give error to you.
if still you any error .
give me type of variable whcih you defined in TOP and also code.
give reward if helpfull. -
I purchased a disk copy of CS6 Design and Web Premium from a reputable seller last week and when I try to install it with the serial number I got it says "We are unable to validate this serial number for CS6 Design and Web Premium. Please contact Customer Support." What is the reason for this?
Is the serial number invalid?Hi Ned,
Thanks for the suggestion. I eventually got in touch with Adobe Technical Support and it turned out that my Adobe Application Manager was not the latest version. They downloaded the latest version and installed it and that seemed to solve the problem. I was able to install my CS6 Creative Suite and validate the serial number. All seems to be going well at the moment. -
Deactivation of Photoshop CS3 leads to an error 1914:1 what ist the solution for this problem
hello
I try to deactivate photoshop CS3 on my win XP system. When I try this I get the error code 1914:1 . This says there are no activations. But when I try to activate it on the new WIN 7 system
I get the message to many activations. What is the soltion for this problem?Contact support by web chat.
Mylenium -
@I have my Adobe ID and the Adobe Digital Editions. But when I download an EPUB-ebook, I don´t see the ebook or "My Digital Editions-Bibliothek".What is the solution for this problem?
how can we solve the problem?
I have my adob.e ID, downloaded Adobe Digital Editions.
Whren I download EPUB-ebooks and want to use
Digital Editions, nothing happens and appears!??
Please give me a short feedback and help -
hi. my laptop was reformatted recently, and my itunes there erased. i created a new one but the problem is it doesn't sync with my ipod anymore. what is the solution for this? can someone give me a tip? will really appreciate. thanks
Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities
-
i got Mac originally version is 10.6 and have upgrate to 10.6.8 and than i continue updating to 10.8 and this kind of message always appear until i turn off and turn it on. what is the solution for this message
This message?
http://support.apple.com/kb/TA20920
is a difficult one to resolve.
There is an analysis and suggestions to this problem posted here.
http://www.thexlab.com/faqs/kernelpanics.html -
What is the reason for this error, in printing
HI,
when I print the label, in the system log it showing this error message.
character converter active when first problem occurred**** Any one explain me what could be the reason for this error.
Thanks and Regards,
SuryaHi Surya,
Check out
http://www.sapfans.com/forums/viewtopic.php?t=247433&sid=ea0c61e87af526fe4c83fe256efe0721 -
What is the reason for this error? after export part of movie broken
hi, i cannot find the reason for this strange error that happaned to me for the first time, you can see the outcome here:
http://picasaweb.google.com/p.cardash/IMovieBug/photo#5164317113276584274
after exporting in imovie to h264 .mov file, from HDV project, resolution is twisted, plus, the part that was supposed to fit hole screen, is black and sometimes with little graphic errors.
i tried about 10 times, with different setting, resolutions, and other parameteres.
after exporting for ipod, everything is ok, in m4v format.
what is wrong? i use the same method for creating and also for exporting, as in previous projects. i didnt use any new transitions, efects nor titles...
any thoughts?
best to You,
Piotrok, i think that i know where is the problem, but i still dont what is it
ive copied my file to a new mac with just installed imovie and everything is the same,exactly the same output. so 100% positively the problem is within the particular project.
i didnt check my mackbook with TT, since i dont have it and dont want to pay i thought its for free
i`ll try later to figure out what wrong and what part of the project is bad.
for now, i think i hate imovie again :)) piece of..
let me know how your case ended. -
HT1222 What's the reason for this?
What's the reason for the security update? Was someone trying to get my info?
No one is trying to get your info. Just a part of the software release. Apple providing as much security as possible to protect your devices and Macs....
This is a GOOD thing....
GB
Maybe you are looking for
-
How to install photoshop without disk but with serial number
Any ideas on how to install a permission of PS if I've lost the installation disk but do have the serial number?
-
SNMP Monitoring Agent for OAM (COREid) - Share your experiences
I'm interested in hearing from anyone who has successfully implemented the monitoring agent. I would like to hear how you implemented the agent and how you consume the traps as well as any reactive automation that you may have also implemented to res
-
Hello. I'd really like to get a compact flash reader for my 30GB iPod video, but the only one made appears to be the Belkin one -- and everyone says it's SUPER S-L-O-W. That won't work for me because I shoot RAW and each of my files is 12MB. I have a
-
Besoin d'aide urgent pour restore l'iphone
Bonjour, suite au décès prematurée de mon premiere iphone 3gs je decide de m'en racheter 1 (d'occasion) . Quand je les allumer j'avais un ecran normal avec en arriere plan de l'ecran de verrouillage IOS6, jai deverouiller lécran et je suis tomber sur
-
Can we delete members in dimension in Planning application using HAL
<p>Hi</p><p>i added nearly 100 members in planning application usingHAL.</p><p>i wanted to delete those members. can i use HAL to deletemembers in dimension using HAL.</p><p>thanks,</p><p>Balu.</p>