Hi,
I'm building a small application to get to know Struts2 and JSP.
I have a JSP page that contains a Struts form which basically takes in a person's name, phone number and address but I have no clue how to send that information into the table I have already built in my local database.
Can anyone show me an example or get me started?
Thanks!
Search Result
Collapse
8 results in 0.0042 seconds.
Keywords
Members
Tags
-
Sending Data to a Database from a Struts Form
-
Why do I keep getting a "service-specific error 0 (0x0)" when i try starting tomcat?
I have installed a tomcat 6 server on Windows Server 2003 as a service; and every time I try to start it it keep terminating with a service-specific error 0 (0x0). Now I have gone through and starting and configured this server via the startup.bat just fine but when no matter how many times I install/remove the service it fails to start. Does anyone know why this happening and how I can fix it?... -
load() function in jquery not working
hi there guys im currently working on a project with jquery...
the thing is.. i need to change the contents of a div named "sub2" with the contents of "pets.html" ... i've read some tutorials and i thought the best way to do this is through the use of jquery... so here's my code...
Code:<script type="text/javascript" src="jquery.js"></script> <script type="text/javascript">
-
How to use Single Sign On in Tomcat 6 .?
in server.xml
what i need to change....
server.xml
Code:<?xml version='1.0' encoding='utf-8'?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License,
-
why I am getting method not allowed error (405)
Hi,
I have a simple rest web service which is running in the Tomcat. I tested my web service successfully using REST Client for FireFox.
Now, I used PHP socket to post xml as string to my web service. But I got HTTP/1.1 405 Method Not Allowed error.
I used the following code:
Code:<?php $str="<?xml version=\"1.0\"?><userEntity><address1>1300
-
How to fix servlet threw exception error
I am workin on a mms project and it has the following modules
- sender and reciever (j2me -using sun wireless toolkit)
- mm7 and mmsc (java- using eclipse)
- vasp server and content server (java servelets- using eclipse and tomcat apache)
During normal run the connection should go somewhat like this
sender-->vasp server-->mm7-->mmsc-->reciever-->content server
I have removed all the visible... -
How to Attach styleSheet.css in tomcat (Servlet)
Hey! I have made a webpage in Servlet and now i want to add a stylesheet.css to it Where should i exactly put the .css file ? like in ROOT of tomcat or some where else and what exact path i have to use??
link href='style.css ' rel='stylesheet ' type='text/css'
Thanks Sundhas -
How to configure jndi name in Jboss. I am using sql server 2005.
How to configure jndi name in Jboss. I am using sql server 2005.